01-07-2010, 10:15 PM | #1 |
Time Enough at Last
Posts: 387
Karma: 1151316
Join Date: Feb 2008
Location: New England
Device: iPad 3, iPhone 5, Kindle 3, Fire, Sony PRS-350
|
Bad Database Location on Install
Doing a virgin install on my laptop of 0.6.32 and getting a "Bad Database Error" on install. Calibre creates a "Calibre Library" folder under Documents and Settings\User, but also asks for the library location. Fails regardless of what I tell it. Install exits with various python-type error notifications. Also fails with 0.6.31. Also tried setting up various locations under the "Advanced" tab.
This is on an XP SP3 laptop on which Calibre has not been previously installed. Desktop computer is working fine with 0.6.32. Any ideas? |
01-07-2010, 10:35 PM | #2 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Create a folder called c:\library
Start calibre from the commmand line as calibre --with-library C:\library |
01-08-2010, 08:09 PM | #3 | |
Time Enough at Last
Posts: 387
Karma: 1151316
Join Date: Feb 2008
Location: New England
Device: iPad 3, iPhone 5, Kindle 3, Fire, Sony PRS-350
|
Quote:
Traceback (most recent call last): File "site-packages\calibre\gui2\main.py", line 424, in __init__ File "site-packages\calibre\library\database2.py", line 418, in __init__ File "site-packages\calibre\library\database2.py", line 405, in connect File "site-packages\calibre\library\database2.py", line 457, in initialize_database File "site-packages\calibre\library\sqlite.py", line 170, in run DatabaseException: unable to open database file RemoteTraceback (most recent call last): File "site-packages\calibre\library\sqlite.py", line 141, in run OperationalError: unable to open database file Similar install errors with 0.6.17 through 0.6.32. Obviously something to do with my laptop, which is maddening because I've got a very vanilla setup on it. The only other thing I can think of is that I'm using "Microsoft Security Essentials" for the first time. I'll disable it and try another install... |
|
01-08-2010, 08:31 PM | #4 |
Time Enough at Last
Posts: 387
Karma: 1151316
Join Date: Feb 2008
Location: New England
Device: iPad 3, iPhone 5, Kindle 3, Fire, Sony PRS-350
|
Yep, Microsoft Security Essentials was the problem. Disable it for the initial installation, and subsequent installations will go well.
Now, back to Calibre!!! |
03-31-2010, 07:48 AM | #5 |
Member
Posts: 13
Karma: 10
Join Date: Mar 2010
Device: kindle 2
|
I use Win Vista and it wont allow me to creat a folder with this command
I have tried several times to install and everytime get a bad database message. I have uninstalled and reinstalled. still the same thoughts? |
03-31-2010, 08:24 AM | #6 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
|
|
03-31-2010, 01:40 PM | #7 |
Member
Posts: 13
Karma: 10
Join Date: Mar 2010
Device: kindle 2
|
I will try that.
Last edited by tobarefeet; 03-31-2010 at 01:41 PM. Reason: change of mind. |
03-31-2010, 06:28 PM | #8 |
Member
Posts: 13
Karma: 10
Join Date: Mar 2010
Device: kindle 2
|
I tried a fresh install with anti-virus off and still the same bad location while trying to create a book location. I plugged in my kindle at one point and saw the kindle show up on calibre, which was a tease since I could do nothing because of the error message. I
I dont know where to go from here? |
03-31-2010, 08:10 PM | #9 | ||
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Quote:
Good Luck. |
||
03-31-2010, 08:53 PM | #10 |
Member
Posts: 13
Karma: 10
Join Date: Mar 2010
Device: kindle 2
|
Did all of the above. Still get a bad database right from the start.
below is the error log 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 |
03-31-2010, 09:38 PM | #11 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Have you created a directory c:\library as Kovid suggested? After he suggested that, you wrote: "I use Win Vista and it wont allow me to create a folder with this command." He didn't give you any command to make a folder. Do you know how to make an empty folder? If you've made that folder, is there anything in it? Kovid wanted you to start by making an empty folder c:\library, then he wanted you to start up Calibre from the command line with: calibre --with-library C:\library Have you done that? Do you need help with those steps? I use Win Vista and will walk you through it if you explain your problems. |
|
04-01-2010, 06:21 AM | #12 |
Member
Posts: 13
Karma: 10
Join Date: Mar 2010
Device: kindle 2
|
Thanks for the offer. Every time I create a new folder in documents I get an error message saying can't use the characters :\ in the name. I've looked in Microsoft forums as well on that issue.
|
04-01-2010, 06:43 AM | #13 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
THe C: part means on the C drive, and the \ means that a folder name follows. Therefore the suggested example was to create a folder called Library on the base of the C drive.
|
04-01-2010, 07:58 AM | #14 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Read itimpi's message above. Then make the Library folder on the root of the C drive. (It doesn't matter if you capitalize the name.) Let us know if you have trouble with that step. Once you have that folder, we can help you with the next step.
|
04-01-2010, 09:10 AM | #15 |
Member
Posts: 13
Karma: 10
Join Date: Mar 2010
Device: kindle 2
|
Okay, I tried again, created library folder. Still got the bad database using my PC with Vista. Then I thought about my new laptop with Windows 7.
I downloaded Calibre to my laptop. It loaded right away with no problems!!! I was very excited. There was the Calibre quick start guide. So I plugged my Kindle into the laptop and was able to move the Quick Start guide to my Kindle. On Kindle it looks exactly like the books I have bought from Amazon. I'm so frigging happy after 2 very frustrating days spending about 5 hrs on Vista. There must have been a conflict going on with my PC. I haven't tried to move the LRF books yet from laptop to Kindle, but I'm assuming that since the Quick Start guide went through that those books will as well. After work today I'll try it and post the results. Thanks so much for the attempts at helping this noob to the e-book world. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre won't open after install -- ERROR: Bad database location | htbyron | Calibre | 3 | 06-17-2010 10:43 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 and python | tobarefeet | Calibre | 1 | 03-31-2010 01:55 PM |
Bad Database Location | Anggun | Calibre | 1 | 12-25-2008 02:17 AM |