Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 02-16-2026, 02:24 PM   #526
SkyleafCreations
Junior Member
SkyleafCreations began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2026
Device: Kobo Libra, Kindle Oasis
Error Help when updating metadata on reader

Hi I have a Kobo Libra (2 I think) and I keep getting this error when using the

Update metadata in device library option. Can anyone help me sort this out. Keep in mind I do not understand code or computer speak at all.
Thanks

calibre, version 9.2.1
ERROR: Unhandled exception: <b>CorruptError</b>:database disk image is malformed

calibre 9.2.1 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.14.2
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 29, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 29, 0) && Amazon.com Multiple Countries (1, 0, 0) && Category Tags (0, 3, 2) && FanFicFare (4, 54, 0) && Find Duplicates (1, 10, 10) && Goodreads (1, 8, 4) && KFX metadata reader (from KFX Input) (2, 29, 0) && From KFX (2, 29, 0) && KFX Input (2, 29, 0) && Set KFX metadata (from KFX Output) (2, 18, 0) && KFX Output (2, 18, 0) && Kindle Collections (1, 7, 29) && Kindle hi-res covers (0, 5, 1) && KindleUnpack - The Plugin (0, 83, 8) && Kobo Metadata (1, 12, 0) && Kobo Utilities (2, 26, 1) && Last Modified (0, 8, 5) && Manage Series (1, 5, 3) && Obok DeDRM (10, 0, 9) && Search The Internet (1, 11, 4) && SmartEject (2, 6, 0)
Traceback (most recent call last):
File "calibre_plugins.koboutilities.action", line 231, in wrapper
File "calibre_plugins.koboutilities.features.metada ta", line 104, in update_metadata
File "calibre_plugins.koboutilities.features.metada ta", line 181, in do_update_metadata
File "C:\t\t\apsw-lcy2rew4\src\cursor.c", line 202, in resetcursor
apsw.CorruptError: database disk image is malformed
SkyleafCreations is offline   Reply With Quote
Old 02-16-2026, 04:22 PM   #527
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,542
Karma: 62543878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
That is your Libra2 DB. You can restore if you used KU to backup the DB or sign out on the device, then sign back in.
Note you will lose some of your reading status
theducks is offline   Reply With Quote
Old 02-22-2026, 03:00 AM   #528
Majutsushi
Zealot
Majutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to behold
 
Majutsushi's Avatar
 
Posts: 132
Karma: 11778
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
KoboUtilities v2.27.0

Changes in this release:
  • Improved backup and restore features to be more robust, especially when using Chromebooks.
  • Give a more helpful error message when the plugin detects that the database is corrupt.
Majutsushi is offline   Reply With Quote
Old 02-22-2026, 08:40 AM   #529
itsmir
Enthusiast
itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.
 
itsmir's Avatar
 
Posts: 30
Karma: 129918
Join Date: Jun 2013
Location: Netherlands
Device: Kobo Glo HD
Hello, updated to 2.27.0 today and now have the following issue.
When connecting my Kobo I get message :

Code:
calibre, version 9.3.0 (win32, embedded-python: True)
Failed to back up device database: Failed: Backing up Kobo device database

[WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Temp\\calibre-tplut7l8\\koboutilities-backup-adeqgo9r\\.kobo\\KoboReader.sqlite'

Traceback (most recent call last):
  File "shutil.py", line 701, in _rmtree_unsafe
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Temp\\calibre-tplut7l8\\koboutilities-backup-adeqgo9r\\.kobo\\KoboReader.sqlite'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\gui2\device.py", line 110, in run
  File "calibre_plugins.koboutilities.features.backup", line 171, in device_database_backup_job
  File "tempfile.py", line 971, in __exit__
  File "tempfile.py", line 975, in cleanup
  File "tempfile.py", line 955, in _rmtree
  File "shutil.py", line 852, in rmtree
  File "shutil.py", line 705, in _rmtree_unsafe
  File "tempfile.py", line 930, in onexc
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Temp\\calibre-tplut7l8\\koboutilities-backup-adeqgo9r\\.kobo\\KoboReader.sqlite'
Checking my folders it appears that a database backup was in fact backed-up

Then after using Device > Eject this device my kobo is not disconnected from Win11 and cannot be (saying device still in use despite Calibre shutdown 7 no other windows open. Disconnecting cable lets books get added and dbase appears OK
itsmir is offline   Reply With Quote
Old 02-22-2026, 03:57 PM   #530
Lys
Groupie
Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.
 
Posts: 187
Karma: 727278
Join Date: Dec 2022
Location: Not in an English speaking country
Device: (Too many) Kobo(s)
Quote:
Originally Posted by itsmir View Post
Hello, updated to 2.27.0 today and now have the following issue.
When connecting my Kobo I get message :

Code:
calibre, version 9.3.0 (win32, embedded-python: True)
Failed to back up device database: Failed: Backing up Kobo device database

[WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Temp\\calibre-tplut7l8\\koboutilities-backup-adeqgo9r\\.kobo\\KoboReader.sqlite'

Traceback (most recent call last):
  File "shutil.py", line 701, in _rmtree_unsafe
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Temp\\calibre-tplut7l8\\koboutilities-backup-adeqgo9r\\.kobo\\KoboReader.sqlite'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\gui2\device.py", line 110, in run
  File "calibre_plugins.koboutilities.features.backup", line 171, in device_database_backup_job
  File "tempfile.py", line 971, in __exit__
  File "tempfile.py", line 975, in cleanup
  File "tempfile.py", line 955, in _rmtree
  File "shutil.py", line 852, in rmtree
  File "shutil.py", line 705, in _rmtree_unsafe
  File "tempfile.py", line 930, in onexc
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Temp\\calibre-tplut7l8\\koboutilities-backup-adeqgo9r\\.kobo\\KoboReader.sqlite'
Checking my folders it appears that a database backup was in fact backed-up

Then after using Device > Eject this device my kobo is not disconnected from Win11 and cannot be (saying device still in use despite Calibre shutdown 7 no other windows open. Disconnecting cable lets books get added and dbase appears OK
I have the same issue with my KLC.
As far as I can see, the zip file has been created, and the db backed up in my selected folder, though.
Lys is offline   Reply With Quote
Old 02-22-2026, 04:55 PM   #531
Majutsushi
Zealot
Majutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to behold
 
Majutsushi's Avatar
 
Posts: 132
Karma: 11778
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
Ugh, sorry, Windows always creates problems. I'll have a look when I'm back from work. It looks like this is just about cleanup of a temporary database used during the backup though, so things should still mostly work.

Last edited by Majutsushi; 02-22-2026 at 04:59 PM.
Majutsushi is offline   Reply With Quote
Old 02-22-2026, 05:01 PM   #532
Lys
Groupie
Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.
 
Posts: 187
Karma: 727278
Join Date: Dec 2022
Location: Not in an English speaking country
Device: (Too many) Kobo(s)
Quote:
Originally Posted by Majutsushi View Post
Ugh, sorry, Windows always creates problems. I'll have a look when I'm back from work. It looks like this is just about cleanup of a temporary database used during the backup though, so things should still mostly work.
From a quick comparison between the backup it did now vs the backups it did before the update, I can't see any difference.

Message error aside, it seems everything is working correctly on my side.
Lys is offline   Reply With Quote
Old 02-22-2026, 06:13 PM   #533
Homer55
Connoisseur
Homer55 began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Aug 2016
Device: Kobo
I'm having the exact same error as the other ones after latest update
Homer55 is offline   Reply With Quote
Old 02-23-2026, 01:12 AM   #534
Majutsushi
Zealot
Majutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to beholdMajutsushi is a marvel to behold
 
Majutsushi's Avatar
 
Posts: 132
Karma: 11778
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
KoboUtilities v2.27.1

Changes in this release:
  • Fixed an error on Windows when cleaning up after creating a backup.
Majutsushi is offline   Reply With Quote
Old 02-23-2026, 01:32 AM   #535
JDesat
Zealot
JDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beauty
 
Posts: 102
Karma: 32768
Join Date: Dec 2012
Device: Kobo Clara Colour
Quote:
Originally Posted by Majutsushi View Post
Changes in this release:
  • Fixed an error on Windows when cleaning up after creating a backup.
Just FYI, I had the same error mentioned above with v2.27.0, and after updating to this fix the error is gone. Good work, and thanks for being so quick about it!
JDesat is offline   Reply With Quote
Old 02-23-2026, 07:58 AM   #536
itsmir
Enthusiast
itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.itsmir 's soul has travelled the oceans between the stars.
 
itsmir's Avatar
 
Posts: 30
Karma: 129918
Join Date: Jun 2013
Location: Netherlands
Device: Kobo Glo HD
Quote:
Originally Posted by Majutsushi View Post
Changes in this release:
  • Fixed an error on Windows when cleaning up after creating a backup.
That has sorted it, thank you
itsmir is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Kobo Utilities davidfor Plugins 3216 02-08-2025 05:23 AM
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB lrpirlet Plugins 2 08-18-2022 04:15 PM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 06:25 AM
Kobo Utilities Plugin Question nikev Kobo Reader 10 09-26-2018 12:55 AM


All times are GMT -4. The time now is 06:23 PM.


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