View Single Post
Old 07-08-2023, 04:00 PM   #2673
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Failed Backing up Kobo device database

I keep getting this error when I connect my Sage to Calibre.

Spoiler:
calibre, version 6.22.0 (win32, embedded-python: True)
Failed to backup device database: Failed: Backing up Kobo device database

CorruptError: database disk image is malformed

Traceback (most recent call last):
File "calibre\gui2\device.py", line 104, in run
File "calibre_plugins.koboutilities.jobs", line 215, in do_device_database_backup
File "calibre_plugins.koboutilities.action", line 6103, in check_device_database
apsw.CorruptError: CorruptError: database disk image is malformed

This causes epubs that are on my device not to show up as being on my device in Calibre (via device button when connected), and if I try to add more, they show as being on the device if I go by file explorer, but they don't show on the device.

I've repaired my Kobo account, signed out of my Kobo account and signed back in, my Calibre is up-to-date (6.22), the KoboUtilities plug-in is up-to-date as far as I can see (2.16.8), and I'm up-to-date on my device...at least it's not offering another update. I updated both Calibre and my Sage pretty much at the same time last Saturday (July 1st), and KoboUtilies sometime during the week, can't remember exactly when.

Earlier in the week I was getting a different error, but the effects seem to be the same. Is this a problem with my device? I'm only asking here because while my problem seemed fixed earlier this week after the other error, it started again but with the error message pointing at KoboUtilites having a problem.

Spoiler:
calibre, version 6.22.0
ERROR: Error: Error communicating with device

CorruptError: database disk image is malformed

Traceback (most recent call last):
File "calibre\gui2\device.py", line 104, in run
File "calibre\gui2\device.py", line 556, in _books
File "calibre\devices\kobo\driver.py", line 2012, in books
apsw.CorruptError: CorruptError: database disk image is malformed
MerlinMama is offline