View Single Post
Old 06-19-2015, 04:44 PM   #1
adrenaline
Enthusiast
adrenaline solves Fermat’s last theorem while doing the crossword.adrenaline solves Fermat’s last theorem while doing the crossword.adrenaline solves Fermat’s last theorem while doing the crossword.adrenaline solves Fermat’s last theorem while doing the crossword.adrenaline solves Fermat’s last theorem while doing the crossword.adrenaline solves Fermat’s last theorem while doing the crossword.adrenaline solves Fermat’s last theorem while doing the crossword.adrenaline solves Fermat’s last theorem while doing the crossword.adrenaline solves Fermat’s last theorem while doing the crossword.adrenaline solves Fermat’s last theorem while doing the crossword.adrenaline solves Fermat’s last theorem while doing the crossword.
 
Posts: 43
Karma: 28554
Join Date: Mar 2013
Device: Kindle Keyboard, KPW2
Unhappy Calibre Library appears to be corrupted

Hello everyone,

My Windows 7 computer (running a 250GB SSD) crashed for some reason and after a restart, Calibre throws up this message on opening:

Code:
calibre, version 2.26.0
Corrupted database: The library database at C:\Users\John\Documents\Calibre Library appears to be corrupted. Do you want calibre to try and rebuild it automatically? The rebuild may not be completely successful. If you say No, a new empty calibre library will be created.

Traceback (most recent call last):
  File "site-packages\calibre\gui2\main.py", line 278, in initialize_db
  File "site-packages\calibre\db\legacy.py", line 70, in __init__
  File "site-packages\calibre\db\legacy.py", line 44, in create_backend
  File "site-packages\calibre\db\backend.py", line 354, in __init__
  File "site-packages\calibre\db\backend.py", line 1077, in fget
  File "site-packages\calibre\db\backend.py", line 795, in conn
  File "site-packages\calibre\db\backend.py", line 253, in __init__
  File "site-packages\calibre\db\backend.py", line 297, in execute
  File "c:\cygwin64\home\kovid\sw\build\apsw-3.8.2-r1\src\cursor.c", line 990, in APSWCursor_execute.sqlite3_prepare
  File "c:\cygwin64\home\kovid\sw\build\apsw-3.8.2-r1\src\statementcache.c", line 386, in sqlite3_prepare
CorruptError: CorruptError: database disk image is malformed
I saw a couple of different ways but prefer to ask you guys for the most viable option since there's no way back if I mess it up further.

Many thanks for your time in advance.

Last edited by adrenaline; 06-19-2015 at 04:57 PM.
adrenaline is offline   Reply With Quote