

Imagepage.scale(float(factor_x), float(factor_y)) Textpdf = PdfFileReader(open(sys.argv, 'rb'), strict=False)įactor_x = / įactor_y = / Imagepdf = PdfFileReader(open(sys.argv, 'rb'), strict=False) I am getting this error when using python3 and this simple code:
#How to install pypdf2 library pdf
How can I attach the PDF to Github for inspection ? It basically complaints that the pyPDF generated PDF EOF marker not found ! However it was generated by pyPDF itself, did pyPDF miss putting EOF marker in some strange cases ?Ĭan anyone look at this bug ? This has happened quite rarely but some online sites are handling this same pdf pretty well.

PrinceXML PDF + some pyPDF generated PDF = pyPDF generated Concatendated PDF (Expected) works in most cases some cases this won't work. Issue happens we we now use the above type of pyPDF concated pdf and concat with other normal pdf again using pyPDF itself. PrinceXML PDF + Adobe PDF = pyPDF generated Concatendated PDF - Cool works fine. Scenario: We concatenate some PDF's using pyPDF - input can be princeXML supplied PDF, normal PDF etc. We are getting error like PdfReadError: EOF marker not found.
