[Twisted-Python] GUI Integration
Philippe Lafoucrière
lafou at wanadoo.fr
Wed Nov 19 06:20:50 MST 2003
ouch !
I haven't seen this demo, but I think it's quite old. try this instead :
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/203471
(your warning came from twisted, not wxpython)
and here is the killing tip of the day :
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/181780
Hope it will help !
--
Philippe
On Wednesday 19 November 2003 13:49, Thorsten Henninger wrote:
> >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
> DeprecationWarning)
> D:\Python23\lib\site-packages\twisted\internet\wxsupport.py:69:
> 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 ?
> demo()
> File "C:\Dokumente und Einstellungen\henni\Desktop\wxdemo.py", line
> 61, in demo
> reactor.run()
> File "D:\Python23\Lib\site-packages\twisted\internet\default.py", line
> 121, in run
> self.startRunning(installSignalHandlers=installSignalHandlers)
> File "D:\Python23\Lib\site-packages\twisted\internet\default.py", line
> 115, in startRunning
> self._handleSignals()
> 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
> Windows.
>
> regards,
>
> Thorsten
More information about the Twisted-Python
mailing list