I rename dthe latest dated metadata.db to metadata.db
I did not have a metadata_db_prefs_backup, but I renamed "metadata_db_prefs_backup.json"] to "metadata_db_prefs_backup", although I was pretty sure that would fail.
Well, the rebuild failed (I used Switch/create library). This was the message.
calibre, version 3.42.0
ERROR: Failed to repair library: Restoring database failed, click Show details to see details (the metadata.db file appears untouched. There is a new metadata_db_prefs_backup.json containing only 14KB).
Traceback (most recent call last):
File "site-packages\calibre\db\restore.py", line 128, in run
File "site-packages\calibre\db\restore.py", line 281, in replace_db
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: u'E:\\LIBRARY\\metadata.db'
Any advice on next step? I appear to have my original library, a metadata.db file of some 14MB. Could I create a new Calibre library by exporting the data] to a new Library 2 file?
thanks rob
|