[spambayes-bugs] [ spambayes-Bugs-1106457 ] bsddb185 has to be
covered in dbmstorage.py
SourceForge.net
noreply at sourceforge.net
Fri Jan 21 21:03:29 CET 2005
Bugs item #1106457, was opened at 2005-01-20 19:22
Message generated for change (Comment added) made by leobru
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1106457&group_id=61702
Category: None
Group: Source code - CVS
Status: Closed
Resolution: Accepted
Priority: 5
Submitted By: Leonid (leobru)
Assigned to: Tony Meyer (anadelonbrin)
Summary: bsddb185 has to be covered in dbmstorage.py
Initial Comment:
In python2.3 at least under FreeBSD whichdb can return
"bsddb185".
This dbm type has to be covered in open_funcs, lest the
infamous "NoneType' object has no attribute 'spamprob'"
occurs:
def open_db185hash(*args):
"""Open a bsddb185 hash."""
import bsddb185
return bsddb185.hashopen(*args)
and in open_funcs:
"bsddb185": open_db185hash,
----------------------------------------------------------------------
>Comment By: Leonid (leobru)
Date: 2005-01-21 12:03
Message:
Logged In: YES
user_id=790676
open_db185hash apparently needs to be present in open_best
as well, as bsddb185 can be the only one available;
otherwise sb_dbexpimp.py might not work.
----------------------------------------------------------------------
Comment By: Tony Meyer (anadelonbrin)
Date: 2005-01-20 20:35
Message:
Logged In: YES
user_id=552329
Thanks; fixed in dbmstorage.py r1.13
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1106457&group_id=61702
More information about the Spambayes-bugs
mailing list