[Twisted-Python] wx and twisted

Jean-Paul Calderone exarkun at divmod.com
Mon Dec 3 11:47:22 EST 2007


On Mon, 3 Dec 2007 11:41:33 -0500, Phil Christensen <phil at bubblehouse.org> wrote:
>
>On Dec 3, 2007, at 8:47 AM, Jean-Paul Calderone wrote:
>>On Mon, 03 Dec 2007 14:33:44 +0100, Michele Petrazzo - Unipex srl 
>><michele.petrazzo at unipex.it > wrote:
>>>
>[snip traceback]
>>>exceptions.ValueError: file descriptor cannot be a negative integer  (-1)
>>>
>>>and on shutdown:
>[snip traceback]
>>
>>>
>>>How debug it?
>>
>>Start looking at what has changed in wx since the previous working 
>>version,
>>or start looking at which calls are resulting in invalid file  descriptors.
>>
>>Or you could try to get the Twisted unit tests to run with  wxreactor, and
>>then work on making them pass.
>
>I'm pretty sure that this is truly impossible with the current  wxreactor, 
>and possibly any reactor that is based on TSR. I found this  out while 
>trying to implement a corefoundation reactor using wxreactor  as a 
>reference.
>
> [snip]
>

I didn't say it would be easy.  Few things are impossible, though.

Jean-Paul




More information about the Twisted-Python mailing list