Reputation: 169
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
Upvotes: 2
Views: 1792
Reputation: 363547
Your database is corrupt. Try the Berkeley DB recovery procedures on the file as the error message recommends.
Upvotes: 1