[Spambayes] 1.0a4 broken; which_database.py lost

Peter Beckman beckman at purplecow.com
Thu Aug 14 13:13:46 EDT 2003


On Thu, 14 Aug 2003, Meyer, Tony wrote:

> > 2. Documentation on the site mentions a utility in the
> > utility dir that is called "which_database.py."  I can't find it:
>
> This is a problem with the documentation being too up-to-date -
> which_database.py appeared after the alpha4 release.  Perhaps it's
> getting towards time for a new release...(we've got a long way to go to
> catch up with the number of Outlook plug-in releases ;)

 Now that I installed bsddb3, and created my new and improved .hammiedb, I get this:

 Traceback (most recent call last):
  File "/usr/local/bin/hammiefilter.py", line 186, in ?
    main()
  File "/usr/local/bin/hammiefilter.py", line 182, in main
    action(msg)
  File "/usr/local/bin/hammiefilter.py", line 131, in train_spam
    h = hammie.open(self.dbname, self.usedb, 'c')
  File "/usr/local/lib/python2.3/site-packages/spambayes/hammie.py", line 260, in open
    b = storage.DBDictClassifier(filename, mode)
  File "/usr/local/lib/python2.3/site-packages/spambayes/storage.py", line 147, in __init__
    self.load()
  File "/usr/local/lib/python2.3/site-packages/spambayes/storage.py", line 155, in load
    self.dbm = dbmstorage.open(self.db_name, self.mode)
  File "/usr/local/lib/python2.3/site-packages/spambayes/dbmstorage.py", line 59, in open
    return f(*args)
  File "/usr/local/lib/python2.3/site-packages/spambayes/dbmstorage.py", line 41, in open_best
    return f(*args)
  File "/usr/local/lib/python2.3/site-packages/spambayes/dbmstorage.py", line 12, in open_db3hash
    return bsddb3.hashopen(*args)
  File "/usr/local/lib/python2.3/site-packages/bsddb3/__init__.py", line 162, in hashopen
    d.open(file, db.DB_HASH, flags, mode)
    bsddb._db.DBAccessError: (13, 'Permission denied')

HELP!

Beckman

PS -- I haven't searched the archives yet, but I will go do that now.
---------------------------------------------------------------------------
Peter Beckman                                                  Internet Guy
beckman at purplecow.com                             http://www.purplecow.com/
---------------------------------------------------------------------------



More information about the Spambayes mailing list