Sleepycat Bsdbd 4.3.27 and Python 2.4.1

Skip Montanaro skip at pobox.com
Thu May 12 10:55:45 EDT 2005


    Marco> I've just compiled Python 2.4.1 on a linux box (RHEL 3AS) after
    Marco> having installed Berkeley DB 4.3.27 from sleepycat Software.
    Marco> During the configure/build process python correctly found the
    Marco> BSBDB library.

    ...

    Marco>   File "/usr/local/lib/python2.4/bsddb/__init__.py", line 339, in _openDBEnv
    Marco>     e.open('.', db.DB_PRIVATE | db.DB_CREATE | db.DB_THREAD | db.DB_INIT_LOCK | db.DB_INIT_MPOOL)
    Marco> DBError: (156471272, 'Unknown error 156471272')

    Marco> Any hint or suggestion is welcom

Was your shelve file created with an earlier version of Berkeley DB?  If so,
you probably have to update the file so it can be read by the new version.
As part of the Berkeley DB install/upgrade you should probably have a
db_upgrade command.  Check it out.

Skip



More information about the Python-list mailing list