shelve/bsddb broken in Python 2.3.3 (SuSe 9.1)?

Glenn R Williams gloonie at earthlink.net
Sat Aug 14 15:51:25 EDT 2004


Has anybody gotten shelve to work under SuSE 9.1? 

I have SuSe 9.1, Python 2.3.3.85, db 4.2.52, and bsddb3-4.2.4. 

When I try to create a shelve, I get errors galore, Here's the traceback:

Traceback (most recent call last):
  File "<pyshell#17>", line 1, in -toplevel-
    d=shelve.open('mydbm',flag='c')
  File "/usr/lib/python2.3/shelve.py", line 231, in open
    return DbfilenameShelf(filename, flag, protocol, writeback, binary)
  File "/usr/lib/python2.3/shelve.py", line 212, in __init__
    Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback,
binary)
  File "/usr/lib/python2.3/anydbm.py", line 83, in open
    return mod.open(file, flag, mode)
  File "/usr/lib/python2.3/dbhash.py", line 16, in open
    return bsddb.hashopen(file, flag, mode)
  File "/usr/lib/python2.3/bsddb/__init__.py", line 192, in hashopen
    d.open(file, db.DB_HASH, flags, mode)
DBError: (38, 'Function not implemented -- process-private: unable to
initialize environment lock: Function not implemented')'

TIA,

Glenn
-- 
Glenn R Williams



More information about the Python-list mailing list