[Spambayes] Outlook plugin "delete as spam" button not working

Gabriel Mino gmino at pcsltd.com
Mon Feb 17 15:58:56 EST 2003


Per Tony's suggestion, I've changed line 47 of manager.py to "use_db =
False"

 

This is what I'm getting while trying to use the "delete as spam" button:

 

pythoncom error: Python error invoking COM method.

Traceback (most recent call last):

  File "D:\Python22\lib\site-packages\win32com\server\policy.py", line 275,
in _Invoke_

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

  File "D:\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 "D:\Python22\lib\site-packages\win32com\server\policy.py", line 510,
in _invokeex_

    return apply(func, args)

  File "D:\spambayes\Outlook2000\addin.py", line 305, in OnClick

    spam_folder = msgstore.GetFolder(spam_folder_id)

  File "D:\spambayes\Outlook2000\msgstore.py", line 232, in GetFolder

    folder_id = self.NormalizeID(folder_id)

  File "D:\spambayes\Outlook2000\msgstore.py", line 185, in NormalizeID

    assert type(item_id) in [type(''), type(u'')], "What kind of ID is
'%r'?" % (item_id,)

exceptions.AssertionError: What kind of ID is 'None'?

 

TIA

 

Gabriel 

 



More information about the Spambayes mailing list