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

Attachment: signature.asc
Description: Digital signature

Reply via email to