![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20
Karma: 31956
Join Date: Mar 2024
Device: Lenovo Slim 71 Pro x
|
Calibre: Database error
Good day.
I was copying books to a newly created library and received the following message: ---------- calibre, version 8.5.0 ERROR: Unhandled exception: <b>CorruptError</b>:CorruptError: database disk image is malformed calibre 8.5 embedded-python: True Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.26100') Python 3.11.12 Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free') Interface language: None EXE path: C:\Program Files\Calibre2\calibre.exe Successfully initialized third party plugins: Find Duplicates (1, 10, 9) Traceback (most recent call last): File "calibre\gui2\actions\copy_to_library.py", line 465, in copy_to_library File "calibre\gui2\actions\copy_to_library.py", line 533, in do_copy File "calibre\gui2\library\models.py", line 477, in delete_books_by_id File "calibre\db\cache.py", line 85, in call_func_with_lock File "calibre\db\cache.py", line 2231, in remove_books File "calibre\db\backend.py", line 2357, in remove_books File "calibre\db\backend.py", line 1183, in executemany File "C:\t\t\apsw-42s16m2x\src\cursor.c", line 240, in resetcursor apsw.CorruptError: CorruptError: database disk image is malformed --------- Could this be a sign of a pending disk failure? Thanks, |
![]() |
![]() |
![]() |
#2 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,717
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Looks like you were using "Copy to . . . (delete after copy)", and something went awry in the 'delete after' phase. If the books moved to the new library, no harm done.
I would run Check Library on the 'old library' and resolve any errors before copying or moving books the 'new library'. BR |
![]() |
![]() |
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
corrupt databases can happen for many reasons from disk failure to interfering programs like antivirus/file sync. You can use the check library and restore database tools in calibre to recover from such issues.
|
![]() |
![]() |
![]() |
#4 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20
Karma: 31956
Join Date: Mar 2024
Device: Lenovo Slim 71 Pro x
|
Thanks. I ran Check Library on all of the libraries. They seem fine.
Thanks again. |
![]() |
![]() |
![]() |
Tags |
calibre, database, error |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
calibre corrupt error corrupt error database disk image is malformed | didu812 | Calibre | 50 | 04-10-2024 08:51 AM |
Calibre 4.0 Can't open database error | rkashyap | Devices | 3 | 12-10-2019 12:06 AM |
Database Exception Error Calibre | markyfr | Calibre | 0 | 04-16-2012 07:39 AM |
Calibre + Kobo Touch error message : database disk image is malformed | Bernard75 | Devices | 1 | 04-07-2012 03:46 PM |
Calibre won't open after install -- ERROR: Bad database location | htbyron | Calibre | 3 | 06-17-2010 10:43 AM |