Skip to content

Errors in PDF version 1.1 #435

Answered by jsvine
mlbraga82 asked this question in Q&A
Discussion options

You must be logged in to vote

Judging by the stacktrace, the exception is raised from this library's main dependency, pdfminer.six. And my hunch is that the exception is caused by malformed PDFs, rather than a bug in pdfminer.six. If you haven't already, it's worth trying to repair your PDF using Ghostscript. To do so, run gs -o repaired.pdf -sDEVICE=pdfwrite original.pdf, replacing original.pdf with your PDF's actual filename.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mlbraga82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants