Cannot open book from Kobo after Obok DeDRM

Author: andrejttCreated Sep 21, 2026Updated Sep 28, 2026

Hello, I'm trying to DeDRM book with Obok from Kobo, but every time time I try to do so - I receive this sort of error message. Could please anyone tell me what's up and what I'm doing wrong? I'm using both Mac versions for Kobo and Calibre.

calibre, version 9.14.0 ERROR: Loading book failed: Failed to open the book at /Users/pc/Calibre Library/Zhen Teng Ya Xing/ruridoragon 1 (3)/ruridoragon 1 - Zhen Teng Ya Xing.epub. Click "Show details" for more info.

Failed to convert book: /Users/pc/Calibre Library/Zhen Teng Ya Xing/ruridoragon 1 (3)/ruridoragon 1 - Zhen Teng Ya Xing.epub with error: DeDRM v10.0.3: Trying to decrypt ruridoragon 1 - Zhen Teng Ya Xing.epub DeDRM v10.0.3: Verifying zip archive integrity DeDRM v10.0.3: Post-processing took 0.0 seconds DeDRM v10.0.3: Finished after 3.1 seconds InputFormatPlugin: EPUB Input running on /var/folders/22/23bj95jx5ld9j9z1pkdgt98r0000gn/C/calibre-_0wnmlxt/3rcqm4o1.epub Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main() Traceback (most recent call last): File "runpy.py", line 203, in _run_module_as_main File "runpy.py", line 88, in _run_code File "site.py", line 42, in File "site.py", line 38, in main File "calibre/utils/ipc/worker.py", line 166, in main File "", line 1, in File "calibre/srv/render_book.py", line 864, in viewer_main File "calibre/srv/render_book.py", line 851, in render_for_viewer File "calibre/srv/render_book.py", line 822, in render File "calibre/srv/render_book.py", line 602, in process_exploded_book File "calibre/srv/render_book.py", line 225, in create_cover_page File "calibre/srv/render_book.py", line 177, in find_epub_cover File "calibre/ebooks/oeb/polish/cover.py", line 292, in find_cover_image_in_page File "src/lxml/xpath.pxi", line 415, in lxml.etree.XPath.call File "src/lxml/apihelpers.pxi", line 48, in lxml.etree._documentOrRaise TypeError: Invalid input object: bytes

Source: apprenticeharper/DeDRM_tools