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

SourceForge.net noreply at sourceforge.net
Wed Sep 3 20:47:52 EDT 2003


Bugs item #798362, was opened at 2003-09-01 03:21
Message generated for change (Comment added) made by shaunbroadbent
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: Shaun Broadbent (shaunbroadbent)
Date: 2003-09-04 02:47

Message:
Logged In: YES 
user_id=818011

I am seeing the same problem, at various stages I have had

part or all of the main toolbar missing. Logs always 

show the same error

"Failed to add the toolbar item 'whatever'  - (-

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

2147467259), None)



I have never lost the 'Delete As' button always just

the main 'Spambayes' drop down or a single element from

the drop down. I will try the patch but I guess as per the last 

comment, that is not fixing it.

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

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-09-04 00:25

Message:
Logged In: YES 
user_id=552329

Not quite.  I now have a the "delete as" and "recover from" 

buttons, but no spambayes button...the trace has:



FAILED to add the toolbar 

item 'SpamBayesCommand.Manager' - (-

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

2147467259), None)

Deleted the dead popup control - re-creating

FAILED to add the toolbar 

item 'SpamBayesCommand.TestSuite' - (-2146827864, 'OLE 

error 0x800a01a8', None, None)



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

Comment By: Mark Hammond (mhammond)
Date: 2003-09-03 06: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 04: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