[Python-Dev] Importing bsddb 4.6.21; with or without AES encryption?

Trent Nelson tnelson at onresolve.com
Sat May 24 04:30:06 CEST 2008


> I just committed bsddb3 4.7.0. Please install Berkeley DB >=4.7.25.

Oh my.  Just finished plugging 4.7.25 into the Windows build environment.  Upon running regrtest.py -v -u bsddb test_bsddb test_bsddb3, I get about 300 lines like this printed to stderr:

DB->key_range: method not permitted before handle's open method
illegal flag specified to DB->remove

Then about 15 lines like this:
DB_ENV->rep_start interface requires an environment configured for the replication subsystem
DB_ENV->rep_start interface requires an environment configured for the replication subsystem
DB_ENV->rep_start interface requires an environment configured for the replication subsystem
DB_ENV->rep_start interface requires an environment configured for the replication subsystem

Then Python crashes.  Quick perusal of stdout reveals this happening on just about every test:

======================================================================
ERROR: test__no_deadlock_first (test.test_bsddb.TestBTree)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "O:\scm\svn+ssh\pythondev at svn.python.org\python\trunk\lib\test\test_bsddb.py", line 16, in setUp
    self.f = self.openmethod[0](self.fname, self.openflag, cachesize=32768)
  File "O:\scm\svn+ssh\pythondev at svn.python.org\python\trunk\lib\bsddb\__init__.py", line 320, in btopen
    e = _openDBEnv(cachesize)
  File "O:\scm\svn+ssh\pythondev at svn.python.org\python\trunk\lib\bsddb\__init__.py", line 360, in _openDBEnv
    e.open('.', db.DB_PRIVATE | db.DB_CREATE | db.DB_THREAD | db.DB_INIT_LOCK | db.DB_INIT_MPOOL)
DBInvalidArgError: (22, 'Invalid argument')

The last lines before python_d.exe crashes are as follows:

testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok
test_pget (bsddb.test.test_cursor_pget_bug.pget_bugTestCase) ... ERROR
testCheckElapsedTime (test.test_bsddb3.TimingCheck) ... ok
test01_both (bsddb.test.test_dbobj.dbobjTestCase) ... ERROR
test02_dbobj_dict_interface (bsddb.test.test_dbobj.dbobjTestCase) ... ERROR
test03_dbobj_type_before_open (bsddb.test.test_dbobj.dbobjTestCase) ... FAIL

Think I'll call it a night for now.

    Trent.


More information about the Python-Dev mailing list