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

parserError: 'bad XRef entry' #277

Closed
bell2041 opened this issue Aug 23, 2022 · 2 comments
Closed

parserError: 'bad XRef entry' #277

bell2041 opened this issue Aug 23, 2022 · 2 comments

Comments

@bell2041
Copy link

Getting an error parserError: 'bad XRef entry' on attached PDF on latest 2.0.1, please advise.

Here is the link for the PDF File
http://a820-ecbticketfinder.nyc.gov/GetViolationImage?violationNumber=0071176995

@simlu
Copy link

simlu commented Jul 28, 2023

Same issue here, unclear what's going on 😬

@modesty
Copy link
Owner

modesty commented May 7, 2024

cannot repo with v3.1.2
PDF is saved to test/pdf/misc, covered by npm run test:misc

@modesty modesty closed this as completed May 7, 2024
modesty added a commit that referenced this issue May 24, 2024
…tion handlings (#346)

* feat: add eslint, fix issue #321, add test PDF for #321:image exception will only be warned in log, won't stop the text and form parsing

* fix: issue #318, fixed together with #321

* fix: issue #343, resolve pkInfo at build time

* fix: issue #255 and #277, keep parsing if img data is not resolved

* maint: add ts dependency and config, remove root pdf2json.js, use ./bin/pdf2json.js instead

* maint: replace lib/p2jcom*.js with src/cli/p2jcli*.ts, compied cli is moved to /bin/cli

* maint: add compiled bundle to bin/cli and dist

* maint: remove unnecessary build artifacts

* build: add prepare scripts

* test: add more page content verification in test

* test: add more cli tests after jest

* fix: auto create output dir in CLI to make more tests run without setting up directory structure

* fix: #262: correct the condition check, also add i262_4hXzVq.pdf to test/misc
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

3 participants