Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-06-2008, 09:38 AM   #1
alexxxm
Addict
alexxxm has a complete set of Star Wars action figures.alexxxm has a complete set of Star Wars action figures.alexxxm has a complete set of Star Wars action figures.alexxxm has a complete set of Star Wars action figures.
 
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
alexxxm is offline   Reply With Quote
Old 10-06-2008, 11:52 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,835
Karma: 22666666
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
kovidgoyal is offline   Reply With Quote
Advert
Old 10-07-2008, 04:23 AM   #3
alexxxm
Addict
alexxxm has a complete set of Star Wars action figures.alexxxm has a complete set of Star Wars action figures.alexxxm has a complete set of Star Wars action figures.alexxxm has a complete set of Star Wars action figures.
 
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
alexxxm is offline   Reply With Quote
Old 10-07-2008, 04:37 AM   #4
alexxxm
Addict
alexxxm has a complete set of Star Wars action figures.alexxxm has a complete set of Star Wars action figures.alexxxm has a complete set of Star Wars action figures.alexxxm has a complete set of Star Wars action figures.
 
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
I tried deleting the content of this directory (I don't care, all my books are stored as html/rtf/... elsewhere) and it started OK.
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
alexxxm is offline   Reply With Quote
Old 10-07-2008, 11:55 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,835
Karma: 22666666
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
kovidgoyal is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not sure what the problem is... damnyankeeuk Reading and Management 9 01-12-2010 10:44 AM
PRS-500 battery problem, but the battery's not the problem ZachC Sony Reader 7 01-11-2010 11:46 PM
Calibré problem (may be XP problem) Hildebrandt Calibre 3 07-23-2009 02:04 PM
A possible problem? Frogsmasha Sony Reader 10 10-02-2006 09:00 PM


All times are GMT -4. The time now is 06:18 AM.


MobileRead.com is a privately owned, operated and funded community.