Leseratte10 / acsm-calibre-plugin

Calibre plugin for ACSM->EPUB and ACSM->PDF conversion.
https://www.mobileread.com/forums/showthread.php?t=341975
GNU General Public License v3.0
593 stars 23 forks source link

pdftohtml conversion fails during import #54

Closed klreeher closed 11 months ago

klreeher commented 1 year ago

Bug description

This is the first time I'm using the ACSM-Calibre-Plugin, but I was able to add the test library books successfully.

System OS: Ubuntu 22.10

I was attempting to import a book that was loaned via archive.org, which is an encrypted adobe pdf, .acsm.

Attempt no. 1:

Other Attempts: I tried the same general process several times but with the following changes:

no difference, and the logs still showed the ValueError exception:

ValueError: decoding with 'hex' codec failed (ValueError: string argument should contain only ASCII characters)

Operating system

Linux

Which version of Calibre are you running?

6.3.0

Which version of the ACSM Input plugin are you running?

v0.0.16

Import type

Clicking the 'Add books' button in the menu bar, Dragging-and-Dropping the ACSM file into the Calibre window, Using an auto-add folder (Preferences -> Adding books -> Automatic adding)

Further information

Can also provide ACSM file used if desired.

Leseratte10 commented 1 year ago

Interesting. The error "decoding with 'hex' codec failed" came up in older versions of the DeDRM plugin, but I assumed it would have been fixed by now.

Did you delete the existing key(s) from the DeDRM plugin prior to importing the DER file? If not, can you test if that works?

If that still fails, you'll probably have to open a bug report in noDRM's repository because this sounds like a bug with DRM removal, not with my plugin.

Leseratte10 commented 11 months ago

No response, assuming this issue is now fixed. If there's still issues feel free to re-open.