[python-win32] Pythoncom error
Emlyn Jones
emlynj at gmail.com
Wed Mar 15 17:38:22 CET 2006
Hello,
I'm stress testing an application I have written using the Python Asp
bindings, on occasions I get an ASP 0147 error (Internal Server
Error), In the IIS logs it manifests itself as a c0000005 trapable
error. Having attatched a debugger I noticed this in the resulting
logs....
..snip..
Wed Mar 15 16:21:38.754 2006 (GMT+0): pythoncom error: Wed Mar 15
16:21:38.754 2006 (GMT+0): Unexpected exception in gateway method
'SetScriptSite'Wed Mar 15 16:21:38.754 2006 (GMT+0):
Wed Mar 15 16:21:38.754 2006 (GMT+0):
Wed Mar 15 16:21:38.764 2006 (GMT+0): Traceback (most recent call last):
Wed Mar 15 16:21:38.764 2006 (GMT+0): File
"C:\Python24\Lib\site-packages\win32com\server\policy.py", line 332,
in _InvokeEx_
return self._invokeex_(dispid, lcid, wFlags, args, kwargs, serviceProvider)
File "C:\Python24\Lib\site-packages\win32com\server\policy.py", line
588, in _invokeex_
return func(*args)
File "C:\Python24\Lib\site-packages\win32comext\axscript\client\framework.py",
line 560, in SetScriptSite
self.debugManager.Close()
File "C:\Python24\Lib\site-packages\win32comext\axscript\client\debug.py",
line 89, in Close
self.adb.CloseApp()
File "C:\Python24\Lib\site-packages\win32comext\axdebug\adb.py",
line 262, in CloseApp
self.appEventConnection.Disconnect()
File "C:\Python24\Lib\site-packages\win32com\client\connect.py",
line 41, in Disconnect
self.cp.Unadvise(self.cookie)
Wed Mar 15 16:21:38.774 2006 (GMT+0): pywintypes.com_errorWed Mar 15
16:21:38.774 2006 (GMT+0): : Wed Mar 15 16:21:38.774 2006 (GMT+0):
(-2147220992, 'CONNECT_E_NOCONNECTION', None, None)Wed Mar 15
16:21:38.774 2006 (GMT+0):
..snip..
I have to be honest, this means very little to me. Has anyone seen this before?
It tends to happen when CPU% is high (>75%) but it doesn't happend
every time it goes high.
Some pointers has to how to go about solving this problem (maybe I
should start with pointers as to what it actually means :-)) would get
greatfully recieved.
Cheers,
Emlyn.
More information about the Python-win32
mailing list