[spambayes-bugs] [ spambayes-Bugs-755738 ] Toolbar items aren't created.

SourceForge.net noreply at sourceforge.net
Sun Sep 7 20:39:15 EDT 2003


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

Category: Outlook
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Fredrik Rodland (fmmr)
Assigned to: Mark Hammond (mhammond)
Summary: Toolbar items aren't created.

Initial Comment:
I have been using spambayes for some months.  The 

latest cvs-version fails with the following traceback:



pythoncom error: Python error invoking COM method.

Traceback (most recent call last):

  File "C:\PROGRA~1\_DEV\Python22\lib\site-

packages\win32com\server\policy.py", line 275, in 

_Invoke_

    return self._invoke_(dispid, lcid, wFlags, args)

  File "C:\PROGRA~1\_DEV\Python22\lib\site-

packages\win32com\server\policy.py", line 280, in 

_invoke_

    return S_OK, -1, self._invokeex_(dispid, lcid, wFlags, 

args, None, None)

  File "C:\PROGRA~1\_DEV\Python22\lib\site-

packages\win32com\server\policy.py", line 601, in 

_invokeex_

    return DesignatedWrapPolicy._invokeex_( self, dispid, 

lcid, wFlags, args, kwArgs, serviceProvider)

  File "C:\PROGRA~1\_DEV\Python22\lib\site-

packages\win32com\server\policy.py", line 541, in 

_invokeex_

    return apply(func, args)

  

File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\O

utlook2000\addin.py", line 609, in OnSelectionChange

    self.SetupUI()

  

File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\O

utlook2000\addin.py", line 500, in SetupUI

    Tag = "SpamBayesCommand.Manager")

  

File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\O

utlook2000\addin.py", line 564, in _AddControl

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

Temporary=False)

  File "C:\PROGRA~1\_DEV\Python22\lib\site-

packages\win32com\client\__init__.py", line 451, in 

__getattr__

    return apply(self._ApplyTypes_, args)

  File "C:\PROGRA~1\_DEV\Python22\lib\site-

packages\win32com\client\__init__.py", line 445, in 

_ApplyTypes_

    return self._get_good_object_(apply

(self._oleobj_.InvokeTypes, (dispid, 0, wFlags, retType, 

argTypes) + args), user, resultCLSID)

pywintypes.com_error: (-2147352567, 'Det oppstod et 

unntak.', (0, None, None, None, 0, -2147467259), None)

Message 'Kunder med utestående hos Stocknet.' had a 

Spam classification of 'No'



The traceback is repeated each time a message is 

selected.



I tried the the cvs-version ca a week ago as well with 

the same result.  I unregistered the plugin before 

installing it, and also tried this multiple times.



The new toolbar doen not seem to work.  When clicking 

the "Anti-Spam"-button nothing happens.  When 

selecting the spam-folder, the "Delete as spam"-button 

does not change to "recover-from-spam", the latter 

does not show up at all.



OS: win XP home

outllook 2000

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

>Comment By: Mark Hammond (mhammond)
Date: 2003-09-08 12:39

Message:
Logged In: YES 
user_id=14198

And even more changes since my last comment.  Please reopen

if you still have this problem.

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

Comment By: Mark Hammond (mhammond)
Date: 2003-07-08 21:35

Message:
Logged In: YES 
user_id=14198

I just checked in a fix that will still attempt to create

all toolbar items, even if a previous one fails.  This may

means that at least *some* of our toolbar items work.



I'm afraid I am a little stumped here.

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

Comment By: Fredrik Rodland (fmmr)
Date: 2003-07-03 16:38

Message:
Logged In: YES 
user_id=724871

the "new" traceback is:



pythoncom error: Python error invoking COM method.

Traceback (most recent call last):

  File "C:\PROGRA~1\_DEV\Python22\lib\site-

packages\win32com\server\policy.py", line 275, in _Invoke_

    return self._invoke_(dispid, lcid, wFlags, args)

  File "C:\PROGRA~1\_DEV\Python22\lib\site-

packages\win32com\server\policy.py", line 280, in _invoke_

    return S_OK, -1, self._invokeex_(dispid, lcid, wFlags, args, 

None, None)

  File "C:\PROGRA~1\_DEV\Python22\lib\site-

packages\win32com\server\policy.py", line 601, in _invokeex_

    return DesignatedWrapPolicy._invokeex_( self, dispid, lcid, 

wFlags, args, kwArgs, serviceProvider)

  File "C:\PROGRA~1\_DEV\Python22\lib\site-

packages\win32com\server\policy.py", line 541, in _invokeex_

    return apply(func, args)

  

File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\Outlook

2000\addin.py", line 674, in OnSelectionChange

    self.SetupUI()

  

File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\Outlook

2000\addin.py", line 548, in SetupUI

    Tag = "SpamBayesCommand.Manager")

  

File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\Outlook

2000\addin.py", line 623, in _AddControl

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

Temporary=False)

  File "C:\PROGRA~1\_DEV\Python22\lib\site-

packages\win32com\client\__init__.py", line 451, in 

__getattr__

    return apply(self._ApplyTypes_, args)

  File "C:\PROGRA~1\_DEV\Python22\lib\site-

packages\win32com\client\__init__.py", line 445, in 

_ApplyTypes_

    return self._get_good_object_(apply

(self._oleobj_.InvokeTypes, (dispid, 0, wFlags, retType, 

argTypes) + args), user, resultCLSID)

pywintypes.com_error: (-2147352567, 'Det oppstod et 

unntak.', (0, None, 'Medlemmet ble ikke funnet.', None, 0, -

2147467259), None)





translation of the last messages:

oppstod et unntak.: An exception occured

Medlemmet ble ikke funnet: The memeber was not found

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

Comment By: Fredrik Rodland (fmmr)
Date: 2003-07-02 21:24

Message:
Logged In: YES 
user_id=724871

I see the same _behaviour_.  I'll repost a (new) traceback the 

next time this problem occurs.

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

Comment By: Mark Hammond (mhammond)
Date: 2003-07-02 21:14

Message:
Logged In: YES 
user_id=14198

Are you sure this is current CVS?  I see:



File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\O

utlook2000\addin.py", line 609, in OnSelectionChange

self.SetupUI() 



File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\O

utlook2000\addin.py", line 500, in SetupUI

Tag = "SpamBayesCommand.Manager") 



And these are both out by a fair way.  Current CVS is rev 

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

Comment By: Fredrik Rodland (fmmr)
Date: 2003-07-02 17:04

Message:
Logged In: YES 
user_id=724871

yes.  it seems to happen each morning when I start outllok 

after having shut down my pc.



you tipped me to delete \Documents and Settings\{username}

\Application Data\Microsoft\Outlook\outcmd.dat



this solves the problem, but it reappears after a while 

(reboot, new day, shutdown?)

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

Comment By: Mark Hammond (mhammond)
Date: 2003-07-02 09:20

Message:
Logged In: YES 
user_id=14198

Does this still happen?

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

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



More information about the Spambayes-bugs mailing list