[Spambayes] spambayes question

bill parducci bill at parducci.net
Thu Feb 27 17:40:36 EST 2003

oops, to the list this time...


Skip Montanaro wrote:

> What's the actual except and error message?  It's clear there's a problem
> opening the database, but there should be an indication of some sort what
> the problem was.
> What happens if you delete the file hammiefilter created and just let
> mboxtrain create the db file?

$ rm .hammiedb

$ spambayes/mboxtrain.py -d /var/spool/mail/bill -s /home/bill/mail/spam
Traceback (most recent call last):
  File "spambayes/mboxtrain.py", line 278, in ?
  File "spambayes/mboxtrain.py", line 261, in main
    h = hammie.open(pck, usedb, "c")
  File "./spambayes/hammie.py", line 260, in open
  File "./spambayes/storage.py", line 140, in __init__
  File "./spambayes/storage.py", line 148, in load
  File "./spambayes/dbmstorage.py", line 54, in open
  File "./spambayes/dbmstorage.py", line 36, in open_best
  File "./spambayes/dbmstorage.py", line 17, in open_dbhash
bsddb.error: (22, 'Invalid argument')

More information about the Spambayes mailing list