Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 07-09-2025, 05:35 PM   #1
dchapman
Member
dchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the end
 
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,
dchapman is offline   Reply With Quote
Old 07-09-2025, 07:43 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
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
BetterRed is offline   Reply With Quote
Old 07-09-2025, 11:06 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 07-10-2025, 12:22 AM   #4
dchapman
Member
dchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the enddchapman knows the complete value of PI to the end
 
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.
dchapman is offline   Reply With Quote
Reply

Tags
calibre, database, error


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 03:04 PM.


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