View Single Post
Old 07-20-2025, 04:47 PM   #1
xanrot
Junior Member
xanrot began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Apr 2024
Device: kobo libra color
Unhappy corrupt error not fixed by signing out and back into my kobo account

hi, i'm at a loss.
my computer was bugging out and didn't want to eject my kobo after i ejected it through calibre, so i tried to force eject and then unplugged the kobo. i know that was a bad move. now i cant connect to calibre, i keep getting this error:
calibre, version 8.7.0
ERROR: Error: Error communicating with device

CorruptError: database disk image is malformed

Traceback (most recent call last):
File "calibre/devices/kobo/driver.py", line 2096, in books
File "src/cursor.c", line 240, in resetcursor
apsw.CorruptError: CorruptError: database disk image is malformed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre/gui2/device.py", line 111, in run
File "calibre/gui2/device.py", line 582, in _books
File "calibre/devices/kobo/driver.py", line 1997, in books
File "calibre/devices/kobo/db.py", line 94, in __exit__
apsw.CorruptError: CorruptError: database disk image is malformed
i tried what reddit suggested for "database disk image is malformed" errors and logged out of my kobo account, then back in. my books are there (all my progress & collections lost, of course) but it hasn't resolved the error on calibre.

if anyone knows what i can do to get things working like normal again, that would be super appreciated.
xanrot is offline   Reply With Quote