[Spambayes] [ spambayes-Bugs-730151 ] Outlook fails to classify

SourceForge.net noreply at sourceforge.net
Wed Apr 30 05:55:59 EDT 2003


Bugs item #730151, was opened at 2003-04-30 13:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=730151&group_id=61702

Category: Outlook
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Fredrik Rodland (fmmr)
Assigned to: Mark Hammond (mhammond)
Summary: Outlook fails to classify

Initial Comment:
After updating to the latest CVS version today, I get the 
following tracebacks whenever a mails arrives:

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\
Outlook2000\addin.py", line 210, in OnItemAdd
    ProcessMessage(msgstore_message, self.manager)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\
Outlook2000\addin.py", line 170, in ProcessMessage
    disposition = filter.filter_message
(msgstore_message, manager)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\
Outlook2000\filter.py", line 15, in filter_message
    prob = mgr.score(msg)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\
Outlook2000\manager.py", line 440, in score
    return self.bayes.spamprob(bayes_tokenize(email), 
evidence)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\s
pambayes\classifier.py", line 217, in chi2_spamprob
    clues = self._getclues(wordstream)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\s
pambayes\classifier.py", line 441, in _getclues
    prob = self.probability(record)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\s
pambayes\classifier.py", line 301, in probability
    assert hamcount <= nham
exceptions.AssertionError: 


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

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



More information about the Spambayes mailing list