[spambayes-bugs] [ spambayes-Bugs-826035 ] bsddb.error on startup

SourceForge.net noreply at sourceforge.net
Sat Oct 18 12:52:12 EDT 2003


Bugs item #826035, was opened at 2003-10-18 16:35
Message generated for change (Comment added) made by spboulet
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=826035&group_id=61702

Category: pop3proxy
Group: Source code 1.0a6
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Stephen Boulet (spboulet)
Assigned to: Nobody/Anonymous (nobody)
Summary: bsddb.error on startup

Initial Comment:
I'm getting this error when trying to launch sb_server
in the folder used previously with 1.0a5:

$ Traceback (most recent call last):
  File "/usr/bin/sb_server.py", line 101, in ?
    import spambayes.message
  File
"/usr/lib/python2.2/site-packages/spambayes/message.py",
line 149, in ?
    msginfoDB = MessageInfoDB(message_info_db_name)
  File
"/usr/lib/python2.2/site-packages/spambayes/message.py",
line 114, in __init__
    self.dbm = dbmstorage.open(self.db_name, self.mode)
  File
"/usr/lib/python2.2/site-packages/spambayes/dbmstorage.py",
line 53, in open
    return f(*args)
  File
"/usr/lib/python2.2/site-packages/spambayes/dbmstorage.py",
line 36, in open_best
    return f(*args)
  File
"/usr/lib/python2.2/site-packages/spambayes/dbmstorage.py",
line 18, in open_dbhash
    return bsddb.hashopen(*args)
bsddb.error: (22, 'Invalid argument')

I don't get an error when creating a new directory and
starting sb_server.py from there.

I'm running on python 2.2.3 linux with unixODBC-2.2.2.

Stephen

----------------------------------------------------------------------

>Comment By: Stephen Boulet (spboulet)
Date: 2003-10-18 16:52

Message:
Logged In: YES 
user_id=6988

This can be closed. I see that there was an issue with the
db-4.1 support in the version of python that Gentoo linux
uses. From the python-2.2.3-r3 changelog:

python-2.2.3-r3 (17 Oct 2003)

  17 Oct 2003; Alastair Tse <liquidx at gentoo.org>
python-2.2.3-r3.ebuild,
  files/python-2.2.3-db4.patch,
  files/python-2.2.3-gentoo_py_dontcompile.patch,
files/python-updater:
  Add support for db-4.1, fixes for ewarn hanging for
python-updater

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=826035&group_id=61702



More information about the Spambayes-bugs mailing list