Skip to content

Cant remove DRM from the book of kobo #2374

Open
@Jackmatim

Description

@Jackmatim

I followed the steps as instructed and successfully exported the book in Calibre using the Obok DeDRM plugin. It showed that DRM removal was successful, but in reality, it wasn’t removed; the EPUB file opens with garbled text.
There is the log:ApplicationPaletteChange event ignored
Using calibre Qt style: True
calibre 调试日志
calibre 7.20 embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.11.5
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: zh_CN
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: Obok DeDRM (10, 0, 9)
calibre 7.20 embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.11.5
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: zh_CN
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: Obok DeDRM (10, 0, 9)
QPA platform: windows
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 84.62536585365852 x 84.81391304347825
[0.00] Starting up...
[0.01] Showing splash screen...
[1.67] splash screen shown
[1.67] Initializing db...
[1.67] db initialized
[1.67] Constructing main UI...
DEBUG: 0.0 obok::utilities.py - loading translations
DEBUG: 0.0 obok::dialogs.py - loading translations
DEBUG: 0.0 obok::config.py - loading translations
DEBUG: 0.0 obok::action_err.py - loading translations
[2.12] GUI main window shown
[2.22] main UI initialized...
[2.22] Hiding splash screen
[2.22] splash screen hidden
[2.22] Started up in 2.22 seconds with 0 books
Traceback (most recent call last):
File "calibre\db\cache.py", line 1859, in set_metadata
File "calibre\db\cache.py", line 1782, in set_cover
File "calibre\db\backend.py", line 1791, in set_cover
File "calibre\utils\img.py", line 302, in save_cover_data_to
File "calibre\utils\img.py", line 205, in image_to_data
ValueError: Failed to export image as JPEG with error: Image is empty

Activity

ElleKayEm

ElleKayEm commented on Nov 6, 2024

@ElleKayEm

Try closing Kobo Desktop before using Obok. Make sure the book shows a closed red lock in Obok before attempting to import it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @ElleKayEm@Jackmatim

      Issue actions

        Cant remove DRM from the book of kobo · Issue #2374 · apprenticeharper/DeDRM_tools