[spambayes-dev] DBRunRecoveryError

Tim Peters tim.one at comcast.net
Mon Jul 21 19:58:11 EDT 2003


[Tim]
> ...
> For Barry's info, I still saw
>
>   File "C:\Code\python\lib\bsddb\__init__.py", line 90, in
> __setitem__     self.db[key] = value bsddb._db.DBRunRecoveryError:
> (-30982, 'DB_RUNRECOVERY: Fatal error, run database recovery -- fatal
> region error detected; run recovery')
>
> after changing the line above to
>
>     db = bsddb.hashopen(DB_FILENAME, "c", bsddb.db.DB_THREAD)
>                                           ^^^^^^^^^^^^^^^^^^
>

Except that isn't a correct way to call hashopen.  AFAICT, though,
hashopen() *always* sets DB_THREAD in its internals.  So this remains a
mystery.  Or two, or three.




More information about the spambayes-dev mailing list