View Single Post
Old 08-02-2012, 09:06 PM   #1
mwerth1
Junior Member
mwerth1 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2012
Device: Kindle, Motorola Xoom
Database corrupt

I have searched the forum, tried all the tricks, un-installed Calibre and re-installed it. It's funny that on a clean install it still remembers where the database was located with the previous install. This implies that it doesn't un-install completely.

Regardless, when I start Calibre I get this in the Show Details:

Traceback (most recent call last):
File "site-packages\calibre\gui2\main.py", line 190, in initialize_db
File "site-packages\calibre\library\database2.py", line 228, in __init__
File "site-packages\calibre\library\database2.py", line 331, in initialize_dynamic
File "site-packages\calibre\library\database2.py", line 548, in refresh_format_cache
File "site-packages\calibre\library\sqlite.py", line 314, in run
DatabaseException: database disk image is malformed
RemoteTraceback (most recent call last):
File "site-packages\calibre\library\sqlite.py", line 271, in run
File "site-packages\calibre\library\sqlite.py", line 172, in get
DatabaseError: database disk image is malformed

If I try to create the database in a new location by clicking on the "No" button, I still get an error:
Traceback (most recent call last):
File "site-packages\calibre\gui2\main.py", line 177, in initialize_db_stage2
File "site-packages\calibre\library\database2.py", line 228, in __init__
File "site-packages\calibre\library\database2.py", line 331, in initialize_dynamic
File "site-packages\calibre\library\database2.py", line 548, in refresh_format_cache
File "site-packages\calibre\library\sqlite.py", line 314, in run
DatabaseException: database disk image is malformed
RemoteTraceback (most recent call last):
File "site-packages\calibre\library\sqlite.py", line 271, in run
File "site-packages\calibre\library\sqlite.py", line 172, in get
DatabaseError: database disk image is malformed

The database and library are located on a network drive. Attempts to move the database to a local drive have also failed.

Any suggestions?
mwerth1 is offline   Reply With Quote