[Twisted-Python] Twisted, Windows, and Py2Exe

I'm trying to get a very simple application which uses Twisted to package properly via distutils+py2exe. It doesn't seem to work very well, and in fact complains about not being able to find a bunch of things (at the distutils point in the build process) The resulting executable doesn't run. And at this point, it's just a simple loop which does reactor.iterate(), and that's the extent of the Twisted code. W/o any Twisted code, everything works great. Has anyone used py2exe successfully with a twisted application? J

On Mon, Mar 24, 2003 at 09:56:46PM +0000, Jeremy Noetzelman wrote:
Has anyone used py2exe successfully with a twisted application?
Actually, I have, but I don't recall having to do any trickery to make it run - once it compiled. it ran fine. Now, using py2exe to build an Twisted-based NT service, that doesn't work at all - at least, I couldn't get it to run. Such things tend to end with a backtrace that looks like: File "twisted\internet\app.pyc", line 628, in run File "twisted\internet\main.pyc", line 106, in run File "twisted\internet\default.pyc", line 222, in run File "twisted\internet\default.pyc", line 218, in startRunning File "twisted\internet\default.pyc", line 204, in _handleSignals, exceptions.ValueError, signal only works in main thread. ..or at least, they did the last time I tried. -- ___________ ____________________________ | Screwtape | Reply-To: munged on Usenet |________ ______ ____ __ _ _ _ | | | <-- You must be smarter than this stick to ride the Internet. |

On Mon, Mar 24, 2003 at 09:56:46PM +0000, Jeremy Noetzelman wrote:
Has anyone used py2exe successfully with a twisted application?
Actually, I have, but I don't recall having to do any trickery to make it run - once it compiled. it ran fine. Now, using py2exe to build an Twisted-based NT service, that doesn't work at all - at least, I couldn't get it to run. Such things tend to end with a backtrace that looks like: File "twisted\internet\app.pyc", line 628, in run File "twisted\internet\main.pyc", line 106, in run File "twisted\internet\default.pyc", line 222, in run File "twisted\internet\default.pyc", line 218, in startRunning File "twisted\internet\default.pyc", line 204, in _handleSignals, exceptions.ValueError, signal only works in main thread. ..or at least, they did the last time I tried. -- ___________ ____________________________ | Screwtape | Reply-To: munged on Usenet |________ ______ ____ __ _ _ _ | | | <-- You must be smarter than this stick to ride the Internet. |
participants (2)
-
Jeremy Noetzelman
-
screwtape@froup.com