View Single Post
Old 05-15-2017, 03:26 AM   #1
Geta
Junior Member
Geta began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2017
Device: Kobo Glo HD
Corrupted library won't restore

Hi all. I have a sizeable library that I've been slowly organising.

It's stored on an external HDD along with Calibre Portable.

Recently I noticed a bunch of strange looking folders with garbled names on the hard drive, and without thinking I deleted them. (I know, I know)

Next time I loaded Calibre it told me the database was corrupt, and it took a good few hours to go through the repair process and then failed. I've tried to restore the deleted folders but with no luck.



This is the error message:

calibre, version 2.83.0
ERROR: Failed to repair library: Restoring database failed, click Show details to see details

Traceback (most recent call last):
File "site-packages\calibre\db\restore.py", line 127, in run
File "site-packages\calibre\db\restore.py", line 280, in replace_db
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: u'E:\\eBooks\\metadata.db'


I'd greatly appreciate any help in getting it sorted. I thought I may just create a whole new library, but when doing a test run on one author the metadata was all over the place (some swapped author/titles, missing metadata and covers etc) so it seems Calibre hasn't been updating the files themselves as I'd hoped, and if I re import the whole library I will lose all of my work in cleaning it up.

Thanks
Geta is offline   Reply With Quote