[Spambayes] spambayes question

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

i was trying to setup spambayes-1.0a2 and have been unable to manually perform the training:

# ./hammiefilter.py -n
Created new database in /home/bill/.hammiedb

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

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

at first blush, it looks like a database communication/authorization issue. 

i am running:

python mail version 2.4.3
on linux (rh8)

is this version of the code in a state whereby it can installed using the instructions in HAMMIE.txt? is there something else that i should be looking at?



More information about the Spambayes mailing list