[Twisted-Python] interaction problems with wxreactor and conch under linux

Mark Dillavou mlists at line72.net
Wed May 28 17:34:19 EDT 2008


Chris,

On Wed, May 28, 2008 at 3:10 PM, Chris Mellon <arkanes at gmail.com> wrote:

> <snip>
>
I've seen reports of this from other people, although I can't recreate
> it either. It seems to be related to the idle handler that wx installs
> in gtk not being serviced, and I think it's related to the gtk
> version. As a workaround, try calling wx.WakeUpIdle() in your wx.Timer
> function.


 Setting a wx.Timer to call wx.WakeUpIdle() does fix this problem!  Do you
have a recommendation on how often the timer should fire?  Not firing often
enough (> 500 ms) causes all the network communication to be slow, but what
are the ramifications of setting the timer value really low (1 ms)?

/Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20080528/30f44f49/attachment.htm 


More information about the Twisted-Python mailing list