View Single Post
Old 03-13-2010, 01:31 PM   #5
tac11tac
Junior Member
tac11tac began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2010
Device: Kindle 2
Successfully installed v 0.6.45 of Calibre
I chose to NOT automatically run it.
First run...
Error: Bad Database Location C:\eBooks
ERROR: Bad database location: Bad database location:C:\eBooks

Traceback (most recent call last):
File "site-packages\calibre\gui2\ui.py", line 472, in __init__
File "site-packages\calibre\library\database2.py", line 470, in __init__
File "site-packages\calibre\library\database2.py", line 514, in upgrade_version_1
File "site-packages\calibre\library\sqlite.py", line 152, in run
DatabaseException: no such index: series_idx
RemoteTraceback (most recent call last):
File "site-packages\calibre\library\sqlite.py", line 116, in run
OperationalError: no such index: series_idx

It then opens a directory browser window and asks "Choose a location for your ebook library." Default is C:\Documents and Settings\TuringSMI\Calibre Library

I opened a directory window on C:\eBooks and tried to delete the metadata.db file. It is in use by the calibre.exe process. I attempted to use the C:\eBooks directory again and received the same error. When I hit ok on the error, it closed Calibre.

I then removed the metadata.db file from C:\eBooks.

Started Calibre again and received a different error message.
ERROR: Bad database location: Bad database location:C:\eBooks

Traceback (most recent call last):
File "site-packages\calibre\gui2\ui.py", line 472, in __init__
File "site-packages\calibre\library\database2.py", line 460, in __init__
File "site-packages\calibre\library\database2.py", line 447, in connect
File "site-packages\calibre\library\database2.py", line 501, in initialize_database
File "site-packages\calibre\library\sqlite.py", line 152, in run
DatabaseException: table authors already exists
RemoteTraceback (most recent call last):
File "site-packages\calibre\library\sqlite.py", line 116, in run
OperationalError: table authors already exists

Hit OK on the error message.
It prompted for the default location C:\Documents and Settings\TuringSMI\Calibre Library.
Hit OK on the prompt...

AND IT WORKED!

That had previously failed.

I now have a metadata.db in C:\...\Calibre Library and one book by John Schember.

I've no idea what made the difference. The program currently has a file handle on both of the metadata.db files.

Closed Calibre.

File handles were released.

Opened Calibre... clean start with one file handle on the metadata.db in C:\...\Calibre Library.

Thanks for the attention.... If you understand why it originally failed, post your thoughts. Others will benefit.

Cheers.

Todd
tac11tac is offline   Reply With Quote