Python Forum
Multiprocessing in wx Frame
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiprocessing in wx Frame
#4
Thank you Snippsat. It is really helpful. I add a thread class in my test program posted and seems working great. So I modify my real program. The program has a timer and fire/run the function every 5 minutes. So I create a single thread to run this function. It run ok in first 5-minute period but it crashes in second run. I search Internet and found the following can solve the crash problem. I install dask ok but still get error for import dask. I use python 3.6.1 64bit on Windows 10. Thanks.
import dask
dask.set_options(get=dask.async.get_sync)
Reply


Messages In This Thread
Multiprocessing in wx Frame - by ian - Aug-16-2017, 08:41 PM
RE: Multiprocessing in wx Frame - by ian - Aug-19-2017, 12:53 AM
RE: Multiprocessing in wx Frame - by snippsat - Aug-19-2017, 08:49 AM
RE: Multiprocessing in wx Frame - by ian - Aug-20-2017, 08:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] Scrollbar, Frame and size of Frame Maksim 2 9,044 Sep-30-2019, 07:30 AM
Last Post: Maksim
  [Tkinter] create and insert a new frame on top of another frame atlass218 4 11,185 Apr-18-2019, 05:36 PM
Last Post: atlass218
  [Tkinter] Frame size only works if frame is empty(Solved) Tuck12173 7 6,493 Jan-29-2018, 10:44 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020