[Spambayes] SpamBayes new user - strange error

Andy andysb at lizaard.com
Fri Aug 29 10:47:44 EDT 2003


I've been using SpamBayes with Outlook 2002 SP2 on Win2k SP3 for a couple of
months and it has been working fine.  Just yesterday it stopped filtering
and if I try to run the filter manually I get the message "Found 0 spam 0
unsure and 0 good messages (67 errors)".

Before I run the filter manually the log has this in it:

==============
SpamAddin - Connecting to Outlook
Loaded bayes database from 'C:\Documents and Settings\arankin\Application
Data\SpamBayes\default_bayes_database.db'
Loaded message database from 'C:\Documents and Settings\arankin\Application
Data\SpamBayes\default_message_database.db'
Bayes database initialized with 4382 spam and 4163 good messages
*** - message database has 9222 messages - bayes has 8545 - something is
screwey
Loaded databases in 77.7437ms
AntiSpam: Watching for new messages in folder 1 - Viget
AntiSpam: Watching for new messages in folder 2 - Lizaard
AntiSpam: Watching for new messages in folder 3 - PU
AntiSpam: Watching for new messages in folder Inbox
AntiSpam: Watching for new messages in folder 5. - Spam
Processing 0 missed spam in folder '1 - Viget' took 0.535822ms
Processing 0 missed spam in folder '2 - Lizaard' took 73.6063ms
Error processing missed messages!
Traceback (most recent call last):
  File "E:\src\spambayes\Outlook2000\addin.py", line 671, in OnConnection
  File "E:\src\spambayes\Outlook2000\addin.py", line 945, in
ProcessMissedMessages
  File "E:\src\spambayes\Outlook2000\addin.py", line 163, in ProcessMessage
  File "E:\src\spambayes\Outlook2000\filter.py", line 15, in filter_message
  File "E:\src\spambayes\Outlook2000\manager.py", line 440, in score
  File "e:\src\spambayes\spambayes\classifier.py", line 217, in
chi2_spamprob
  File "e:\src\spambayes\spambayes\classifier.py", line 465, in _getclues
  File "e:\src\spambayes\spambayes\classifier.py", line 319, in probability
AssertionError
==============

After I run it I get a block like this for each message it tried to check:

==============
pythoncom error: Python error invoking COM method.
Traceback (most recent call last):
  File "E:\src\pythonex\com\win32com\server\policy.py", line 275, in
_Invoke_
  File "E:\src\pythonex\com\win32com\server\policy.py", line 280, in
_invoke_
  File "E:\src\pythonex\com\win32com\server\policy.py", line 601, in
_invokeex_
  File "E:\src\pythonex\com\win32com\server\policy.py", line 541, in
_invokeex_
  File "E:\src\spambayes\Outlook2000\addin.py", line 203, in OnItemAdd
  File "E:\src\spambayes\Outlook2000\addin.py", line 163, in ProcessMessage
  File "E:\src\spambayes\Outlook2000\filter.py", line 15, in filter_message
  File "E:\src\spambayes\Outlook2000\manager.py", line 440, in score
  File "e:\src\spambayes\spambayes\classifier.py", line 217, in
chi2_spamprob
  File "e:\src\spambayes\spambayes\classifier.py", line 465, in _getclues
  File "e:\src\spambayes\spambayes\classifier.py", line 319, in probability
exceptions.AssertionError: 
Error filtering message '<MAPIMsgStoreMsg, 'Refill your medication online!'
(read)
id=0000000038A1BB1005E5101AA1BB08002B2A56C200006D737073742E646C6C00000000004
E495441F9BFB80100AA0037D96E000000433A5C446F63756D656E747320616E6420536574746
96E67735C6172616E6B696E5C4C6F63616C2053657474696E67735C4170706C69636174696F6
E20446174615C4D6963726F736F66745C4F75746C6F6F6B5C4F75746C6F6F6B2E70737400/00
000000EB341A077227D411974600E0980A28DC24DB6A00>'
==============


I'm not all that technical and I snooped around some looking for the
solution but I couldn't find anything.  I suppose I could try reinstalling
SpamBayes but I'd rather not lose all the training data.

Thanks,
Andy




More information about the Spambayes mailing list