[Spambayes] Outlook plugin error

Piers Haken piersh at friskit.com
Tue Mar 4 10:54:21 EST 2003


I'm seeing some weird behavior sometimes when the outlook plugin filters
spam. Sometimes the spam that ends up in my spam folder has a spam field
value of '0%' even though the 'show clues' feature shows the correct
value. Looking through the trace output I'm seeing a bunch of assertion
failures like this:

pythoncom error: Python error invoking COM method.
Traceback (most recent call last):
  File "C:\Python22\lib\site-packages\win32com\server\policy.py", line
275, in _Invoke_
    return self._invoke_(dispid, lcid, wFlags, args)
  File "C:\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:\Python22\lib\site-packages\win32com\server\policy.py", line
601, in _invokeex_
    return DesignatedWrapPolicy._invokeex_( self, dispid, lcid, wFlags,
args, kwArgs, serviceProvider)
  File "C:\Python22\lib\site-packages\win32com\server\policy.py", line
541, in _invokeex_
    return apply(func, args)
  File "C:\Python22\spam\spambayes\Outlook2000\addin.py", line 184, in
OnItemAdd
    msgstore_message = self.manager.message_store.GetMessage(item)
  File "C:\Python22\spam\spambayes\Outlook2000\msgstore.py", line 258,
in GetMessage
    message_id = self.NormalizeID(message_id)
  File "C:\Python22\spam\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
'<win32com.gen_py.None.MailItem>'?

I'm not sure what's going on here, has anyone else seen this before?

Piers.



More information about the Spambayes mailing list