Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header error parsing pdf file in web app #4

Open
rkworden opened this issue Mar 8, 2022 · 1 comment
Open

Header error parsing pdf file in web app #4

rkworden opened this issue Mar 8, 2022 · 1 comment

Comments

@rkworden
Copy link

rkworden commented Mar 8, 2022

Opening a pdf that was annotated in Big Sur. Upon uploading the document and pressing "Save Recovered", I get this error:

unable to parse pdf document

Caused by:
    Invalid file header

Shoot me your email address and I will forward the actual document to you
Screen Shot 2022-03-08 at 1 53 51 PM

Many thanks

.

@rkworden rkworden changed the title Header error parsing pdf file Header error parsing pdf file in web app Mar 8, 2022
@julihoh
Copy link
Owner

julihoh commented Mar 5, 2023

I'm not sure what could cause this. There is unfortunately not much I can do about it. The tool relies on https://crates.io/crates/lopdf for pdf parsing. If that fails, the tool can't do much.

Regardless, I have updated the pdf parser to the latest version. If you're lucky, this fixes your issue, but not promises. I suggest you try again using the web app (the update should be live already).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants