The following script originally hanged, but with PyPDF2==2.4.2 we get PdfReadError: EOF marker not found.
MCVE: PDF + Code
This file is 298MB with 21 pages.
from PyPDF2 import PdfReader
reader = PdfReader("01-006 2009-04-30 FRP NON CONFIDENTIAL PAP FILING.PDF")
Traceback
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/moose/Github/py-pdf/PyPDF2/PyPDF2/_reader.py", line 267, in __init__
self.read(stream)
File "/home/moose/Github/py-pdf/PyPDF2/PyPDF2/_reader.py", line 1218, in read
raise PdfReadError("EOF marker not found")
PyPDF2.errors.PdfReadError: EOF marker not found
The following script originally hanged, but with PyPDF2==2.4.2 we get
PdfReadError: EOF marker not found.MCVE: PDF + Code
This file is 298MB with 21 pages.
Traceback