Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-20-2022, 03:52 PM   #1
Pselus
Member
Pselus began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2010
Device: Kobo Aura
Troubleshooting: Corrupted Database Disk Image

I tried to add a book today to my Calibre library, and my Kobo e-reader.
I've used this Kobo + Calibre for a few years now.
I added a book the same way about a month ago.
Today when plugging in my Kobo, Calibre throws this error:

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

CorruptError: database disk image is malformed

Traceback (most recent call last):
File "calibre\gui2\device.py", line 87, in run
File "calibre\gui2\device.py", line 512, in _books
File "calibre\devices\kobo\driver.py", line 1987, in books
apsw.CorruptError: CorruptError: database disk image is malformed
Calibre shows that there are no books on my device. However, when I eject the device, it imports the library and has SOME of my books, but not all. Each time I disconnect, it resets the reading statistics and some books show up on the device, and others don't.

Is there a way to fix this?
Pselus is offline   Reply With Quote
Old 03-20-2022, 03:56 PM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,919
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
The database on your Kobo is corrupt.

If you have a database backup taken with Kobo Utilities, restore from the last good one.

Otherwise sign out of your account and sign back in. That will fix the database but your reading stats and positions will get wiped.

If you're using firmware 4.31, there's been reports of it being a bit unstable. Several of us have downgraded to 4.30. Ask in the Kobo forums for more info.

Last edited by ownedbycats; 03-20-2022 at 04:05 PM.
ownedbycats is offline   Reply With Quote
Advert
Old 03-20-2022, 04:08 PM   #3
Pselus
Member
Pselus began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2010
Device: Kobo Aura
Ok, for reference sake, my Kobo has been offline, and not updated in....forever...
So I'm surprised something would corrupt with just normal use.

Also, does it matter that my entire library has been controlled by Calibre for the life of the device?
Pselus is offline   Reply With Quote
Old 03-20-2022, 04:12 PM   #4
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,919
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Depending on how old your device is, it's possible the SD card might be starting to fail -- I retired my Aura HD at, I think, the seven-year mark because of this.

Last edited by ownedbycats; 03-20-2022 at 07:10 PM.
ownedbycats is offline   Reply With Quote
Old 03-20-2022, 04:16 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,019
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Pselus View Post
Ok, for reference sake, my Kobo has been offline, and not updated in....forever...
So I'm surprised something would corrupt with just normal use.

Also, does it matter that my entire library has been controlled by Calibre for the life of the device?
IIRC the Kobo utilities PI can check for updates and insert them while connected.
On the Kobo, find the 'About' in settings and look at the version.

Also, pulling the USB while metadata updates are in progress can barf on things.
Always wait for the main screen on the Kobo to settle before unplugging: USB transfers can be buffered, so just because Calibre removes the On Device column, does not prove the transfer is done.
theducks is offline   Reply With Quote
Advert
Old 03-20-2022, 04:25 PM   #6
Pselus
Member
Pselus began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2010
Device: Kobo Aura
Thank you everyone for the help. It looks like signing out on my Kobo and back in has allowed Calibre to see my library. Appreciate it!
Pselus is offline   Reply With Quote
Old 04-03-2022, 08:43 AM   #7
bigpallooka
Connoisseur
bigpallooka began at the beginning.
 
bigpallooka's Avatar
 
Posts: 86
Karma: 24
Join Date: Aug 2009
Device: Kobo/Tablet PC/Desktop/Laptop
Quote:
Otherwise sign out of your account and sign back in. That will fix the database but your reading stats and positions will get wiped.
I can confirm this worked with the same problem in 5.4.0
bigpallooka is offline   Reply With Quote
Old 04-03-2022, 08:50 AM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,665
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
@Pselus what firmware version are you running on your Kobo?
JSWolf is offline   Reply With Quote
Old 04-03-2022, 02:54 PM   #9
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,919
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Did you even read the thread, like you tell others to do? Because it was covered in posts #2 and #3.

Last edited by ownedbycats; 04-03-2022 at 05:19 PM.
ownedbycats is offline   Reply With Quote
Reply

Tags
troubleshooting


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Clara HD database disk image error retro Kobo Reader 18 10-31-2020 02:30 PM
database disk image is malformed fxp33 Calibre 10 09-02-2015 11:58 PM
database disk image is malformed bartveld Devices 5 01-27-2015 06:25 PM
Database disk image is malformed moonsjine Library Management 1 06-16-2012 04:03 AM
database disk image is malformed sirbruce Calibre 12 06-26-2009 09:06 PM


All times are GMT -4. The time now is 04:19 AM.


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