[Python-Dev] Sleepycat Berkeley DB on OSX
Guido van Rossum
guido@python.org
Mon, 02 Dec 2002 11:23:06 -0500
When running test_bsddb3 on Mac OSX, using BSDDB 4.0.14, I get
tracebacks like these:
Exception in thread writer 0:
Traceback (most recent call last):
File "/Users/guido/python/src/Lib/threading.py", line 416, in __bootstrap
self.run()
File "/Users/guido/python/src/Lib/threading.py", line 404, in run
apply(self.__target, self.__args, self.__kwargs)
File "/Users/guido/python/src/Lib/bsddb/test/test_thread.py", line 115, in writerThread
dbutils.DeadlockWrap(d.put, key, self.makeData(key), max_retries=12)
File "/Users/guido/python/src/Lib/bsddb/dbutils.py", line 61, in DeadlockWrap
except _db.DBLockDeadlockError:
NameError: global name '_db' is not defined
and these:
Exception in thread reader 8:
Traceback (most recent call last):
File "/Users/guido/python/src/Lib/threading.py", line 416, in __bootstrap
self.run()
File "/Users/guido/python/src/Lib/threading.py", line 404, in run
apply(self.__target, self.__args, self.__kwargs)
File "/Users/guido/python/src/Lib/bsddb/test/test_thread.py", line 140, in readerThread
c = d.cursor()
DBNoMemoryError: (12, 'Cannot allocate memory -- Lock table is out of available locks')
Any clues???
I don't get these on Linux, although there I get a failure too:
test test_bsddb3 failed -- errors occurred; run in verbose mode for details
Frankly, verbose mode waas too verbose to bother. :-(
--Guido van Rossum (home page: http://www.python.org/~guido/)