[Spambayes] "delete as spam" gives error in Outlook XP

Mark Hammond mhammond at skippinet.com.au
Sun Mar 2 02:29:26 EST 2003


This is a known bug - please define a folder for filtering your spam mail
to - even if filtering is not enabled.

Mark.

> -----Original Message-----
> From: spambayes-bounces at python.org
> [mailto:spambayes-bounces at python.org]On Behalf Of Chris Lopes
> Sent: Saturday, 1 March 2003 5:52 PM
> To: spambayes at python.org
> Subject: [Spambayes] "delete as spam" gives error in Outlook XP
>
>
> Hello,
>
> I am running Outlook 2002 SP-2 on Windows XP Pro SP1.
> I have spambayes 1.0a2 installed, along with python.org's python
> 2.2.2 with win32all-150
> installed.
> In order to install the add-in for outlook, I just ran addin.py
> from spambayes' outlook2000
> directory. The plugin installed fine, and I was able to train
> spambayes on a set of both spam and
> non-spam emails just fine.
>
> However, "Delete As Spam" does not work. It gives the following
> error visible from
> PythonWin's Trace Collector Debugging Tool when I click "Delete As Spam":
> 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-1.0a2\Outlook2000\addin.py", line 305, in OnClick
>     spam_folder = msgstore.GetFolder(spam_folder_id)
>   File "D:\spambayes-1.0a2\Outlook2000\msgstore.py", line 223, in
> GetFolder
>     folder_id = self.NormalizeID(folder_id)
>   File "D:\spambayes-1.0a2\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'?
>
> Please help
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
>
> _______________________________________________
> Spambayes mailing list
> Spambayes at python.org
> http://mail.python.org/mailman/listinfo/spambayes




More information about the Spambayes mailing list