[Python-Dev] Slow tests involving bsddb - timeout

skip at pobox.com skip at pobox.com
Tue Dec 4 02:16:22 CET 2007


I noticed that test_anydbm and test_bsddb seemed to hang, so I -x'd them.
Later on while test_whichdb was running and I was off doing something else
(so didn't notice the delay), it eventually spewed this traceback:

    Traceback (most recent call last):
      File "/Users/skip/src/python/trunk/Lib/test/test_whichdb.py", line 49, in test_whichdb_name
        f = mod.open(_fname, 'c')
      File "/Users/skip/src/python/trunk/Lib/dbhash.py", line 16, in open
        return bsddb.hashopen(file, flag, mode)
      File "/Users/skip/src/python/trunk/Lib/bsddb/__init__.py", line 310, in hashopen
        d.open(file, db.DB_HASH, flags, mode)
    DBFileExistsError: (17, 'File exists -- __fop_file_setup:  Retry limit (100) exceeded')

Looking at _bsddb.so I see it's linked against Berkeley DB 4.5.  This is on
Mac OSX 10.4.11 using the MacPorts version of Berkeley DB (4.5.20).  Have I
somehow strayed out of the support cocoon without realizing it?  I wouldn't
have thought so, since the max version listed in setup.py is 4.6.

Thx,

Skip


More information about the Python-Dev mailing list