Hide Forgot
abrt version: 2.0.3 architecture: x86_64 cmdline: /usr/bin/python /usr/bin/sb_filter.py -d /home/mail/sylvie/.hammie.db component: spambayes executable: /usr/bin/sb_filter.py kernel: 2.6.40.6-0.fc15.x86_64 os_release: Fedora release 15 (Lovelock) package: spambayes-1.1-0.3.a6.fc15 reason: classifier.py:287:probability:AssertionError: Token seen in more ham than ham trained. time: Wed Nov 2 22:10:02 2011 uid: 501 backtrace: :classifier.py:287:probability:AssertionError: Token seen in more ham than ham trained. : :Traceback (most recent call last): : File "/usr/bin/sb_filter.py", line 277, in <module> : main() : File "/usr/bin/sb_filter.py", line 268, in main : action(msg) : File "/usr/bin/sb_filter.py", line 186, in filter : return self.h.filter(msg) : File "/usr/lib/python2.7/site-packages/spambayes/hammie.py", line 149, in filter : debug, train) : File "/usr/lib/python2.7/site-packages/spambayes/hammie.py", line 104, in score_and_filter : prob, clues = self._scoremsg(msg, True) : File "/usr/lib/python2.7/site-packages/spambayes/hammie.py", line 33, in _scoremsg : return self.bayes.spamprob(tokenize(msg), evidence) : File "/usr/lib/python2.7/site-packages/spambayes/classifier.py", line 169, in chi2_spamprob : clues = self._getclues(wordstream) : File "/usr/lib/python2.7/site-packages/spambayes/classifier.py", line 472, in _getclues : tup = self._worddistanceget(word) : File "/usr/lib/python2.7/site-packages/spambayes/classifier.py", line 487, in _worddistanceget : prob = self.probability(record) : File "/usr/lib/python2.7/site-packages/spambayes/classifier.py", line 287, in probability : assert hamcount <= nham, "Token seen in more ham than ham trained." :AssertionError: Token seen in more ham than ham trained. : :Local variables in innermost frame: :spamcount: 181 :self: <spambayes.storage.DBDictClassifier instance at 0xded320> :record: WordInfo(181, 191) :nspam: 181.0 :hamcount: 191 :nham: 190.0 comment: :Ran : :/usr/bin/sb_filter.py -d $MAIL_DIRECTORY/.hammie.db -g -f : :with $MAIL_DIRECTORY missing because the disk where it is was missing
This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Still present in spambayes.noarch.1.1-0.4.a6.fc17
$ /usr/bin/sb_filter.py -d/home/notme/.hammie.db -g -f Traceback (most recent call last): File "/usr/bin/sb_filter.py", line 277, in <module> main() File "/usr/bin/sb_filter.py", line 254, in main h.newdb() File "/usr/bin/sb_filter.py", line 178, in newdb self.open('n') File "/usr/bin/sb_filter.py", line 166, in open self.h = hammie.open(self.dbname, self.usedb, self.mode) File "/usr/lib/python2.7/site-packages/spambayes/hammie.py", line 272, in open return Hammie(storage.open_storage(filename, useDB, mode), mode) File "/usr/lib/python2.7/site-packages/spambayes/storage.py", line 998, in open_storage return klass(data_source_name, mode) File "/usr/lib/python2.7/site-packages/spambayes/storage.py", line 154, in __init__ self.load() File "/usr/lib/python2.7/site-packages/spambayes/storage.py", line 180, in load self.dbm = dbmstorage.open(self.db_name, self.mode) File "/usr/lib/python2.7/site-packages/spambayes/dbmstorage.py", line 70, in open return f(db_name, mode) File "/usr/lib/python2.7/site-packages/spambayes/dbmstorage.py", line 40, in open_best return f(*args) File "/usr/lib/python2.7/site-packages/spambayes/dbmstorage.py", line 20, in open_dbhash return bsddb.hashopen(*args) File "/usr/lib64/python2.7/bsddb/__init__.py", line 364, in hashopen d.open(file, db.DB_HASH, flags, mode) bsddb.db.DBNoSuchFileError: (2, 'No such file or directory')
*** This bug has been marked as a duplicate of bug 749490 ***