View Single Post
  #2  
Old 08-17-2011, 08:55 PM
AAfan AAfan is offline
Junior Member
 
Join Date: Aug 2011
Posts: 9
AAfan is on a distinguished road
Default

Re: eblib: Problem removing PDF DRM


Hi,

I have seen that error before. That error is caused by a pdf "dict" object having an odd number of elements in it. According to the pdf spec, a "dict" should only ever have an even number of elements since they are sets of key/value pairs.

So that pdf from that publisher corrupted. ADE still opens it because it must be more robust to violations of the official pdf spec.

You should be able to edit that pdf by hand and change that specific dict element to have an even number of elements by finding the hopefully obvious non-pair (extra key or extra value) and removing it. From looking at your error it appears there is a /Keywords key that does not have any value associated with it. If you can edit that file and remove the /Keywords piece from that dict element, that should fix that error.

Or perhaps a pdf repair program might be able to help.
Reply With Quote