[Dev] Eric3 Python IDE

Andi Vajda vajda at osafoundation.org
Thu Sep 1 23:06:34 PDT 2005


>  view = Utility.initRepository(repoDir, Globals.options)
> DBError: (-30974, "DB_VERSION_MISMATCH": Database environment version
> mismatch -- Program version 4.3 does not match environment version")

You're most likely trying to open a repository that contains 
Berkeley DB environment files (named __db.00?) that came from another machine 
or another operating system. When copying repositories from machine to 
machine, use 'Test -> Backup Repository' first, then only copy the files 
it created into an empty directory on the target machine.

Then start Chandler with -r pointing to the directory you copied these files 
into. This will restore these files into your __repository__ directory, 
after deleting all repository files in it.

If you're copying repository files from a machine with different endianness 
you also need to manually delete the log files (named log.*) as they are not 
portable in this case.

The actual data from your repository is in the files named __*.db and the 
DB_CONFIG file contains configuration parameters.

Andi..



More information about the Dev mailing list