[Spambayes] Upgrade problem

Jerome Lyles lylesj002 at hawaii.rr.com
Wed Aug 4 22:37:26 CEST 2004


Hello,
I recently upgraded to spambayes-1.0rc2 from spambayes-1.0a7.  At first 
everything worked fine but now spambayes isn't filtering and when I try to 
train I get this error:
<snip>
File "/usr/lib/python2.3/site-packages/spambayes/message.py", line 118, in 
_getState
    attributes = self.db[msg.getId()]

  File "/usr/lib/python2.3/shelve.py", line 118, in __getitem__
    f = StringIO(self.dict[key])

  File "/usr/lib/python2.3/bsddb/__init__.py", line 116, in __getitem__
    return self.db[key]

DBRunRecoveryError: (-30978, 'DB_RUNRECOVERY: Fatal error, run database 
recovery -- PANIC: fatal region error detected; run recovery')

I looked in the spambayes folder for a db_runrecovery but didn't find it.
Is it looking for the old hammie.db which I have in my home folder?  How do I 
run db_recovery?  Also, how can I tell which version of spambayes I'm using?
Thanks,
Jerome


More information about the Spambayes mailing list