-
Notifications
You must be signed in to change notification settings - Fork 350
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
Adobe DRM - "ValueError: string argument should contain only ASCII characters" #119
Comments
There's a bug when there's something wrong with the saved key, DeDRM doesn't try to retrieve the correct key. Delete the saved key and re-add the book letting DeDRM automatically retrieve the correct key. I assume that ADE is authorized with their Adobe ID and on the same machine and user as calibre with DeDRM. |
I wonder, though, why there are so many of these reports within the last ~2 weeks or so. Did I break stuff in 10.0.3? Before you do what ElleKayEm suggested, would you mind going to Preferences -> Miscellaneous -> Open calibre configuration folder, then go to "plugins" and take the "dedrm.json" file in there and send it to the email address you can find on my Github profile? I'd like to figure out where that issue comes from and why the plugin thinks the key is corrupted ... |
Proposed solution does not work here. Any other suggestions? |
Not without knowing more about your specific issue. Let's see an import log. |
For what it's worth, I was able to solve my friend's problem by following the instruction from @ElleKayEm. I deleted the key and imported the epub file and DeDRM found/created the default key successfully. I did send the requested file to noDRM, though I didn't hear anything back so I don't know if the file was ultimately useful in diagnosing this problem. Apologies for not coming back and closing the issue sooner, I thought @noDRM could close it based on the email I sent them. |
Sorry, I didn't have much time for the plugin in the last couple weeks. Your file was helpful, and the bug is now fixed in the plugin. |
Question / bug report
I was helping a friend get set up with Calibre and DeDRM and ran in to an issue when trying to dedrm an Adobe Digital Editions book that they wanted to put on their Kindle. I'm not sure that it's directly related to DeDRM, but I don't know where else to ask for help. I followed all of the instructions to install and configure DeDRM for Adobe Digital Editions, but when I clicked the green + sign, instead of "default_key" like showed up when I set up my own computer, they ended up with a long alphanumeric string plus the email address they registered ADE with.
We tried importing one of their books, but when we tried to open it we got the error that it was still protected by DeDRM. I deleted the book, restarted in debug mode, and imported it again to get the attached log.
The alphanumeric string that shows up in the DeDRM ADE Configuration window matches the UUID value in the log:
DeDRM v10.0.3: Plenty More.epub is a secure Adobe Adept ePub for UUID 721d8ff3-3b78-4452-b7ce-14b587700261
I don't see any non-ASCII characters anywhere, so I'm not sure what we're doing wrong. I didn't find any results when I googled "ValueError: string argument should contain only ASCII characters," so it seems like I might be the first person to run into this problem. I also tried clicking "Save highlighted key to a .der file" in case that would let me see what's wrong with the key, but received a similar error about ASCII characters.
Which version of Calibre are you running?
6.2.1
Which version of the DeDRM plugin are you running?
10.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: