[Spambayes] Debian upgrade woes

Dale Schroeder dale at BriannasSaladDressing.com
Mon Apr 28 14:54:42 CEST 2008


After running updates for Debian Lenny Saturday morning, I can no longer 
start spambayes.  The version is now 1.0.4-4, up from 1.0.4-3.  I have
sent the error messages to the package maintainer, but have not heard back yet.

Traceback (most recent call last):
 File "./sb_server.py", line 104, in ?
   import spambayes.message
 File "/usr/lib/python2.4/site-packages/spambayes/message.py", line 
211, in ?
   msginfoDB = MessageInfoDB(message_info_db_name)
 File "/usr/lib/python2.4/site-packages/spambayes/message.py", line 
176, in __init__
   self.load()
 File "/usr/lib/python2.4/site-packages/spambayes/message.py", line 
180, in load
   self.dbm = dbmstorage.open(self.db_name, self.mode)
 File "/usr/lib/python2.4/site-packages/spambayes/dbmstorage.py", line 
65, in open
   return f(db_name, mode)
 File "/usr/lib/python2.4/site-packages/spambayes/dbmstorage.py", line 
20, in open_dbhash
   return bsddb.hashopen(*args)
 File "/usr/lib/python2.4/bsddb/__init__.py", line 298, 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 0xb7cd318c>> ignored


Any ideas?

Dale



More information about the SpamBayes mailing list