-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot configure deDRM in Calibre for ADE under wine - deDRM appears to want a Windows Python.exe executable #660
Comments
Yes, you need Python and Pycryptodome installed under Wine to run the key retrieval script. An alternative is using the DeACSM plugin to download books directly into calibre instead of downloading them with ADE. You may have to manually save your key from DeACSM and import it into DeDRM. |
I assume, because using deDRM on Linux/wine is specifically mentioned in the documentation (and that ElleKayEm also mentions it), that pycryptodome is installable under Wine. Yet I cannot discover a way to do so.
Again, nothing I can download and use from that URL has proven successful. So, if I can be a stupid human, can anyone explain how I can get pycryptodome under wine installed (either a 32-bit or 64-bit prefix) so I can use deDRM? |
Have you tried using the DeACSM plugin instead of ADE? |
No joy with DeACSM after nearly two hours of effort. At first with the latest v0.0.16 there was a libcrypto error. I didn't have it installed. Installed it and the error changed to: 'AttributeError: module 'calibre_plugins.deacsm.prefs' has no attribute 'DeACSM_Prefs'. So I cannot use DeDRM or DeASCM. Such is OpenSource life, no? |
P.S. Thanks ElleKayEm for responding! |
P.P.S - I have submitted an issue on the DeACSM github site. Will see what happens. Will leave this open for now and if there is progress there will report here so it's documented. |
Install DeACSM from within calibre. On the main menu, click the Preferences drop down menu > Get plugins to enhance calibre. In the top right "Filter by name", put DeACSM. After you install it, restart calibre. (I haven't used DeASCM myself. I have a working setup on Windows with ADE and I'm not messing with it!) |
You're being very persistent in helping and I thank you. But, alas, the exact same error using the method you describe - "no attribute 'DeACSM_Prefs'. I may do as you describe - boot into Windows and see what I can do that way. Will require a new calibre install, but perhaps doing this solely for the Kindle/Kobo DRM'd books is worth that hassle as once I have them DRM-free I can shift back to my normal Linux desktop. Thanks again. |
Is there a reason you're running such dated version of Python? It may be messing things up. |
I have definitely used the plugin under Linux in combination with Wine before, but yeah, it's a pain to set up and I don't remember exactly how it worked. And given that DeACSM exists (and works fine for most people) i don't think there's many people that are even still using this method. For the DeACSM plugin, try using a newer beta version of that plugin (should be available somewhere on their github i believe?) or package it from source, that usually gets rid of these odd errors. |
I've just installed a brand new version of Kindle for PC in Wine. The simple way is Oh, darn. Of course you said ADE. But …. you could install the Kindle App, then ADE, then uninstall Kindle :-) |
Hi everyone! Thanks to this thread I discovered Calibre ACSM Input plugin (aka DeACSM) and it works perfectly. I was finally able to get rid of using Digital Edition in Wine. For those who want to insist on using Wine, the easiest way to use Digital Edition together with Calibre is by using Bottles. From there you can configure everything necessary to run digital edition with all the necessary dependencies. I currently use an immutable distro and only flatpak applications. Everything works fine. Anyway, I recommend using ACSM Input plugin + DeDRM tools on GNU/Linux distros. I have used it on different distributions and it works perfectly. |
Question / bug report
deDRM v10.0.9 Installs fine. Attempts to configure for Adobe DE fails or cannot be successfully concluded.
Restarted calibre in debug mode and find the log posted below that suggests that the the deDRM plugin is looking for a Windows python executable. I think this because the wineprefix path is shown in the log in this section and the only place it appears in Calibre is in the deDRM Customization dialog.
Is it supposed to do this? I don't recall reading anywhere I should have python installed in the wine prefix.
Which version of Calibre are you running?
7.17
Which version of the DeDRM plugin are you running?
10.0.9
If applicable, which version of the Kindle software are you running?
No response
Log output
The text was updated successfully, but these errors were encountered: