-
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
ValueError: decoding with 'hex' codec failed (ValueError: string argument should contain only ASCII characters) #109
Comments
Try going into DeDRM's customization and delete the Adobe Digital Editions key. Then restart calibre and re-add the book to see if ADE can automatically retrieve the correct key. This is assuming ADE used to download the book is authorized with your Adobe ID and on the same user and machine as calibre with DeDRM. |
@ElleKayEm steps worked for me. I was experiencing the same error but from another epub provider for ADE content. Thanks |
Partially fixed with 9a11f48. The general issue of a key being corrupted for whatever reason can only be fixed by re-importing (as it was the case here), but the plugin also shouldn't throw an exception and stop trying subsequent keys, this bug is fixed with this commit. With this bug fixed the plugin would probably have attempted to re-import the ADE key automatically. Closing the issue as it seems to be resolved. |
I am relieved to have found this and fixed the same issue. thanks @ElleKayEm |
Re-opening this issue for now. There seems to be a bug in the plugin that sometimes causes malformed Adobe keys to be written to the config JSON. The fix in 9a11f48 just made it no longer crash when encountering such a malformed key, but the real fix would be not writing malformed keys. I've received logs (and the malformed key) from one of the affected users so I should be able to test this myself and implement a real fix soon-ish. |
I'm getting the same error, except reloading/restarting doesn't solve the problem (the key is still corrupted when I look at the |
Question / bug report
Trying to import ebup from Tolino, get this exception in console.
I tried to remove personal information from the log, but please advise if I removed too much.
(I have not yet been able to remove any drm yet)
Which version of Calibre are you running?
5.12.0
Which version of the DeDRM plugin are you running?
v10.0.3
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: