You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pdf_merger.append(PdfFileReader(temp_file, strict=False), import_bookmarks=False)
File "C:\Users\Emanuele\Envs\tr\lib\site-packages\PyPDF2\pdf.py", line 1065, in __init__
self.read(stream)
File "C:\Users\Emanuele\Envs\tr\lib\site-packages\PyPDF2\pdf.py", line 1774, in read
idnum, generation = self.readObjectHeader(stream)
File "C:\Users\Emanuele\Envs\tr\lib\site-packages\PyPDF2\pdf.py", line 1638, in readObjectHeader
return int(idnum), int(generation)
ValueError: invalid literal for int() with base 10: "5347+01'00')>>"
Unfortunately I cannot share the test PDF becuase has some sensitive data. What I can tell it's that has a lot of whitespaces in the latest page.
I'm using the latest version of PyPDF2 installed via PIP: PyPDF2==1.25.1
The text was updated successfully, but these errors were encountered:
Hi
I've got a problem while reading (to merge with another) a PDF. This is the instruction that will generate the error:
This is the stacktrace:
Unfortunately I cannot share the test PDF becuase has some sensitive data. What I can tell it's that has a lot of whitespaces in the latest page.
I'm using the latest version of PyPDF2 installed via PIP: PyPDF2==1.25.1
The text was updated successfully, but these errors were encountered: