View Single Post
Old 05-01-2025, 11:22 AM   #3
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: 80,049
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by roby67 View Post
And when I try to delete books on the ereader, I get the following message :

calibre, version 8.3.0
ERREUR : Erreur: Erreur pendant la communication avec le périphérique

CorruptError: database disk image is malformed

Traceback (most recent call last):
File "calibre\devices\kobo\driver.py", line 474, in delete_via_sql
File "C:\t\t\apsw-42s16m2x\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 687, in _delete_books
File "calibre\devices\kobo\driver.py", line 540, in delete_books
File "calibre\devices\kobo\driver.py", line 2472, in delete_via_sql
File "calibre\devices\kobo\driver.py", line 456, in delete_via_sql
File "calibre\devices\kobo\db.py", line 94, in __exit__
apsw.CorruptError: CorruptError: database disk image is malformed
Once you log out and log back in, reboot your Kobo before you plug into the USB port. That will stop the database from becoming corrupt. Also use Kobo Utilities to setup a database backup when you plug in your Kobo so you'll have a valid database to restore should you ever get corrected again.
JSWolf is online now   Reply With Quote