![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2024
Device: Kindle Paperwhite
|
database disk image is malformed
Went to save the metadata on a book and got the following and got it while attempting to exit the program or add a new book. I'm running calibre on an Intel iMac with Sequoia 15. Does anyone have an idea on how to fix this? Thank you.
calibre, version 7.20.0 ERROR: Unhandled exception: <b>CorruptError</b>:CorruptError: database disk image is malformed calibre 7.20 embedded-python: True macOS-15.1-x86_64-i386-64bit Darwin ('64bit', '') ('Darwin', '24.1.0', 'Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:27 PDT 2024; root:xnu-11215.41.3~2/RELEASE_X86_64') Python 3.11.5 OSX: ('15.1', ('', '', ''), 'x86_64') Interface language: None EXE path: /Applications/calibre.app/Contents/MacOS/calibre Successfully initialized third party plugins: Find Duplicates (1, 10, 9) Traceback (most recent call last): File "calibre/gui2/actions/delete.py", line 460, in delete_books File "calibre/gui2/actions/delete.py", line 437, in do_library_delete File "calibre/gui2/library/models.py", line 474, in delete_books_by_id File "calibre/db/cache.py", line 85, in call_func_with_lock File "calibre/db/cache.py", line 2224, in remove_books File "calibre/db/backend.py", line 2295, in remove_books File "calibre/db/backend.py", line 1159, in executemany File "src/cursor.c", line 240, in resetcursor apsw.CorruptError: CorruptError: database disk image is malformed |
![]() |
![]() |
![]() |
#2 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,048
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
A couple of questions. Where is your calibre library stored? Local disk? NAS? Cloud Storage?
If you are using local storage, you could try restoring the database. Click on the library icon => Library Maintenance => Restore database. You may want to delete/move the metadata.db file in the root of the library folder before doing this. Otherwise see: I am getting errors with my calibre library on a networked drive/NAS? in the calibre FAQs. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2024
Device: Kindle Paperwhite
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I restore the database to backup? - database disk image is malformed | lumping-sugar66 | Kobo Reader | 7 | 09-10-2024 11:57 AM |
Clara HD Database disk image is malformed? | JDesat | Kobo Reader | 25 | 02-04-2022 10:43 AM |
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 |
Touch Database Disk Image Malformed | TheArtfulDodger | Kobo Reader | 7 | 11-20-2014 01:22 PM |