View Single Post
Old 05-03-2021, 03:10 AM   #1
alumoi
Enthusiast
alumoi began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Jan 2012
Device: kindle
Problem with recovery

After a power surge I got a corrupted metadata.db.
Trying the recovery got me the following error:

Traceback (most recent call last):
File "calibre\db\restore.py", line 281, in replace_db
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'E:\\recovery\\metadata.db' -> 'E:\\recovery\\metadata_pre_restore.db'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\db\restore.py", line 129, in run
File "calibre\db\restore.py", line 285, in replace_db
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'E:\\recovery\\metadata.db'

OS is Windows 10. No other operations in progress on the library folder. Any ideas?
alumoi is offline   Reply With Quote