pdfrw icon indicating copy to clipboard operation
pdfrw copied to clipboard

pdfrw.errors.PdfParseError: EOF mark not found:

Open GoingMyWay opened this issue 6 years ago • 0 comments

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.

GoingMyWay avatar Jun 19 '19 04:06 GoingMyWay