I needed to change line 1203 in v5 (at least that's what it says at the top of the script) from:
Code:
if length and len(bookkey) != length:
to:
Code:
if length and (len(bookkey) / 2) != length:
...to stop the 'error decrypting book session key' error with a number of pdfs I have. They converted fine once I did that.
I assume it's a to/from unicode conversion problem with bookkey somewhere, so likely there is a more correct fix than the above.