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
Error: Incorrectly parsed object contents #59
Comments
Hello @kevinswartz. I'll take a look at this over the weekend. It might be a parser bug. Or the PDF might be invalid in some way, and the parser might need to be updated to handle it anyways. One thing that would help is if you can reproduce the stack trace using the non-minified version of Note that the non-minified version is available from the same CDN as the minified version, just without the |
Here's the un-minified stack. Thanks for your help!
|
I took a look at the PDF you shared. It is technically invalid according to the PDF spec. It uses invalid stream delimiters. Opening up the file in Vim reveals the following:
The important thing here is
The From the PDF spec:
However, this PDF violates this requirement. The
|
@kevinswartz the check was added in #64. I cut prerelease You can install this prerelease with npm:
It's also available on unpkg:
Please try it out and let me know if it works for you! |
Thanks @Hopding, it looks fixed to me! |
Hi Guys,
I'm seeing an error parsing this pdf. I've attached it, and here's the relevant portion of the stack:
I see this with v0.4.0, and v0.6.0.
parsing error.pdf
Thanks for your help!
Kevin
The text was updated successfully, but these errors were encountered: