pdfrw
pdfrw copied to clipboard
pdfrw.errors.PdfParseError: EOF mark not found:
I got an issue.
File "C:\Users\WWW\AppData\Local\Continuum\anaconda3\lib\site-packages\pdfrw\pdfreader.py", line 594, in __init__
repr(fdata[-20:]))
pdfrw.errors.PdfParseError: EOF mark not found: 'È¥ì wÒ\x80ÜyîA\x96Ò\x81ôT\x90µ\x05\x80'
when
for inpfn in [file_path_bak, sup_file_path]:
writer.addpages(PdfReader(inpfn).pages)
I can provide links of both files for you to debug.
file_path_bak: http://proceedings.mlr.press/v97/dadashi19a/dadashi19a.pdf sup_file_path: http://proceedings.mlr.press/v97/dadashi19a/dadashi19a-supp.pdf
The reason maybe files are broken.