View Single Post
Old 07-14-2010, 05:34 PM   #1
KindleHelpme
Junior Member
KindleHelpme began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2010
Device: Kindle 2
Help: Can not install

I get the following error when trying to install:

Corrupted database: Your calibre database appears to be corrupted. Do you want calibre to try and repair it automatically? 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 205, in initialize_db
File "site-packages\calibre\library\database2.py", line 132, in __init__
File "site-packages\calibre\library\database2.py", line 113, in connect
File "site-packages\calibre\library\database2.py", line 303, in initialize_database
File "site-packages\calibre\library\sqlite.py", line 193, in run
DatabaseException: table authors already exists
RemoteTraceback (most recent call last):
File "site-packages\calibre\library\sqlite.py", line 157, in run
OperationalError: table authors already exists

Then, I try and repair the DB, and this is what I get:

ERROR: Bad database location: Bad database location u'C:/Documents and Settings/XXX/My Documents/Calibre Library'. calibre will now quit.

Traceback (most recent call last):
File "site-packages\calibre\gui2\main.py", line 191, in initialize_db_stage2
File "site-packages\calibre\library\database2.py", line 132, in __init__
File "site-packages\calibre\library\database2.py", line 113, in connect
File "site-packages\calibre\library\database2.py", line 303, in initialize_database
File "site-packages\calibre\library\sqlite.py", line 193, in run
DatabaseException: table authors already exists
RemoteTraceback (most recent call last):
File "site-packages\calibre\library\sqlite.py", line 157, in run
OperationalError: table authors already exists

Please help. I've tried changing the folder many times, and none work and just state I have a corrupted DB. I then try to repair it, and it doesn't work.
KindleHelpme is offline   Reply With Quote