[Spambayes] Outlook Plugin Crashing Outlook
Meyer, Tony
T.A.Meyer at massey.ac.nz
Thu Feb 13 15:19:35 EST 2003
Something (not spambayes!) crashed my system today and now Outlook won't load with the plugin installed (but will without). For some reason nothing appears in the trace on launching Outlook (apart from the loading message), but if I execute manager.py, I get the following (along with the same windows error dialog saying that errors have been caused and the program will be closed).
Traceback (most recent call last):
File "D:\PROGRA~1\Python22\lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript
exec codeObject in __main__.__dict__
File "D:\CVS_Modules\spambayes\Outlook2000\manager.py", line 603, in ?
sys.exit(main(verbose))
File "D:\CVS_Modules\spambayes\Outlook2000\manager.py", line 578, in main
mgr = GetManager(verbose=verbose_level)
File "D:\CVS_Modules\spambayes\Outlook2000\manager.py", line 566, in GetManager
outlook = win32com.client.Dispatch("Outlook.Application")
File "D:\PROGRA~1\Python22\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch
dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File "D:\PROGRA~1\Python22\lib\site-packages\win32com\client\dynamic.py", line 84, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "D:\PROGRA~1\Python22\lib\site-packages\win32com\client\dynamic.py", line 72, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
com_error: (-2146959355, 'Server execution failed', None, None)
It seems that the problem is with the win32com.client.Dispatch call. (Or, I suspect, my Outlook). I've dumped the .ini, the message stores and the config pickle in case the problem was with any of them, but that hasn't helped.
Any suggestions about what to do?
Thanks,
Tony Meyer
More information about the Spambayes
mailing list