Open ksbrar opened 1 year ago
Did you choose an E-ink Kindle? Do you have it's serial number entered correctly in DeDRM customization?
@ElleKayEm Thanks for your help. Yup, I chose an e-ink Kindle. I am still unable to customize the DeDRM plugin due to the Cannot load native module 'Crypto.Cipher._raw_des': Not found '_raw_des.cp310-win_amd64.pyd', Not found '_raw_des.pyd'
error
That's weird. You're not able to customize the E-ink Kindle part? The error you posted at the beginning looks like it's coming up with the Kindle for Android key script.
As far as I know there shouldn't be any need to have Python or Pycryptodome installed with Windows calibre. Linux needs them installed under Wine in order to retrieve keys from programs installed there, but Windows calibre should just use calibre's embedded Python.
I'm using DeDRM 10.0.3 with calibre 6.13 on Windows 10 and not having an issue customizing or with decrypting azw3 from download & transfer.
That's weird. You're not able to customize the E-ink Kindle part?
Nope, this is the error that stops me:
Windows calibre should just use calibre's embedded Python.
Right, which is what's got me confused.
I'm using DeDRM 10.0.3 with calibre 6.13 on Windows 10 and not having an issue customizing or with decrypting azw3 from download & transfer.
Hmm, only difference is I'm on W11.
Huh, it seems like I would have seen more issues like this if Windows 11 was causing the problem. But that might be it, and I don't know how to resolve that. Hopefully @noDRM can look into it.
Question / bug report
I downloaded a book directly from Amazon and tried to import it to Calibre. It was published in 2017 and received in the AZW3 format - so it should supported by my understanding.
I tried importing it a couple of times into Calibre and ran into the two following problems: 1) it looks as though there is an import error for certain python cryptographic modules, 2) DeDRM may not be trying the correct keys. I've posted the log I got back from Calibre below and it more directly relates to point (2). After getting a bit frustrated I tried to go back and play with the plugin settings and when I tried to customize it I got this interesting error:
Another user ran into a similar problem, though it was under Linux and I followed his steps (installing
Pycrypto
andCrypto
again) to no avail (same error at the end).Finally, I started from scratch and instead downloaded v1.26 of Kindle for PC (and launched it using the no KFX script) and was able to get a file that could be decrypted properly by DeDRM. But I'm surprised this method worked over downloading it straight from Amazon. What is also strange is that I was able to import an Amazon-downloaded book a few weeks ago, and the only thing I can think of that has changed since then is that I upgraded to Calibre 6.13 from 6.12.
Which version of Calibre are you running?
6.13
Which version of the DeDRM plugin are you running?
v10.0.3
If applicable, which version of the Kindle software are you running?
1.26
Log output