bsddb

M

Marc Jeurissen

Hi all,

I have a small web application (Pandion) wich uses the bsddb package on
Windows XP.
Since Python 2.5 I get an error when accessing the database.

Code snippet:

from bsddb import db
from Pandion.system import registry

Database.__dbEnv = db.DBEnv()
Database.__dbEnv.open(registry.pandion_database_dir,db.DB_INIT_TXN|db.DB_CRE
ATE|db.DB_INIT_MPOOL|db.DB_INIT_LOCK|db.DB_INIT_LOG|db.DB_THREAD)


Error:

"DB_VERSION_MISMATCH: Database environment version mismatch -- Program
version 4.4 doesn't match environment version 186187776.0"
DBError: -30971


Anyone an idea?

Thanks in advance


Marc Jeurissen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,201
Latest member
KourtneyBe

Latest Threads

Top