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

Mark Dillavou mlists at line72.net
Wed May 28 15:34:19 MDT 2008


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)?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20080528/30f44f49/attachment.html>

More information about the Twisted-Python mailing list