According to the wxPython in Action book using the wx.CallAfter function in a non-gui thread is a safe wayfor threads to call functions that will then update the gui in the gui thread.
Cheers!!
Dermot.
On 23/07/06, Mark rainess [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote: Mark rainess
Mark rainess wrote:
[...]
It runs perfectly for about 4 hours, then freezes.
I'm stuck. How do I debug this?
[...]
Can anyone suggest techniques to help me learn what is going on.
By inspection: errcode is undefined; I expect you stripped the
example
a bit too far. If it is set to something
[EMAIL PROTECTED] wrote:
Mark rainess wrote:
[...]
It runs perfectly for about 4 hours, then freezes.
I'm stuck. How do I debug this?
[...]
Can anyone suggest techniques to help me learn what is going on.
By inspection: errcode is undefined; I expect you stripped the
example
a bit too
The program displays images from a motion jpeg webcam.
(Motion jpeg is a bastardization of multi-part mime.)
http://wp.netscape.com/assist/net_sites/pushpull.html
It runs perfectly for about 4 hours, then freezes.
I'm stuck. How do I debug this?
(Using: Python 2.4.3, wxPython 2.6.3.2, Windows
Mark,
httplib will block waiting for a server connection. I am not sure if
that is your problem but you could try a quick and dirty workaround of
recording a timestamp of the last data transfer and then have a timer
in a separate thread and if too much time passed, restart the retrieval
thread