[Twisted-Python] twisted and wxPython 2.4.1.2

Michael Porter mporter at despammed.com
Fri Aug 1 06:05:04 MDT 2003


Re: Re: PB - detecting loss of connectionHas anyone got twisted running with
wxPython 2.4.1.2?

If I run the example wxdemo.py with Twisted 1.0.6 and wxPython 2.4.1.2 on
Windows I get the following error:

Traceback (most recent call last):
  File "C:\dev\controlled\mpjuke\unused\wxdemo.py", line 65, in ?
    demo()
  File "C:\dev\controlled\mpjuke\unused\wxdemo.py", line 61, in demo
    reactor.run()
  File "C:\dev\controlled\mpjuke\pymods\twisted\internet\default.py", line
121, in run
    self.startRunning(installSignalHandlers=installSignalHandlers)
  File "C:\dev\controlled\mpjuke\pymods\twisted\internet\default.py", line
115, in startRunning
    self._handleSignals()
  File "C:\dev\controlled\mpjuke\pymods\twisted\internet\default.py", line
87, in _handleSignals
    signal.signal(signal.SIGINT, self.sigInt)
SystemError: error return without exception set

If I change the demo to run with reactor.run(installSignalHandlers=0) it
works fine, but I'd prefer to have this enabled.

The problem occurs with Python 2.2 or 2.3 with this version of wxPython but
it didn't occur with wxPython 2.3.2.1.

Thanks,

Mike.





More information about the Twisted-Python mailing list