![]() |
#1 |
Groupie
![]() ![]() ![]() Posts: 195
Karma: 245
Join Date: Aug 2009
Location: USA
Device: Kobo Clara Blue PRS 350
|
database disk image error
The problem I'm having with my Clara started a few months ago and despite all my efforts it keeps coming back.
My Clara was working fine for several months but sometime after the update earlier this summer it started having problems. I added a few new books from Calibre and the covers did not load. Connecting repeatedly didn't make a difference, but when I used the Kobo Utility to force the covers, they showed up. This went on for a week or so until one day I finished a book and selected remove. It did not delete. I tried a couple of more books that would not delete either. When I connected to Calibre version 4.23.0, this message popped up. 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 1981, in books File "site-packages\calibre\devices\kobo\driver.py", line 1852, in get_bookshelvesforbook File "c:\t\t\apsw-47cp24d7\src\cursor.c", line 236, in resetcursor CorruptError: CorruptError: database disk image is malformed I did a factory reset, let it upgrade, applied patches and all was well. A few weeks later I started having issues with covers not loading again. Since I had upgraded to 32gb micro sd, I installed the original image to a new micro sd, let it upgrade to the latest version, applied patches and all was well. Earlier this week, covers quit loading and today when I connected to Calibre (still on 4.23 - KoboTouchextended driver) I got the database error again. Since I've had this happen with 2 different sd cards, they should't be the problem. Maybe I've done something squirrelly with the patching without knowing?? Any ideas would be appreciated. Thanks! |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
How do you connect/disconnect the device? Do books open correctly? Do you ever have errors when copying books to the device directly? Also, do you have Plato, KOReader, KSM, or vlavsovsoft installed?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Groupie
![]() ![]() ![]() Posts: 195
Karma: 245
Join Date: Aug 2009
Location: USA
Device: Kobo Clara Blue PRS 350
|
Quote:
Even when I get the database error, I can add books to the device without errors. No Plato, KOReader, KSM, or vlavsovsoft. Miniclock is installed and about 12 patches. |
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
That's odd. If you open the database in an external editor (e.g. sqlitebrowser or the sqlite3 cli) and run "PRAGMA integrity_check;", what does it say?
|
![]() |
![]() |
![]() |
#5 | |
Groupie
![]() ![]() ![]() Posts: 195
Karma: 245
Join Date: Aug 2009
Location: USA
Device: Kobo Clara Blue PRS 350
|
Quote:
Execution finished without errors. Result: 1 rows returned in 45ms At line 1: PRAGMA integrity_check; I used sqlitebrowser, opened the KoboReader.sqlite, ran it in the sql window and again under tools. I guess that the right way. Looks like it's ok, but calibre is still throwing the error. Ok, I tried to open BookReader.sqlite and got 'database is malformed' and would not open. Not sure what would cause that? Last edited by retro; 10-22-2020 at 07:35 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#8 | |
Groupie
![]() ![]() ![]() Posts: 195
Karma: 245
Join Date: Aug 2009
Location: USA
Device: Kobo Clara Blue PRS 350
|
Quote:
calibre, version 4.23.0 ERROR: Unhandled exception: <b>CorruptError</b>:CorruptError: database disk image is malformed calibre 4.23 [64bit] embedded-python: True is64bit: True Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.18362') Python 2.7.16+ Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 34, 0) && DeDRM (6, 8, 0) && Package KFX (from KFX Input) (1, 34, 0) && Find Duplicates (1, 7, 2) && KindleUnpack - The Plugin (0, 82, 2) && Kobo Utilities (2, 11, 5) && EpubMerge (2, 11, 0) && KFX metadata reader (from KFX Input) (1, 34, 0) && KFX Input (1, 34, 0) && Modify ePub (1, 4, 1) && Import List (1, 5, 1) && EpubSplit (2, 9, 0) && Manage Sony x50 Reader Book List (1, 2, 11) && Count Pages (1, 10, 0) && KoboTouchExtended (3, 4, 1) && Quality Check (1, 10, 1) Traceback (most recent call last): File "calibre_plugins.koboutilities.action", line 1605, in check_device_database File "calibre_plugins.koboutilities.action", line 3440, in _check_device_database File "calibre_plugins.koboutilities.action", line 4995, in check_device_database File "c:\t\t\apsw-47cp24d7\src\cursor.c", line 236, in resetcursor CorruptError: CorruptError: database disk image is malformed I have a 2nd Clara and I copied the BookReader.sqlite from both readers to my computer and tried to open them in SQLitedatabasebrowser. The problem one would not open saying it was mal formed. But the copy from the 2nd Clara popped up a window asking for a password for the encryption. |
|
![]() |
![]() |
![]() |
#9 | ||||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Quote:
Quote:
|
||||
![]() |
![]() |
![]() |
#10 | ||
Groupie
![]() ![]() ![]() Posts: 195
Karma: 245
Join Date: Aug 2009
Location: USA
Device: Kobo Clara Blue PRS 350
|
Quote:
Yes, I can do the check that says no errors then open calibre and get the error, close calibre, do the check and it says no errors. Quote:
Just seemed odd to me that one can be accessed and the other is said to be malformed. |
||
![]() |
![]() |
![]() |
#11 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Could you run the following SQL statement using SQLitedatabasebrowser? This accesses the table the line shown is querying. Code:
select ShelfName from ShelfContent where _IsDeleted = 'false' and ShelfName is not null Code:
select ShelfName from ShelfContent where _IsDeleted = 'false' and ShelfName is not null order by ContentId And would it be possible to see the database? Don't post it, upload it somewhere and PM me the link to it. It will be interesting to see if I can see anything going on with it. |
||
![]() |
![]() |
![]() |
#12 | |
Groupie
![]() ![]() ![]() Posts: 195
Karma: 245
Join Date: Aug 2009
Location: USA
Device: Kobo Clara Blue PRS 350
|
Quote:
I did a factory reset, didn't lose my patches, just added the fonts and books back and everything is fine again. One thing I did try after the reset was to open the BookReader.sqlite and got the popup for the encryption password unlike the malformed error like before. I made a copy of the file to try replacing when it happens again. I'm sure I will be able to try some of your other suggestions too. I can't remember exactly when this first started earlier this summer so it could possibly be an issue with calibre and another version might fix it. I'm just not ready to move to 5 yet. Thanks for trying to help! |
|
![]() |
![]() |
![]() |
#13 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
As to BookReader.sqlite, forget about it. It is completely and utterly uninvolved in anything that you have been describing. It will only be used if you have a Kobo Plus account. Calibre does absolutely nothing with it. It has absolutely no idea the file exists. If you think something is wrong with it, just delete it. The device will recreate it. Quote:
|
|||
![]() |
![]() |
![]() |
#14 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
|
![]() |
![]() |
![]() |
#15 | |
Groupie
![]() ![]() ![]() Posts: 195
Karma: 245
Join Date: Aug 2009
Location: USA
Device: Kobo Clara Blue PRS 350
|
Quote:
The fact that it's progressive, first not loading covers, next not deleting books, eventually not being able to manage at all with calibre looks like corruption. This time I did not look to see if I could access the drive, didn't seem like it mattered when a reset was inevitable. Thanks for helping. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error in Kobo Glo: database disk image is malformed | Carpidor | Devices | 2 | 08-07-2015 07:17 AM |
ERROR - database disk image malformed | Joy1977 | Calibre | 2 | 05-11-2012 11:28 PM |
Kobo error: database disk image is malformed | RSaunders | Devices | 7 | 07-28-2011 09:52 PM |
Error communicating with device(Kobo Wireless)/database disk image is malformed | cotej1977 | Devices | 2 | 04-26-2011 09:34 PM |
Error communicating with device(Kobo Wireless)/database disk image is malformed | cotej1977 | Kobo Reader | 1 | 04-24-2011 08:14 AM |