10-06-2008, 10:38 AM | #1 |
Addict
Posts: 223
Karma: 356
Join Date: Aug 2007
Device: Rocket; Hiebook; N700; Sony 505; Kindle DX ...
|
0.4.91 problem
after installing 0.4.91 (binary version) I find I'm unable to open the configuration window:
Code:
Traceback (most recent call last): File "<string>", line 1011, in do_config File "library.pyz/calibre.gui2.dialogs.config", line 74, in __init__ KeyError: 'C' alessandro |
10-06-2008, 12:52 PM | #2 |
creator of calibre
Posts: 44,542
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Try setting your LC_ALL environment variable to something other than C. For example in bash:
Code:
LC_ALL=en_US.UTF-8 |
Advert | |
|
10-07-2008, 05:23 AM | #3 |
Addict
Posts: 223
Karma: 356
Join Date: Aug 2007
Device: Rocket; Hiebook; N700; Sony 505; Kindle DX ...
|
I tried
export LC_ALL=en_US.UTF-8; calibre but the error remains the same... alessandro |
10-07-2008, 05:37 AM | #4 |
Addict
Posts: 223
Karma: 356
Join Date: Aug 2007
Device: Rocket; Hiebook; N700; Sony 505; Kindle DX ...
|
update:
I updated to 0.4.92 and the problem disappeared, but: at the start calibre prompted me (again) about the new database format, the need to choose a store directory etc, even if I already did it in the previous install. I opted for the previously chosen directory, and it died with: Code:
Traceback (most recent call last): File "<string>", line 1271, in <module> File "<string>", line 1261, in main File "<string>", line 236, in __init__ File "library.pyz/calibre.library.database2", line 1012, in migrate_old sqlite3.IntegrityError: PRIMARY KEY must be unique But, I was surprised that it was able anyway to restore the few books I had in the library. So probably the probem is that when it changes to the new format (since v0.4 I guess) it copies the old content but not deletes it from where it was stored before (I dont know where). When doing an upgrade it finds it again, and tries to add to an already existing database... at least I think it may be so alessandro |
10-07-2008, 12:55 PM | #5 |
creator of calibre
Posts: 44,542
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah, it doesn't delete your original database. If you want to delete it, delete the file library1.db
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Not sure what the problem is... | damnyankeeuk | Reading and Management | 9 | 01-12-2010 11:44 AM |
PRS-500 battery problem, but the battery's not the problem | ZachC | Sony Reader | 7 | 01-12-2010 12:46 AM |
Calibré problem (may be XP problem) | Hildebrandt | Calibre | 3 | 07-23-2009 03:04 PM |
A possible problem? | Frogsmasha | Sony Reader | 10 | 10-02-2006 10:00 PM |