[spambayes-bugs] [ spambayes-Bugs-1181131 ] spambayes-1.0.3 problem
SourceForge.net
noreply at sourceforge.net
Thu Apr 14 08:45:29 CEST 2005
Bugs item #1181131, was opened at 2005-04-12 11:36
Message generated for change (Settings changed) made by anadelonbrin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1181131&group_id=61702
Category: hammie
>Group: 1.0.4
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Dmitry Karasik (int32)
>Assigned to: Tony Meyer (anadelonbrin)
Summary: spambayes-1.0.3 problem
Initial Comment:
sb_filter.py fails with the error. the file
'sample_mail' is a simple
message, but the error is the same on every message
i've tested spambayes on:
$ sb_filter.py < sample_mail
Traceback (most recent call last):
File "/usr/local/bin/sb_filter.py", line 257, in ?
main()
File "/usr/local/bin/sb_filter.py", line 248, in main
action(msg)
File "/usr/local/bin/sb_filter.py", line 180, in filter
return self.h.filter(msg)
File
"/usr/local/lib/python2.4/site-packages/spambayes/hammie.py",
line 109, in filter
prob, clues = self._scoremsg(msg, True)
File
"/usr/local/lib/python2.4/site-packages/spambayes/hammie.py",
line 38, in _scoremsg
return self.bayes.spamprob(tokenize(msg), evidence)
AttributeError: 'NoneType' object has no attribute
'spamprob'
zsh: 87791 exit 1 sb_filter.py < aa
$ uname -a
4.8-RELEASE FreeBSD
----------------------------------------------------------------------
Comment By: Tony Meyer (anadelonbrin)
Date: 2005-04-12 12:12
Message:
Logged In: YES
user_id=552329
Odd. Does sb_filter.py work apart from classifying? (e.g.
to train, to create a new database, to print the help). Do
the other scripts work as expected? Does a database file exist?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1181131&group_id=61702
More information about the Spambayes-bugs
mailing list