View Single Post
Old 12-10-2021, 01:57 PM   #28
Wajalot
Junior Member
Wajalot began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2021
Device: Kindle
Hi. When I try to delete a specific book i get this error:

Code:
calibre 5.33  embedded-python: True is64bit: False
Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: es
Successfully initialized third party plugins: Count Pages (1, 11, 1) && Find Duplicates (1, 8, 10)
Traceback (most recent call last):
  File "calibre\gui2\actions\delete.py", line 419, in delete_books
  File "calibre\gui2\actions\delete.py", line 390, in do_library_delete
  File "calibre\gui2\library\models.py", line 420, in delete_books_by_id
  File "calibre\db\cache.py", line 75, in call_func_with_lock
  File "calibre\db\cache.py", line 1796, in remove_books
  File "calibre\db\backend.py", line 1750, in remove_books
  File "calibre\db\backend.py", line 948, in executemany
apsw.CorruptError: CorruptError: database disk image is malformed
All the other books are fine. The Calibre app is working pretty fine and the error just comes out for that specific book.

I don't want to recover the full database. Is there any way to delete a book through the terminal?

Thanks in advance!
Wajalot is offline   Reply With Quote