noDRM / DeDRM_tools

DeDRM tools for ebooks
7.23k stars 323 forks source link

Can't run Obok DeDRM plugin on Calibre. #617

Closed PictoNoMii closed 2 months ago

PictoNoMii commented 2 months ago

Question / bug report

When I try to run the Obok plugin, I get a DatabaseError:database disk image is malformed

Which version of Calibre are you running?

7.17.0

Which version of the DeDRM plugin are you running?

v10.0.9

If applicable, which version of the Kindle software are you running?

No response

Log output

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

calibre 7.17  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: DeDRM (10, 0, 9) && Obok DeDRM (10, 0, 9)
Traceback (most recent call last):
  File "calibre_plugins.obok_dedrm.action", line 108, in launchObok
  File "calibre_plugins.obok_dedrm.action", line 211, in build_book_list
  File "calibre_plugins.obok_dedrm.obok.obok", line 409, in books
sqlite3.DatabaseError: database disk image is malformed
ElleKayEm commented 2 months ago

Looks like the issue is with your Kobo database. Are you using Kobo Desktop or a Kobo ereader?

PictoNoMii commented 2 months ago

Desktop.

ElleKayEm commented 2 months ago

You try reinstalling Kobo Desktop?

PictoNoMii commented 2 months ago

I just did, and it worked. Thank you.