in reply to Parsing PDF file

Have you checked that the PDFs are actually sane (ie not damaged)? Can other programs open them?

And have you read section COMPATIBILITY of the manual? Is the version of your PDF file supported?