Sleepycat Bsdbd 4.3.27 and Python 2.4.1
Cassiano, Marco
mcassiano at manord.com
Thu May 12 08:28:42 EDT 2005
Hi all,
I've just compiled Python 2.4.1 on a linux box (RHEL 3AS) after having
installed Berkeley DB 4.3.27 from sleepycat Software.
During the configure/build process python correctly found the BSBDB
library.
I then installed the rest of my environment which is correctly working
with Python 2.3
When I try to run one of my procedures I get the following error trying
to opening a common shelve file :
Mod_python error: "PythonHandler mod_python.publisher"
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/mod_python/apache.py",
line 299, in HandlerDispatch
result = object(req)
File "/usr/local/lib/python2.4/site-packages/mod_python/publisher.py",
line 136, in handler
result = util.apply_fs_data(object, req.form, req=req)
File "/usr/local/lib/python2.4/site-packages/mod_python/util.py", line
361, in apply_fs_data
return object(**args)
File "/discoe/script/cgi/cgi-mpy/cgi-mpy_login.py", line 116, in
controlla_login
dbase = shelve.open(file_AUTENTICAZIONE) #apre shelve
File "/usr/local/lib/python2.4/shelve.py", line 231, in open
return DbfilenameShelf(filename, flag, protocol, writeback, binary)
File "/usr/local/lib/python2.4/shelve.py", line 212, in __init__
Shelf.__init__(self, anydbm.open(filename, flag), protocol,
writeback, binary)
File "/usr/local/lib/python2.4/anydbm.py", line 83, in open
return mod.open(file, flag, mode)
File "/usr/local/lib/python2.4/dbhash.py", line 16, in open
return bsddb.hashopen(file, flag, mode)
File "/usr/local/lib/python2.4/bsddb/__init__.py", line 285, in
hashopen
e = _openDBEnv()
File "/usr/local/lib/python2.4/bsddb/__init__.py", line 339, in
_openDBEnv
e.open('.', db.DB_PRIVATE | db.DB_CREATE | db.DB_THREAD |
db.DB_INIT_LOCK | db.DB_INIT_MPOOL)
DBError: (156471272, 'Unknown error 156471272')
Any hint or suggestion is welcom
Thnx
Marco Cassiano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20050512/f5a9fa25/attachment.html>
More information about the Python-list
mailing list