Bug#478269: Update #2
On Tue, Jun 03, 2008 at 08:45:19PM -0500, Dale and Cheryl Schroeder wrote: I have installed all updates to spambayes (now 1.0.4-5) and python, but sb_server.py still does not start. Current info is as follows Traceback (most recent call last): File /usr/bin/sb_server.py, line 104, in module import spambayes.message File /usr/lib/python2.5/site-packages/spambayes/message.py, line 211, in module msginfoDB = MessageInfoDB(message_info_db_name) File /usr/lib/python2.5/site-packages/spambayes/message.py, line 176, in __init__ self.load() File /usr/lib/python2.5/site-packages/spambayes/message.py, line 180, in load self.dbm = dbmstorage.open(self.db_name, self.mode) File /usr/lib/python2.5/site-packages/spambayes/dbmstorage.py, line 65, in open return f(db_name, mode) File /usr/lib/python2.5/site-packages/spambayes/dbmstorage.py, line 20, in open_dbhash return bsddb.hashopen(*args) File /usr/lib/python2.5/bsddb/__init__.py, line 310, in hashopen d.open(file, db.DB_HASH, flags, mode) bsddb.db.DBInvalidArgError: (22, 'Invalid argument -- /var/spambayes/spambayes.messageinfo.db: unsupported hash version: 9') Exception exceptions.AttributeError: 'MessageInfoDB' object has no attribute 'db' in bound method MessageInfoDB.__del__ of spambayes.message.MessageInfoDB object at 0x827254c ignored Hi, Sorry for the late answer. I'm not sure about what happened there. I suggest you move you spam database to another file and retrain your classifier from scratch (using sb_mboxtrain.py -f to force retraining on previously used messages). -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.logilab.fr/services Informatique scientifique: http://www.logilab.fr/science signature.asc Description: Digital signature
Bug#478269: Update #2
I have installed all updates to spambayes (now 1.0.4-5) and python, but sb_server.py still does not start. Current info is as follows Traceback (most recent call last): File /usr/bin/sb_server.py, line 104, in module import spambayes.message File /usr/lib/python2.5/site-packages/spambayes/message.py, line 211, in module msginfoDB = MessageInfoDB(message_info_db_name) File /usr/lib/python2.5/site-packages/spambayes/message.py, line 176, in __init__ self.load() File /usr/lib/python2.5/site-packages/spambayes/message.py, line 180, in load self.dbm = dbmstorage.open(self.db_name, self.mode) File /usr/lib/python2.5/site-packages/spambayes/dbmstorage.py, line 65, in open return f(db_name, mode) File /usr/lib/python2.5/site-packages/spambayes/dbmstorage.py, line 20, in open_dbhash return bsddb.hashopen(*args) File /usr/lib/python2.5/bsddb/__init__.py, line 310, in hashopen d.open(file, db.DB_HASH, flags, mode) bsddb.db.DBInvalidArgError: (22, 'Invalid argument -- /var/spambayes/spambayes.messageinfo.db: unsupported hash version: 9') Exception exceptions.AttributeError: 'MessageInfoDB' object has no attribute 'db' in bound method MessageInfoDB.__del__ of spambayes.message.MessageInfoDB object at 0x827254c ignored ii spambayes1.0.4-5 Python-based spam filter using statistical a ii python 2.5.2-1 An interactive high-level object-oriented la ii python-central 0.6.7 register and build utility for Python packag ii python-minimal 2.5.2-1 A minimal subset of the Python language (def ii python-support 0.7.7 automated rebuilding support for Python modu rc python2.32.3.5-16 An interactive high-level object-oriented la ii python2.42.4.5-2 An interactive high-level object-oriented la ii python2.4-dbg2.4.5-2 Debug Build of the Python Interpreter (versi ii python2.4-minimal2.4.5-2 A minimal subset of the Python language (ver ii python2.52.5.2-6 An interactive high-level object-oriented la ii python2.5-dbg2.5.2-6 Debug Build of the Python Interpreter (versi ii python2.5-minimal2.5.2-6 A minimal subset of the Python language (ver Linux pav8500 2.6.24-1-686 #1 SMP Sat Apr 19 00:37:55 UTC 2008 i686 GNU/Linux