[Spambayes] 1.0a4 broken; which_database.py lost

Peter Beckman beckman at purplecow.com
Thu Aug 14 02:23:55 EDT 2003


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

> > My bet (and fear) is that I'm using dumbdb:
> >             .hammiedb.bak: ASCII text
> >             .hammiedb.dat: data
> >             .hammiedb.dir: ASCII text
>
> Looks like it.

 How do I check?  And if I am using DumbDB, how do I go about moving to
 Py-bsddb3 once I install it?  Do I have to start training all over again,
 or can I convert my DumbDB file(s) to Py-bsddb3?

 Also, if I install Py-bsddb3, do I have to re-compile/re-install
 SpamBayes?

> > 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 ;)
>
> Hmm.  It hasn't been widely tested, although it worked for me.  What
> error does it give you?

    thermonuclear: 2 : ~/spambayes-1.0a4/utilities --> which_database.py
    Traceback (most recent call last):
    File "which_database.py", line 31, in ?
        import dbhash
    File "/usr/local/lib/python2.3/dbhash.py", line 5, in ?
        import bsddb
    File "/usr/local/lib/python2.3/bsddb/__init__.py", line 40, in ?
        import _bsddb
    ImportError: No module named _bsddb

Peter
---------------------------------------------------------------------------
Peter Beckman                                                  Internet Guy
beckman at purplecow.com                             http://www.purplecow.com/
---------------------------------------------------------------------------



More information about the Spambayes mailing list