According to the "wxPython in Action" book using the wx.CallAfter function in a non-gui thread is a safe way for 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 rain
[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
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 somethi
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 and