Quote:
Originally Posted by chaley
@DNSB: thanks for the exception log, and @JSWolf: thanks for the copy of an offending book. That let me find another case where something the plugin calls sometimes wants a byte string instead of a "normal" string. The attached version takes care of that.
I tested it with your book that specifies the encoding, and with one of my books that does not. I checked every box. No fatal failures. The plugin did complain about lacking a cover in your book.
May it please be that this one works. 
|
Using calibre 5.0.1, I've checked with 8 books and so far no errors.
Unfortunately, using calibre 4.23 portable, it's not a happy camper.
Personally, I think @RevBob has the right idea to fork the plugin with a Python2 version for calibre 4 and older and a Python3 for calibre 5 and newer rather than attempting to support both in one plugin at this time.