apprenticeharper / DeDRM_tools

DeDRM tools for ebooks
14.49k stars 1.5k forks source link

Adobe Digital Editions DeDRM not worked #2009

Open alpha-lema opened 2 years ago

alpha-lema commented 2 years ago

Adobe Digital Editions DeDRM not worked Trying to use google play books on my kindle. Using the DeDRM plugin in Calibre

Chromebook Linux

Calibre: 5.35

Kindle: 5.14.1

DeDRM: 7.2.1


calibre Debug log calibre 5.35 embedded-python: True is64bit: True Linux-5.4.157-17178-ge2a77dd180f6-x86_64-with-glibc2.2.5 Linux (‘64bit’, ‘ELF’) (‘Linux’, ‘5.4.157-17178-ge2a77dd180f6’, ‘#1 SMP PREEMPT Mon Dec 13 19:21:12 PST 2021’) Python 3.8.5 Interface language: None Successfully initialized third party plugins: DeDRM (7, 2, 1) calibre 5.35 embedded-python: True is64bit: True Linux-5.4.157-17178-ge2a77dd180f6-x86_64-with-glibc2.2.5 Linux (‘64bit’, ‘ELF’) (‘Linux’, ‘5.4.157-17178-ge2a77dd180f6’, ‘#1 SMP PREEMPT Mon Dec 13 19:21:12 PST 2021’) Python 3.8.5 Interface language: None Successfully initialized third party plugins: DeDRM (7, 2, 1) Not controlling automatic hidpi scaling devicePixelRatio: 2.0 logicalDpi: 96.0 x 96.0 physicalDpi: 96.15141955835962 x 96.30331753554502 Using calibre Qt style: True [0.00] Starting up… [0.00] Showing splash screen… [0.22] splash screen shown [0.22] Initializing db… [0.23] db initialized [0.24] Constructing main UI… [1.36] main UI initialized… [1.36] Hiding splash screen Starting QuickView DeDRM v7.2.1: Trying to decrypt A History of the World.epub DeDRM v7.2.1: Verifying zip archive integrity DeDRM v7.2.1: A History of the World.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: Exception when getting default Adobe Key after 0.1 seconds Traceback (most recent call last):

File “calibre_plugins.dedrm.__init__”, line 363, in ePubDecrypt

defaultkeys = WineGetKeys(scriptpath, “.der”,dedrmprefs[‘adobewineprefix’])

File “calibre_plugins.dedrm.wineutils”, line 74, in WineGetKeys

pyexec = WinePythonCLI(wineprefix)

File “calibre_plugins.dedrm.wineutils”, line 37, in __init__

self.check_call([“-c”, self.py3_test])

File “calibre_plugins.dedrm.wineutils”, line 62, in check_call

subprocess.check_call(self.python_exec + cli_args, env=env_dict,

File “subprocess.py”, line 359, in check_call

File “subprocess.py”, line 340, in call

File “subprocess.py”, line 854, in __init__

File “subprocess.py”, line 1702, in executechild FileNotFoundError: [Errno 2] No such file or directory: ‘wine’ 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 runfiletype_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 [7.36] splash screen hidden [7.36] Started up in 7.36 seconds with 1 books Added A History of the World to db in: 0.4 Added 1 books in 0.9 seconds Worker Launch took: 0.01 seconds
ElleKayEm commented 2 years ago

Not able to find your key. A workaround might be temporarily installing Windows calibre with DeDRM where you have Adobe Digital Editions (authorized with your Adobe ID) installed. Save the key from there and import it into your Linux calibre setup.

alpha-lema commented 2 years ago

Unfortunately I don't have access to windows. I'm using Linux on a chromebook

ZolaLa9 commented 2 years ago

Unfortunately I don't have access to windows. I'm using Linux on a chromebook

Try @Leseratte10's Calibre ACSM Input plugin. It allows you to turn an ACSM file into an EPUB or PDF by importing the .acsm into Calibre without needing Adobe Digital Editions. (You will still need the DeDRM plugin to remove DRM. Suggest you use noDRM's latest version 10.0.2 as it has some fixes that might be useful, plus this repo by Apprentice Harper is no longer being developed.)

Aliakbari089 commented 2 years ago

Unfortunately I don't have access to windows. I'm using Linux on a chromebook

Try @Leseratte10's Calibre ACSM Input plugin. It allows you to turn an ACSM file into an EPUB or PDF by importing the .acsm into Calibre without needing Adobe Digital Editions. (You will still need the DeDRM plugin to remove DRM. Suggest you use noDRM's latest version 10.0.2 as it has some fixes that might be useful, plus this repo by Apprentice Harper is no longer being developed.)

I have done this but the same problem exist and calibre can not download the file and dedrm the file

ElleKayEm commented 2 years ago

How did you download the epub shown in your log?

Aliakbari089 commented 2 years ago

I mean the Dedrm app didn't work ! only a PDF or an EPUB file downloaded which calibre can not open the file.

ElleKayEm commented 2 years ago

I'm asking what you used to open the ACSM file and download the EPUB. On Linux, DeDRM tries to get the key for Adobe Digital Editions installed under Wine. But your setup is obviously different.

alpha-lema commented 2 years ago

I used Adobe digital edition to open the ACSM in my log. I'll try ACSM calibre plugin. Thanks

ElleKayEm commented 2 years ago

So where do you have ADE installed?

alpha-lema commented 2 years ago

On my chromebook, as an android app. Guessing that's why the DeDRM in calibre is not working as ADE and calibre are on different systems

ElleKayEm commented 2 years ago

Ah, I see, DeDRM wouldn't know to get the key there. Hopefully the ACSM plugin will work for you.

ZolaLa9 commented 2 years ago

@Aliakbari089, are you sure you are using the latest DeDRM v10.0.2 from noDRM (not Apprentice Harper)?

Aliakbari089 commented 2 years ago

I'm asking what you used to open the ACSM file and download the EPUB. On Linux, DeDRM tries to get the key for Adobe Digital Editions installed under Wine. But your setup is obviously different.

I'm using on windows and authorized Calibre with username and password. These are the plugins I'm using : https://ibb.co/vc7b5GR

ElleKayEm commented 2 years ago

@Aliakbari089 Sorry I was getting confused between the 2 different issues here. If the book won't download with the ACSM plugin at all, I suggest opening an issue over at that plugin's GitHub: https://github.com/Leseratte10/acsm-calibre-plugin