View Single Post
Old 03-28-2020, 03:55 PM   #1
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,255
Karma: 105299897
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
CorruptError: database disk image is malformed

Kobo Libra, *622 firmware.

The first time I connected it read all the titles. It only gave an error trying to read the annotations via Kobo Utilities.

I ejected and went to menu for the book and selected Export Highlights (the optional extra menu item that is enabled in .conf). That only had the first 1/4 of the book annotations. Going into the book and looking at annotations showed the last 3/4s of annotations gone.

Then reconnecting to Calibre I can't "communicate" at all. No titles listed.
I have sqliteman and DB browser for SQlite. But I'm only familiar with full SQLserver tools and years ago.

I've made a copy of KoboReader.sqlite and BookReader.sqlite

I searched here but couldn't see a thread on fixing the database.

a) I assume the last 3/4 of annotations are gone, or might some sort of repair work?

b) How is it fixed? There are no other unsaved annotations and all books are on Calibre.

c) I suppose all reading positions would be lost on a nuke it type repair, Not a big problem


Quote:
calibre, version 4.12.0
ERROR: Error: Error communicating with device

CorruptError: database disk image is malformed

Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 90, in run
File "site-packages/calibre/gui2/device.py", line 513, in _books
File "site-packages/calibre/devices/kobo/driver.py", line 1958, in books
File "src/cursor.c", line 236, in resetcursor
CorruptError: CorruptError: database disk image is malformed
Quoth is offline   Reply With Quote