View Single Post
Old 07-20-2018, 08:58 AM   #1
Cook1e
Junior Member
Cook1e began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2018
Device: Kindle Paperwhite; Android
"Corrupted Database" Error after update to 3.28.0

Hi, I hope this is the right place to post. Calibre was working fine until I updated, following which I receive a "corrupted database" error and an option to rebuild the database (screenshots attached), which I tried and failed with the following error:

calibre, version 3.28.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 123, in run
File "site-packages\calibre\db\restore.py", line 239, in create_cc_metadata
File "site-packages\calibre\db\restore.py", line 29, in __init__
File "site-packages\calibre\db\backend.py", line 377, in __init__
File "site-packages\calibre\db\backend.py", line 1121, in fget
File "site-packages\calibre\db\backend.py", line 834, in conn
File "site-packages\calibre\db\backend.py", line 267, in __init__
CantOpenError: CantOpenError: unable to open database file


I restored the "Calibre Library" directory from my own backup, but the error persists.

Can anyone help? I really don't want to lose my book collection!

TIA
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	140
Size:	26.1 KB
ID:	165112   Click image for larger version

Name:	Capture1.JPG
Views:	151
Size:	46.3 KB
ID:	165113  
Cook1e is offline   Reply With Quote