[Twisted-Python] win32eventreactor bug?
Justin Johnson
justinjohnson at fastmail.fm
Tue Nov 18 08:14:02 MST 2003
I was running twistd on windows, serving out a custom tap which is just a
web app and a pb service. As it was doing it's thing, suddenly a ton of
output started dumping on the log. Did I find a bug in the win32 event
reactor, or am I hitting some sort of limit? I can send some code along
if necessary, but nothing in the log looks specific to my code.
Thanks.
-Justin
2003/11/18 09:07 Central Standard Time [-] Unexpected error in main loop.
2003/11/18 09:07 Central Standard Time [-] Traceback (most recent call
last):
File
"C:\Python23\Lib\site-packages\twisted\application\app.py",
line
165, in run
runApp(config)
File "C:\Python23\Lib\site-packages\twisted\scripts\twistw.py",
line 5
4, in runApp
app.runReactorWithLogging(config, oldstdout, oldstderr)
File
"C:\Python23\Lib\site-packages\twisted\application\app.py",
line
61, in runReactorWithLogging
reactor.run()
File
"C:\Python23\Lib\site-packages\twisted\internet\default.py",
line
122, in run
self.mainLoop()
--- <exception caught here> ---
File
"C:\Python23\Lib\site-packages\twisted\internet\default.py",
line
133, in mainLoop
self.doIteration(t)
File
"C:\Python23\Lib\site-packages\twisted\internet\win32eventreactor
.py", line 171, in doWaitForMultipleEvents
val = MsgWaitForMultipleObjects(handles, 0, timeout,
QS_ALLINPUT | Q
S_ALLEVENTS)
pywintypes.error: (87, 'MsgWaitForMultipleObjects', 'The
parameter is in
correct.')
2003/11/18 09:07 Central Standard Time [-] Unexpected error in main loop.
2003/11/18 09:07 Central Standard Time [-] Traceback (most recent call
last):
File
"C:\Python23\Lib\site-packages\twisted\application\app.py",
line
165, in run
runApp(config)
File "C:\Python23\Lib\site-packages\twisted\scripts\twistw.py",
line 5
4, in runApp
app.runReactorWithLogging(config, oldstdout, oldstderr)
File
"C:\Python23\Lib\site-packages\twisted\application\app.py",
line
61, in runReactorWithLogging
reactor.run()
File
"C:\Python23\Lib\site-packages\twisted\internet\default.py",
line
122, in run
self.mainLoop()
--- <exception caught here> ---
File
"C:\Python23\Lib\site-packages\twisted\internet\default.py",
line
133, in mainLoop
self.doIteration(t)
File
"C:\Python23\Lib\site-packages\twisted\internet\win32eventreactor
.py", line 171, in doWaitForMultipleEvents
val = MsgWaitForMultipleObjects(handles, 0, timeout,
QS_ALLINPUT | Q
S_ALLEVENTS)
pywintypes.error: (87, 'MsgWaitForMultipleObjects', 'The
parameter is in
correct.')
2003/11/18 09:07 Central Standard Time [-] Unexpected error in main loop.
More information about the Twisted-Python
mailing list