apprenticeharper / DeDRM_tools

DeDRM tools for ebooks
14.46k stars 1.49k forks source link

[QUESTION] DeDR, doesn't work for my epub document. MacBook Pro MacOS 12.0.1. Booktopia book #2070

Open YTayyar opened 2 years ago

YTayyar commented 2 years ago

calibre Debug log calibre 5.42 embedded-python: True is64bit: True macOS-10.16-x86_64-i386-64bit Darwin ('64bit', '') ('Darwin', '21.1.0', 'Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:24 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T8101') Python 3.8.5 OSX: ('10.16', ('', '', ''), 'x86_64') Interface language: None Successfully initialized third party plugins: DeDRM (7, 2, 1) calibre 5.42 embedded-python: True is64bit: True macOS-10.16-x86_64-i386-64bit Darwin ('64bit', '') ('Darwin', '21.1.0', 'Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:24 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T8101') Python 3.8.5 OSX: ('10.16', ('', '', ''), 'x86_64') Interface language: None Successfully initialized third party plugins: DeDRM (7, 2, 1) devicePixelRatio: 2.0 logicalDpi: 72.0 x 72.0 physicalDpi: 127.50000191485789 x 127.50000191485789 Using calibre Qt style: True [0.00] Starting up... [0.04] Showing splash screen... [0.24] splash screen shown [0.24] Initializing db... [0.25] db initialized [0.25] Constructing main UI... [1.15] main UI initialized... [1.15] Hiding splash screen Starting QuickView DeDRM v7.2.1: Trying to decrypt Getting Started in Small Business For Dummies®.epub DeDRM v7.2.1: Verifying zip archive integrity DeDRM v7.2.1: Getting Started in Small Business For Dummies®.epub is a secure Adobe Adept ePub DeDRM v7.2.1: Looking for new default Adobe Digital Editions Keys after 0.1 seconds DeDRM v7.2.1: Trying a new default key Could not decrypt p058v5up.epub because of an exception: Traceback (most recent call last): File "calibre_plugins.dedrm.ineptepub", line 418, in decryptBook if len(bookkey) > 16: TypeError: object of type 'int' has no len()

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/DeDRM_tools/blob/master/FAQs.md Running file type plugin DeDRM failed with traceback: Traceback (most recent call last): File "calibre/customize/ui.py", line 175, in _run_filetype_plugins File "calibre_plugins.dedrm.init", line 644, in run decrypted_ebook = self.ePubDecrypt(path_to_ebook) File "calibre_plugins.dedrm.init", line 415, in ePubDecrypt raise DeDRMError("{0} v{1}: Ultimately failed to decrypt after {2:.1f} seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md".format(PLUGIN_NAME, PLUGIN_VERSION,time.time()-self.starttime)) 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/DeDRM_tools/blob/master/FAQs.md [12.99] splash screen hidden [12.99] Started up in 12.99 seconds with 1 books Added Getting Started in Small Business For Dummies® to db in: 0.0 Added 1 books in 0.5 seconds

ElleKayEm commented 2 years ago

Try noDRM's version: https://github.com/noDRM/DeDRM_tools