Thread: 0.4.91 problem
View Single Post
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