-
Notifications
You must be signed in to change notification settings - Fork 324
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
Calibre 4.23 issue removing DRM #101
Comments
for what it's worth I just uninstalled v10.0.3 and tried .2 and it works as expected.
|
If I remove Python3 and I only have Python2.7 installed in the wine prefix it calls it complains that Python3 isn't installed:
|
Thanks for the report.
So that part of the script is working fine. It's only trying to find new keys because an exception is happening with the existing keys:
And that does sound like I fucked something up and broke Calibre 4 support. I'll get Calibre 4 installed on my machine and do a couple tests. |
Is this calibre from the Linux installer on calibre-ebook.com, or does this come from the Debian repositories? If it comes from the repos, can you try downloading it directly from calibre-ebook.com? Also, can you try running
(or if that returns "No module named Crypto" on the first line, replace all "Crypto" with "Cryptodome") import_key has been added to PyCrypto in version 2.2 in 2011, and my Calibre 4.23 from the website comes with PyCrypto 2.6.1, so I have no idea why that wouldn't work for you ... |
Calibre was installed by the linux installer on calibre-ebook.com The results of the above commands:
|
Thanks for the details, I was able to reproduce and fix this with c15135b. |
Apparently "import_key" only exists in newer versions (as an alias to "importKey"). "importKey" works in all versions ...
Yes, that fixes the issue - epubs are now added to calibre with DRM successfully removed. Thank you very much. |
Question / bug report
I try to add an ebook and DRM isn't removed, as shown by logfile. If I use apprenticeharper DeDRM_tools_6.8.1 the DRM is removed as expected, indicating the .der key file is valid.
Looking at the log the plugin seems to be trying to use python 3 with calibre 4.xx - is this where the problem lies?
Which version of Calibre are you running?
4.23
Which version of the DeDRM plugin are you running?
v10.0.3
Log output
The text was updated successfully, but these errors were encountered: