[Spambayes] spambayes question

Skip Montanaro skip at pobox.com
Thu Feb 27 19:31:39 EST 2003


    bill> # ./mboxtrain.py -d /var/spool/mail/bill -s /home/bill/mail/spam 

    bill> Traceback (most recent call last):
    bill>   File "./mboxtrain.py", line 278, in ?
    bill>     main()
    bill>   File "./mboxtrain.py", line 261, in main
    bill>     h = hammie.open(pck, usedb, "c")
    bill>   File "./spambayes/hammie.py", line 260, in open
    bill>     b = storage.DBDictClassifier(filename, mode)
    bill>   File "./spambayes/storage.py", line 140, in __init__
    bill>     self.load()
    bill>   File "./spambayes/storage.py", line 148, in load
    bill>     self.dbm = dbmstorage.open(self.db_name, self.mode)
    bill>   File "./spambayes/dbmstorage.py", line 54, in open
    bill>     return f(*args)
    bill>   File "./spambayes/dbmstorage.py", line 36, in open_best
    bill>     return f(*args)
    bill>   File "./spambayes/dbmstorage.py", line 17, in open_dbhash
    bill>     return bsddb.hashopen(*args)

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?

Skip



More information about the Spambayes mailing list