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

Checking for broken files fails with PDF Documents #898

Closed
nineff opened this issue Jan 19, 2023 · 3 comments · Fixed by #894
Closed

Checking for broken files fails with PDF Documents #898

nineff opened this issue Jan 19, 2023 · 3 comments · Fixed by #894

Comments

@nineff
Copy link

nineff commented Jan 19, 2023

The check for broken files yielded only PDFs, all of which are not broken.
In some cases, the PDF-rs library reported a crash, in others there's a "Try at ..." reported.
See attached screenshot.
Screenshot 2023-01-19 144436
Long Harry.pdf
I've also uploaded one of the PDFs where the lib crashes.

@qarmin
Copy link
Owner

qarmin commented Jan 19, 2023

I opened issue here - pdf-rs/pdf#162 - this message is really unclear

Crashes should be fixed in master branch, due updating pdf to 0.8 version.

Not always errors means that file cannot be opened, sometimes pdf use invalid tags, which not change document appearance or ability to open.

@qarmin
Copy link
Owner

qarmin commented Jan 19, 2023

Latest version added options to silence some non critical bugs and this will be available after merging - #894

@s3bk
Copy link

s3bk commented Jan 27, 2023

pdf 0.8.0 has been released.
the "try at" error is basically an annotation of where the error occured.

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

Successfully merging a pull request may close this issue.

3 participants