[Twisted-Python] GUI Integration

Thorsten Henninger henni at brainbot.com
Wed Nov 19 07:49:06 EST 2003

>Where did you see that wxPython is not supported for windows ? it works 
>perfect with windows ! Btw, you can find on this mailing list some examples 
>about using twisted in wx apps.
this is what happens, if you run the wxdemo on windows 2000:
C:\Dokumente und Einstellungen\henni\Desktop>wxdemo.py
D:\Python23\lib\fcntl.py:7: DeprecationWarning: the FCNTL module is 
deprecated; please use fcntl
UserWarning: Be advised wxsupport is not fully functional on Windows.
  warnings.warn("Be advised wxsupport is not fully functional on Windows.")
Traceback (most recent call last):
  File "C:\Dokumente und Einstellungen\henni\Desktop\wxdemo.py", line 
65, in ?
  File "C:\Dokumente und Einstellungen\henni\Desktop\wxdemo.py", line 
61, in demo
  File "D:\Python23\Lib\site-packages\twisted\internet\default.py", line 
121, in run
  File "D:\Python23\Lib\site-packages\twisted\internet\default.py", line 
115, in startRunning
  File "D:\Python23\Lib\site-packages\twisted\internet\default.py", line 
87, in _handleSignals
    signal.signal(signal.SIGINT, self.sigInt)
SystemError: error return without exception set
13:45:14: Debug: c:\PROJECTS\wx\src\msw\app.cpp(439): 
'UnregisterClass(canvas)' failed with error 0x00000584 (diese Klasse hat 
noch ge÷ffnete Fenster.).

Of course, simulating the reactor via a wxTimer (as seen on ASPN) does 
work, but the latest twisted says, wxsupport is not fully supported on 



brainbot technologies AG 
boppstrasse . 64 . 55118 mainz . germany
fon +49 6131 211639-1 . fax +49 6131 211639-2
http://brainbot.com/  mailto:henni at brainbot.com

More information about the Twisted-Python mailing list