bsddb3.db.DBRunRecoveryError

1.7k Views Asked by At

I am using Python 2.7.2 and the bsddb3 module

I am just simple checking if the db contains an element, and if not then add it

For specific keys when I do a .get(hashkey) , then I receive this error message:

bsddb3.db.DBRunRecoveryError: (-30975, 'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: fatal region error detected; run recovery')

the hashkey, which is an md5 is not special, looks similar to the ones which does not cause this problem

did anyone met with this before?

(Debian 6)

thanks

1

There are 1 best solutions below

1
On

Your database is corrupt. Try the Berkeley DB recovery procedures on the file as the error message recommends.