View Single Post
Old 01-04-2010, 12:19 PM   #624
zarras
Junior Member
zarras began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2010
Device: none
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.
zarras is offline   Reply With Quote