03-11-2010, 11:50 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2010
Device: Kindle 2
|
First time install issues....
I saw several different threads that referenced some of the issues, but nothing that seems to solve the problem.
Here is the debug log. Thanks for the help. C:\Documents and Settings\TuringSMI>calibre-debug -g link hasn't been detected! link hasn't been detected! Upgrading database to version 2... Traceback (most recent call last): File "site-packages\calibre\library\sqlite.py", line 116, in run OperationalError: unable to open database file Python function terminated unexpectedly 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 (Error Code: 1) Traceback (most recent call last): File "site.py", line 103, in main File "site.py", line 85, in run_entry_point File "site-packages\calibre\debug.py", line 102, in main File "site-packages\calibre\gui2\main.py", line 139, in main File "site-packages\calibre\gui2\main.py", line 55, in run_gui File "site-packages\calibre\gui2\ui.py", line 495, 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 calibre.library.sqlite.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 Exception in thread Thread-7 (most likely raised during interpreter shutdown):Ex ception in thread Thread-3 (most likely raised during interpreter shutdown): Traceback (most recent call last): Traceback (most recent call last): File "threading.py", line 525, in __bootstrap_inner File "site-packages\calibre\utils\ipc\server.py", line 167, in run File "threading.py", line 525, in __bootstrap_inner File "Queue.py", line 177 , in get File "site-packages\calibre\utils\ipc\server.py", line 167, in run File "Queue.py", line 177, in get File "threading.py", line 252, in wait File "threading.py", line 252, in wait <type 'exceptions.TypeError'>: 'NoneType' object is not callable <type 'exceptions.TypeError'>: 'NoneType' object is not callable C:\Documents and Settings\TuringSMI> |
03-12-2010, 12:26 AM | #2 |
Enthusiast
Posts: 28
Karma: 14
Join Date: Apr 2009
Location: Long Island, NY
Device: Kindle/Kindle PC/Kindle BB
|
Which version of Windows are you using? You may have to install using admin rights.
|
Advert | |
|
03-12-2010, 08:50 AM | #3 |
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
First thing to try is to run calibre ina command prompt as
calibre --with-library c:\path\to\library\folder make \path\to\library\folder something very simple like c:\library (and make sure the folder exists) |
03-12-2010, 12:35 PM | #4 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2010
Device: Kindle 2
|
Windows XP Pro 2002 Service Pack 3
I am an administrator. Using a new empty directory 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 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 It does create a 64k metadata.db in the C:\eBooks directory. I did get a prompt for a new version... I will upgrade by removing completely, then install the new and see if that helps. I do remember an issue on the install, but I believe it was the table already exists error. I'll let you know the results. Cheers. Todd |
03-13-2010, 01:31 PM | #5 |
Junior Member
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 |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Charging Issues and Screen Issues | srj321 | Sony Reader | 2 | 07-11-2010 11:52 PM |
PRS-900 Sony Digital Edition Library Install, and Install, ... | Hamlet53 | Sony Reader | 3 | 04-05-2010 03:29 PM |
I broke calibre at install time -- recovered | allan_vancouver | Calibre | 0 | 01-13-2010 04:59 PM |
calibre install issues | NourieNour | Calibre | 2 | 06-07-2009 06:30 PM |
Issues with leaving Cybook on all the time? | MaggieScratch | Bookeen | 9 | 02-21-2008 10:22 PM |