[Spambayes] Outlook Plugin Crashing Outlook

Mark Hammond mhammond at skippinet.com.au
Thu Feb 13 14:49:55 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), 

I can only suggest adding a few more print statement - particularly in
"setupui" etc.  It is probably that we are making a call which is crashing
outlook.  I've seen it before :(

> 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).
>     IDispatch = pythoncom.CoCreateInstance(IDispatch, None, 
> clsctx, pythoncom.IID_IDispatch)
> com_error: (-2146959355, 'Server execution failed', None, None)

This exception generally just means "the server crashed".  ie, Python is
trying to start outlook, and outlook itself loads and uses Python, which
calls Outlook, which crashes it.  This exception is from the "outer-most"
Python, which is in its own process, complaining it couldn't establish a
connection to the outlook process it just started.  Simple really :)

> Any suggestions about what to do?

Start outlook without the addin, reset the toolbars, and try again.  There
is something suspect in that toolbar code - I've already worked around a few
other crashes in that area.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2348 bytes
Desc: not available
Url : http://mail.python.org/pipermail/spambayes/attachments/20030213/b1781499/winmail-0001.bin

More information about the Spambayes mailing list