Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-16-2015, 05:27 AM   #1
josdb
Junior Member
josdb began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2015
Device: Sony
Updates 2.20 and higher don't work!!!

All updates from version 2.20 upwards don't work. I get the following message (both for the 23-bit and the 64-bit version):

calibre, version 2.21.0
FOUT: Opstartfout: Er is een fout opgetreden bij het starten van calibre. delen van calibre functioneren mogelijk niet. Klik "Toon details" voor meer informatie.

Traceback (most recent call last):
File "site-packages\calibre\gui2\main.py", line 245, in initialize_db_stage2
File "site-packages\calibre\gui2\main.py", line 182, in start_gui
File "site-packages\calibre\gui2\ui.py", line 362, in initialize
File "site-packages\calibre\gui2\tag_browser\ui.py", line 33, in init_tag_browser_mixin
File "site-packages\calibre\gui2\tag_browser\view.py", line 181, in set_database
File "site-packages\calibre\gui2\tag_browser\model.py", line 282, in set_database
File "site-packages\calibre\db\backend.py", line 126, in set
File "site-packages\calibre\db\backend.py", line 115, in __setitem__
File "site-packages\calibre\db\backend.py", line 804, in execute
File "c:\cygwin64\home\kovid\sw\build\apsw-3.8.2-r1\src\cursor.c", line 231, in resetcursor
CorruptError: CorruptError: database disk image is malformed

If I downgrade to version 2.19, everything is fine!!!

Moderator Notice
Moved into its own thread - the thread in which it was posted was related to calibre s/w downloads and ISPs

Last edited by BetterRed; 03-16-2015 at 06:49 AM.
josdb is offline   Reply With Quote
Old 03-16-2015, 07:01 AM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@josdb - At a guess I'd say something has gone awry with the file gui.json

Open configuration folder via Preferences->Miscellaneous and click Open configuration directory
  1. Close calibre.
  2. Rename the file gui.json to save_gui.json
  3. Try starting calibre 2.20 or 21
  4. If it works my guess was right, otherwise delete the gui.json and rename save_gui.json back to gui.json
Let us know what happens - if my guess was wrong someone else will have some other suggestions.

BR
BetterRed is offline   Reply With Quote
Advert
Old 03-16-2015, 07:36 AM   #3
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: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That indicates your metadata.db is corrupted. The corruption is just not being encountered by older versions of calibre. You can fix it by following the instructions I gave in this thread:

https://www.mobileread.com/forums/sho...d.php?t=257215
kovidgoyal is offline   Reply With Quote
Old 03-16-2015, 10:35 AM   #4
josdb
Junior Member
josdb began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2015
Device: Sony
contraint error

Quote:
Originally Posted by kovidgoyal View Post
That indicates your metadata.db is corrupted. The corruption is just not being encountered by older versions of calibre. You can fix it by following the instructions I gave in this thread:

https://www.mobileread.com/forums/sho...d.php?t=257215
I did that and everything seems to be restored, but I got the following message:

calibre, version 2.21.0
WAARSCHUWING: Gelukt: Herstel van de database is gelukt met enkele waarschuwingen. Klik Toon details voor meer informatie. De oude database is opgeslagen als: C:\Users\user\Documents\MEGA\Calibrebibliotheek\me tadata_pre_restore.db

Failed to restore the books in the following folders:
C:\Users\user\Documents\MEGA\Calibrebibliotheek\Sp ufford_ Francis\Red Plenty (74) with error:
Traceback (most recent call last):
File "site-packages\calibre\db\restore.py", line 253, in restore_books
File "site-packages\calibre\db\cache.py", line 57, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 1975, in restore_book
File "site-packages\calibre\db\cache.py", line 1483, in create_book_entry
File "site-packages\calibre\db\backend.py", line 804, in execute
File "c:\cygwin64\home\kovid\sw\build\apsw-3.8.2-r1\src\cursor.c", line 231, in resetcursor
ConstraintError: ConstraintError: UNIQUE constraint failed: books.id
josdb is offline   Reply With Quote
Old 03-16-2015, 04:24 PM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
That means you had a duplicate book. (It had the same id # as another book, probably duplicated by a move-with-file-lock. Sync programs, e.g. cloud storage, can do that.)

See Library Maintenance ==> Check Library.

Last edited by eschwartz; 03-16-2015 at 04:27 PM.
eschwartz is offline   Reply With Quote
Advert
Old 03-16-2015, 04:35 PM   #6
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,364
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
It means that more than one book in the library had the same calibre database ID. This frequently happens when the calibre library is on a NAS/network drive, because many NAS implementations cannot handle renaming files/directories using hard links. One failure mode is to create the new directory but leave the old directory behind. Calibre restore sees these directory as books with the same ID. It can also happen when using cloud storage and running calibre on more than one computer at a time.

You should check that book, author Spufford_ Francis, title Red Plenty, to see if the cover and all the formats are there.
chaley is offline   Reply With Quote
Old 03-17-2015, 12:34 PM   #7
josdb
Junior Member
josdb began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2015
Device: Sony
Thanks everybody for the very valuable response. Everything works fine now!
josdb is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
3.12.0 changes don't work JSWolf Kobo Reader 2 12-11-2014 08:13 AM
Kindle Firmware Updates don't seem to d/l pilotbob Amazon Kindle 18 02-03-2013 02:13 AM
New updates don't overwrite? Gazella Calibre 10 12-27-2012 01:45 PM
Accessories SD Cards that work or don't work with the eDGe devseev enTourage Archive 31 01-11-2011 04:30 PM
I don't get email notifications of updates to threads I'm subscribed to Ea Feedback 4 03-26-2010 02:20 PM


All times are GMT -4. The time now is 08:50 PM.


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