View Single Post
Old 04-23-2023, 10:37 AM   #1
Frisbee
Member
Frisbee is a splendid one to beholdFrisbee is a splendid one to beholdFrisbee is a splendid one to beholdFrisbee is a splendid one to beholdFrisbee is a splendid one to beholdFrisbee is a splendid one to beholdFrisbee is a splendid one to beholdFrisbee is a splendid one to beholdFrisbee is a splendid one to beholdFrisbee is a splendid one to beholdFrisbee is a splendid one to behold
 
Posts: 18
Karma: 19588
Join Date: Apr 2023
Device: Kobo Libra H20
Trouble importing KOBO ebooks on KoReader on Kobo device

Hey,

I can't seem to figure out how to get my KOBO ebook to work in Calibre or within Koreader on my Kobo device.

I want it in Koreader because of the annotation options available to me there. So as far as I understand I need to DeDRM the book to do that.

It has downloaded as an EPUB. And it Imports as an EPUB in Calibre. But it will not open despite me having DeDRM and OBOK installed.

I keep getting this error message:

Code:
calibre, version 6.16.0
ERROR: Loading book failed: Failed to open the book at C:\Users\gu5to\Documents\MEGA\Books\Calibre Library\Peter Ralston\The Art of Mastery (81)\The Art of Mastery - Peter Ralston.epub. Click "Show details" for more info.

Failed to convert book: C:\Users\gu5to\Documents\MEGA\Books\Calibre Library\Peter Ralston\The Art of Mastery (81)\The Art of Mastery - Peter Ralston.epub with error:
DeDRM v7.2.1: Trying to decrypt The Art of Mastery - Peter Ralston.epub
DeDRM v7.2.1: Verifying zip archive integrity
DeDRM v7.2.1: The Art of Mastery - Peter Ralston.epub is a secure Adobe Adept ePub
DeDRM v7.2.1: Looking for new default Adobe Digital Editions Keys after 0.1 seconds
Found 1 keys
DeDRM v7.2.1: Trying a new default key
Could not decrypt d4_2qilv.epub because of an exception:
Traceback (most recent call last):
  File "calibre_plugins.dedrm.ineptepub", line 425, in decryptBook
  File "calibre_plugins.dedrm.ineptepub", line 343, in __init__
  File "calibre_plugins.dedrm.ineptepub", line 298, in __init__
  File "Crypto\Cipher\AES.py", line 232, in new
  File "Crypto\Cipher\__init__.py", line 79, in _create_cipher
  File "Crypto\Cipher\_mode_cbc.py", line 274, in _create_cbc_cipher
  File "Crypto\Cipher\AES.py", line 93, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)

DeDRM v7.2.1: Failed to decrypt with new default key after 0.1 seconds
DeDRM v7.2.1: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/...master/FAQs.md
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
  File "calibre\customize\ui.py", line 187, in _run_filetype_plugins
  File "calibre_plugins.dedrm.__init__", line 644, in run
  File "calibre_plugins.dedrm.__init__", line 415, in ePubDecrypt
calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/...master/FAQs.md
InputFormatPlugin: EPUB Input running
on C:\Users\gu5to\Documents\MEGA\Books\Calibre Library\Peter Ralston\The Art of Mastery (81)\The Art of Mastery - Peter Ralston.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 196, in _run_module_as_main
  File "runpy.py", line 86, in _run_code
  File "site.py", line 83, in <module>
  File "site.py", line 78, in main
  File "site.py", line 50, in run_entry_point
  File "calibre\utils\ipc\worker.py", line 196, in main
  File "<string>", line 1, in <module>
  File "calibre\srv\render_book.py", line 826, in viewer_main
  File "calibre\srv\render_book.py", line 817, in render_for_viewer
  File "calibre\srv\render_book.py", line 794, in render
  File "calibre\ebooks\oeb\iterator\book.py", line 62, in extract_book
  File "calibre\customize\conversion.py", line 242, in __call__
  File "calibre\ebooks\conversion\plugins\epub_input.py", line 287, in convert
calibre.ebooks.DRMError: The Art of Mastery - Peter Ralston.epub
Exception ignored in: <function NativeFunction.__del__ at 0x00000299452AA050>
Traceback (most recent call last):
  File "calibre_plugins.dedrm.adobekey", line 268, in __del__
TypeError: 'NoneType' object is not callable
Exception ignored in: <function NativeFunction.__del__ at 0x00000299452AA050>
Traceback (most recent call last):
  File "calibre_plugins.dedrm.adobekey", line 268, in __del__
TypeError: 'NoneType' object is not callable
Many thanks in advance.

Last edited by issybird; 04-23-2023 at 02:07 PM. Reason: Added tags.
Frisbee is offline   Reply With Quote