0

I am using Python, BerkeleyDB and bsddb3 lib for an script which store many informations. After use the same environment while months I get the following error :

bsddb3.db.DBNoSuchFileError

But I have many files in my environment. I don't know which file BerkeleyDB wants to open.

I tried db_recover but it doesn't work. Do you have any idea to find the missing file searched by BerkeleyDB ?

Samuel Dauzon
  • 10,744
  • 13
  • 61
  • 94
  • can you provide the full traceback please? – amirouche Aug 21 '15 at 17:57
  • Yes : CRITICAL     15:43:20     0d 0h 44m 21s     3/3     CRITICAL : [1586] - error : (2, 'No such file or directory') – Samuel Dauzon Sep 01 '15 at 14:01
  • look if there is no leap in db files number. It might be that a file was corrupted and sweaped by the OS. – amirouche Sep 01 '15 at 15:25
  • Thank you, but my filenames don't increment. The files had generated by a script and there no way to detect a deletion. A BerkeleyDb can't give me the list of files which it tried to open ? – Samuel Dauzon Sep 01 '15 at 15:48
  • My recommendation is to ask on the mailling list: https://mailman.jcea.es/pipermail/pybsddb/ – amirouche Sep 01 '15 at 17:30

0 Answers0