Using PdfReader causes a crash: KeyError: '/Root' #2841
Labels
is-robustness-issue
From a users perspective, this is about robustness
needs-pdf
The issue needs a PDF file to show the problem
PdfReader
The PdfReader component is affected
What happened? What were you trying to achieve?
Environment
Which environment were you using when you encountered the problem?
Code + PDF
This is a minimal, complete example that shows the issue:
Share here the PDF file(s) that cause the issue. The smaller they are, the
better. Let us know if we may add them to our tests!
(Got 100's of PDF with this issue but) 1 Sample PDF inside zip:
---- file deleted for security reasons -----
I believe crash is due to some buggy pdf structure like it does not have xref table.
Traceback
This is the complete traceback I see:
The text was updated successfully, but these errors were encountered: