[spambayes-bugs] [ spambayes-Bugs-798362 ] Toolbar becomes unresponsive and must be recreated

SourceForge.net noreply at sourceforge.net
Wed Sep 3 00:15:46 EDT 2003


Bugs item #798362, was opened at 2003-09-01 13:21
Message generated for change (Comment added) made by mhammond
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=798362&group_id=61702

Category: Outlook
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Tony Meyer (anadelonbrin)
Assigned to: Mark Hammond (mhammond)
Summary: Toolbar becomes unresponsive and must be recreated

Initial Comment:
Periodically (I'm not sure exactly when it happens), the 

spambayes toolbar stops functioning (latest cvs).  

Clicking the buttons has no effect, and I have to delete 

the toolbar and restart Outlook (to recreate it) to get it 

working again (simply restarting Outlook doesn't help).



When the toolbar is 'bad', I get this in the trace:

"""

FAILED to add the toolbar item 'SpamBayesCommand.

Manager' - (-2147352567, 'Exception occurred.', (0, 

None, None, None, 0, -2147467259), None)

FAILED to add the toolbar item 'SpamBayesCommand.

Clues' - (-2147352567, 'Exception occurred.', (0, None, 

None, None, 0, -2147467259), None)

FAILED to add the toolbar item 'SpamBayesCommand.

FilterNow' - (-2147352567, 'Exception occurred.', (0, 

None, None, None, 0, -2147467259), None)

FAILED to add the toolbar item 'SpamBayesCommand.

CheckVersion' - (-2147352567, 'Exception occurred.', (0, 

None, None, None, 0, -2147467259), None)

FAILED to add the toolbar item 'SpamBayesCommand.

HelpPopup' - (-2147352567, 'Exception occurred.', (0, 

None, None, None, 0, -2147467259), None)

FAILED to add the toolbar item 'SpamBayesCommand.

TestSuite' - (-2147352567, 'Exception occurred.', (0, 

None, None, None, 0, -2147467259), None)

"""



My machine crashes fairly regularly <wink/sigh>.  I 

wonder, although I'm not sure, if this problem occurs 

when Outlook crashes instead of being closed properly.



----------------------------------------------------------------------

>Comment By: Mark Hammond (mhammond)
Date: 2003-09-03 16:15

Message:
Logged In: YES 
user_id=14198

Can you please try the attached patch and see if it fixes

it?  ta.

----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-09-01 14:26

Message:
Logged In: YES 
user_id=552329

Ok, I get this with the new addin.py:

"""

FAILED to add the toolbar item 'SpamBayesCommand.Manager' 

- (-2147352567, 'Exception occurred.', (0, None, None, None, 

0, -2147467259), None)

Traceback (most recent call last):

  File "D:\cvs\spambayes\spambayes\Outlook2000\addin.py", 

line 894, in _AddControl

    item = parent.Controls.Add(Type=control_type, 

Temporary=temporary)

  File "C:\Python23\lib\site-packages\win32com\client\__init__.

py", line 451, in __getattr__

    return self._ApplyTypes_(*args)

  File "C:\Python23\lib\site-packages\win32com\client\__init__.

py", line 445, in _ApplyTypes_

    return self._get_good_object_(self._oleobj_.

InvokeTypes(*((dispid, 0, wFlags, retType, argTypes) + args))

, user, resultCLSID)

com_error: (-2147352567, 'Exception occurred.', (0, None, 

None, None, 0, -2147467259), None)

FAILED to add the toolbar item 'SpamBayesCommand.Clues' - 

(-2147352567, 'Exception occurred.', (0, None, None, None, 0, 

-2147467259), None)

Traceback (most recent call last):

  File "D:\cvs\spambayes\spambayes\Outlook2000\addin.py", 

line 894, in _AddControl

    item = parent.Controls.Add(Type=control_type, 

Temporary=temporary)

  File "C:\Python23\lib\site-packages\win32com\client\__init__.

py", line 451, in __getattr__

    return self._ApplyTypes_(*args)

  File "C:\Python23\lib\site-packages\win32com\client\__init__.

py", line 445, in _ApplyTypes_

    return self._get_good_object_(self._oleobj_.

InvokeTypes(*((dispid, 0, wFlags, retType, argTypes) + args))

, user, resultCLSID)

com_error: (-2147352567, 'Exception occurred.', (0, None, 

None, None, 0, -2147467259), None)

FAILED to add the toolbar item 'SpamBayesCommand.FilterNow' 

- (-2147352567, 'Exception occurred.', (0, None, None, None, 

0, -2147467259), None)

Traceback (most recent call last):

  File "D:\cvs\spambayes\spambayes\Outlook2000\addin.py", 

line 894, in _AddControl

    item = parent.Controls.Add(Type=control_type, 

Temporary=temporary)

  File "C:\Python23\lib\site-packages\win32com\client\__init__.

py", line 451, in __getattr__

    return self._ApplyTypes_(*args)

  File "C:\Python23\lib\site-packages\win32com\client\__init__.

py", line 445, in _ApplyTypes_

    return self._get_good_object_(self._oleobj_.

InvokeTypes(*((dispid, 0, wFlags, retType, argTypes) + args))

, user, resultCLSID)

com_error: (-2147352567, 'Exception occurred.', (0, None, 

None, None, 0, -2147467259), None)

FAILED to add the toolbar item 'SpamBayesCommand.

CheckVersion' - (-2147352567, 'Exception occurred.', (0, None, 

None, None, 0, -2147467259), None)

Traceback (most recent call last):

  File "D:\cvs\spambayes\spambayes\Outlook2000\addin.py", 

line 894, in _AddControl

    item = parent.Controls.Add(Type=control_type, 

Temporary=temporary)

  File "C:\Python23\lib\site-packages\win32com\client\__init__.

py", line 451, in __getattr__

    return self._ApplyTypes_(*args)

  File "C:\Python23\lib\site-packages\win32com\client\__init__.

py", line 445, in _ApplyTypes_

    return self._get_good_object_(self._oleobj_.

InvokeTypes(*((dispid, 0, wFlags, retType, argTypes) + args))

, user, resultCLSID)

com_error: (-2147352567, 'Exception occurred.', (0, None, 

None, None, 0, -2147467259), None)

FAILED to add the toolbar item 'SpamBayesCommand.

HelpPopup' - (-2147352567, 'Exception occurred.', (0, None, 

None, None, 0, -2147467259), None)

Traceback (most recent call last):

  File "D:\cvs\spambayes\spambayes\Outlook2000\addin.py", 

line 894, in _AddControl

    item = parent.Controls.Add(Type=control_type, 

Temporary=temporary)

  File "C:\Python23\lib\site-packages\win32com\client\__init__.

py", line 451, in __getattr__

    return self._ApplyTypes_(*args)

  File "C:\Python23\lib\site-packages\win32com\client\__init__.

py", line 445, in _ApplyTypes_

    return self._get_good_object_(self._oleobj_.

InvokeTypes(*((dispid, 0, wFlags, retType, argTypes) + args))

, user, resultCLSID)

com_error: (-2147352567, 'Exception occurred.', (0, None, 

None, None, 0, -2147467259), None)

FAILED to add the toolbar item 'SpamBayesCommand.

TestSuite' - (-2147352567, 'Exception occurred.', (0, None, 

None, None, 0, -2147467259), None)

Traceback (most recent call last):

  File "D:\cvs\spambayes\spambayes\Outlook2000\addin.py", 

line 894, in _AddControl

    item = parent.Controls.Add(Type=control_type, 

Temporary=temporary)

  File "C:\Python23\lib\site-packages\win32com\client\__init__.

py", line 451, in __getattr__

    return self._ApplyTypes_(*args)

  File "C:\Python23\lib\site-packages\win32com\client\__init__.

py", line 445, in _ApplyTypes_

    return self._get_good_object_(self._oleobj_.

InvokeTypes(*((dispid, 0, wFlags, retType, argTypes) + args))

, user, resultCLSID)

com_error: (-2147352567, 'Exception occurred.', (0, None, 

None, None, 0, -2147467259), None)"""



BTW, my machine hasn't crashed yet, so that theory is gone...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=798362&group_id=61702



More information about the Spambayes-bugs mailing list