[Twisted-Python] wx and twisted

Michele Petrazzo - Unipex srl michele.petrazzo at unipex.it
Mon Dec 3 08:33:44 EST 2007


Hi all,
just installed the last wx and twisted and tring my already working app and:

Traceback (most recent call last):
   File "threading.py", line 442, in __bootstrap
     self.run()
   File "threading.py", line 422, in run
     self.__target(*self.__args, **self.__kwargs)
   File 
"/usr/lib/python2.4/site-packages/twisted/internet/_threadedselect.py", 
line 149, in _workerInThread
     fn(*args)
--- <exception caught here> ---
   File 
"/usr/lib/python2.4/site-packages/twisted/internet/_threadedselect.py", 
line 169, in _doSelectInThread
     [], timeout)
exceptions.ValueError: file descriptor cannot be a negative integer (-1)

and on shutdown:

Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
14364, in <lambda>
     lambda event: event.callable(*event.args, **event.kw) )
   File 
"/usr/lib/python2.4/site-packages/twisted/internet/_threadedselect.py", 
line 243, in _interleave
     msg, args = self.toMainThread.get_nowait()
   File "/usr/lib/python2.4/Queue.py", line 141, in get_nowait
     return self.get(False)
   File "/usr/lib/python2.4/Queue.py", line 116, in get
     raise Empty
Queue.Empty


How debug it?

Debian etch, python 2.4.4, wx 2.8.7.1, twisted 2.5.0

Thanks,
Michele




More information about the Twisted-Python mailing list