|
|
#1 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
SOLVED: Problems running calibre 0.4.56 on Windows
Interestingly enough I had the same problem on my Mac last week. When I try to run calibre on Windows I get a nice hour glass and then nothing. I don't even know how to troubleshoot this on Windows. I have re-started and re-installed but no luck.
Also, does anyone know of a good sqlllite browser/explorer for Windows? I want to get to the database for calibre outside the program. Thanks! Last edited by astrodad; 05-22-2008 at 10:46 AM. |
|
|
|
|
|
#2 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
I found an easy to use browser here: http://sqlitebrowser.sourceforge.net/
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
I tried completely uninstalling and re-installing, with a reboot in between (aka universal windows cure) and it still doesn't work. weird.
|
|
|
|
|
|
#4 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
Found the log:
Traceback (most recent call last): File "main.py", line 1094, in <module> File "main.py", line 1083, in main File "main.py", line 179, in __init__ File "calibre\gui2\library.pyo", line 446, in set_database File "calibre\gui2\library.pyo", line 113, in set_database File "calibre\library\database.pyo", line 807, in __init__ File "calibre\library\database.pyo", line 75, in _connect sqlite3.OperationalError: unable to open database file Traceback (most recent call last): File "calibre\gui2\jobs.pyo", line 279, in headerData TypeError: 'NoneType' object is not callable Traceback (most recent call last): File "calibre\gui2\jobs.pyo", line 280, in headerData TypeError: 'NoneType' object is not callable Traceback (most recent call last): File "calibre\gui2\jobs.pyo", line 281, in headerData TypeError: 'NoneType' object is not callable Traceback (most recent call last): File "calibre\gui2\jobs.pyo", line 282, in headerData TypeError: 'NoneType' object is not callable Traceback (most recent call last): File "calibre\gui2\jobs.pyo", line 279, in headerData TypeError: 'NoneType' object is not callable Traceback (most recent call last): File "calibre\gui2\jobs.pyo", line 280, in headerData TypeError: 'NoneType' object is not callable Traceback (most recent call last): File "calibre\gui2\jobs.pyo", line 281, in headerData TypeError: 'NoneType' object is not callable Traceback (most recent call last): File "calibre\gui2\jobs.pyo", line 282, in headerData TypeError: 'NoneType' object is not callable Looks like my database got corrupted somehow. Thing is, I can open it in an SQLite database browser just fine. I moved the file, got the same error. I uninstalled, rebooted, and re-installed, but now there is not a library1.db anywhere! Can anyone send me or post a "clean" database file? |
|
|
|
|
|
#5 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If there is no library1.db file on your system it should get automatically recreated. I would suggest doing a find files to make sure there is no library1.db
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
Well there was a backup copy in a folder on a different drive. I copied it over (I think it was from 0.4.51) in the Documents and Settings folder (which I think is the default) and I got the exact same error.
|
|
|
|
|
|
#7 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
How big is library1.db?
|
|
|
|
|
|
#8 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
444 KB
|
|
|
|
|
|
#9 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Then can you attach it here or to a ticket so I can debug
|
|
|
|
|
|
#10 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
Here it is.
|
|
|
|
|
|
#11 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It works for me. I'm guessing its a permissions problem. Check that you have write access to library1.db and the folder it is in.
|
|
|
|
|
|
#12 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
Yeah that looks fine to me. I am running under the user Admin on my system and it's located in the c:\documents and settings\admin folder.
Is that the default location in the settings? Is there a way to check what the setting is on my system without opening the app? |
|
|
|
|
|
#13 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
Well I am completely stuck now. I have tried uninstalling, rebooting, and then installing a older version: no luck. In fact, on the re-install there's not even a library1.db file at all. It doesn't create one. Putting in my backup fails with the same error. I will try installing it as a different user.
|
|
|
|
|
|
#14 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm perhaps you can try deleting the settings. Unfortunately, depending on your version of windows and the upgrade history of calibre, they could be in a couple of different places, one of them being the registry.
|
|
|
|
|
|
#15 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
Well that was weird. I installed the app as a new user and it works fine. I checked perms on the old user and they are fine. That's really bizarre.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A Howto: Running Calibre Content server on Windows Startup | sherman | Calibre | 26 | 02-17-2019 11:37 PM |
| problems running Calibre on FreeBSD | kacir | Calibre | 5 | 10-22-2009 03:24 AM |
| Getting SSH running under Windows XP?? | slayda | OpenInkpot | 9 | 09-25-2009 05:30 AM |
| Observations/problems running Calibre under OS X | garygibsonsf | Calibre | 17 | 07-26-2008 12:03 AM |
| Problems running calibre on Windows XP | maccow | Calibre | 2 | 06-05-2008 02:35 PM |