06-16-2010, 10:24 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2010
Device: Nook
|
Calibre won't open after install -- ERROR: Bad database location
I have tried multiple times now to install Calibre on my desktop computer (Win XP Home SP3). I tried both versions 0.7.2 and 0.7.1, fully uninstalling each time before trying to reinstall from a clean download of the installer. Every time I get the following error:
ERROR: Bad database location Here are the details: ERROR: Bad database location: Bad database location u'E:/My Documents/Calibre Library'. calibre will now quit. It looks like the Calibre installer is inserting the letter "u" before the pathname, but maybe that's just how the error code generates. Traceback (most recent call last): File "site-packages\calibre\gui2\main.py", line 183, in initialize_db_stage2 File "site-packages\calibre\library\database2.py", line 128, in __init__ File "site-packages\calibre\library\schema_upgrades.py", line 20, in __init__ File "site-packages\calibre\library\schema_upgrades.py", line 50, in upgrade_version_2 File "site-packages\calibre\library\sqlite.py", line 184, in run DatabaseException: trigger fkc_delete_on_authors already exists RemoteTraceback (most recent call last): File "site-packages\calibre\library\sqlite.py", line 148, in run OperationalError: trigger fkc_delete_on_authors already exists I have admin rights on my system, I am the only user. I am about to give up on this software, but it has gotten such good reviews from others. Has anyone else had this problem? Any suggestions? |
06-16-2010, 11:30 PM | #2 | |||
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Quote:
Quote:
|
|||
Advert | |
|
06-17-2010, 01:56 AM | #3 | |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
Does the folder named exist? If so are the permissions set to allow full access? If it does exist and you have not used calibre before is that folder empty (in case you have a corrupt metadata.db database file there from an earlier failed attempt). Note that uninstalling Calibre does not remove any Calibre settings. The fact that drive 'E:' is mentioned in the error message you quoted suggests that there are stored default settings from an earlier attempt. If you want to remove these as well and start with the default initial settings then you need to find the 'calibre' folder under your user profile and remove that as well. |
|
06-17-2010, 10:43 AM | #4 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2010
Device: Nook
|
Thanks, guys. Very helpful. The command line fix worked. And once open, I was able to move the database to my E: drive where I keep all my data. All seems well now. I appreciate the quick responses and helpful suggestions (I had seen the FAQ but not the command line suggestion, and I realized that defaulting to the E: drive folder meant something was persisting in the settings, but I couldn't figure out what to do about it).
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bad Database Location on Install | Timoleon | Calibre | 23 | 02-23-2011 02:35 AM |
Calibre 7.7 cant open database | Patricia1066 | Calibre | 17 | 07-05-2010 10:23 AM |
Bad database location | southcot | Calibre | 2 | 05-05-2010 07:37 AM |
Getting Bad Database Error | oak | Calibre | 4 | 04-06-2010 07:10 AM |
Bad Database Location | Anggun | Calibre | 1 | 12-25-2008 02:17 AM |