[ python-Bugs-897820 ] db4 4.2 == :-( (test_anydbm and test_bsddb3)
SourceForge.net
noreply at sourceforge.net
Mon Feb 16 01:03:38 EST 2004
Bugs item #897820, was opened at 2004-02-16 17:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=897820&group_id=5470
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Anthony Baxter (anthonybaxter)
Assigned to: Nobody/Anonymous (nobody)
Summary: db4 4.2 == :-( (test_anydbm and test_bsddb3)
Initial Comment:
This machine, running fedora core 2 (test) has db4
4.2.52 installed. test_anydbm fails utterly with this
combination.
3 of the 4 tests fail, the failing part is the same in
each case:
File "Lib/anydbm.py", line 83, in open
return mod.open(file, flag, mode)
File "Lib/dbhash.py", line 16, in open
return bsddb.hashopen(file, flag, mode)
File "Lib/bsddb/__init__.py", line 293, in hashopen
d.open(file, db.DB_HASH, flags, mode)
DBInvalidArgError: (22, 'Invalid argument --
DB_TRUNCATE illegal with locking specified')
test_bsddb passes, but test_bsddb3 fails with a similar
error:
test test_bsddb3 failed -- Traceback (most recent call
last):
File "Lib/bsddb/test/test_compat.py", line 82, in
test04_n_flag
f = hashopen(self.filename, 'n')
File "Lib/bsddb/__init__.py", line 293, in hashopen
d.open(file, db.DB_HASH, flags, mode)
DBInvalidArgError: (22, 'Invalid argument --
DB_TRUNCATE illegal with locking specified')
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=897820&group_id=5470
More information about the Python-bugs-list
mailing list