Python Forum
A single Thread Crashes
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A single Thread Crashes
#1
I create a wxPython Window app with a 1-second timer displaying clock on status bar, and a 5-minute timer running a function called Update1 every 5 minutes to download data and update a wx.Grid. I also add time.sleep in different places as need.
When using a single Thread to run Update1 every 5 minutes, it crashes during update, saying 'Not responding..'.
Will timer or sleep cause the crash? any solution? Thanks.
Reply


Messages In This Thread
A single Thread Crashes - by ian - Aug-24-2017, 10:09 PM
RE: A single Thread Crashes - by Larz60+ - Aug-24-2017, 10:16 PM
RE: A single Thread Crashes - by snippsat - Aug-25-2017, 09:58 AM
RE: A single Thread Crashes - by Larz60+ - Aug-25-2017, 10:03 AM
RE: A single Thread Crashes - by ian - Aug-27-2017, 02:59 PM
RE: A single Thread Crashes - by Larz60+ - Aug-27-2017, 05:06 PM
RE: A single Thread Crashes - by ian - Aug-27-2017, 10:26 PM
RE: A single Thread Crashes - by ian - Aug-28-2017, 12:09 AM
RE: A single Thread Crashes - by Larz60+ - Aug-28-2017, 12:19 AM
RE: A single Thread Crashes - by ian - Aug-28-2017, 02:28 AM
RE: A single Thread Crashes - by Larz60+ - Aug-28-2017, 02:56 AM

Forum Jump:

User Panel Messages

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