-
Notifications
You must be signed in to change notification settings - Fork 376
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
Cannot read property '0' of undefined when parsing pdf #64
Comments
the testing pdf is downloaded and save in test/pdf/misc/ as i64_schedule_generator.pdf. Then run cmd line: node pdf2json.js -f test/pdf/misc/i64_schedule_generator.pdf -o test/target/misc/ it parses then writes out i64_schedule_generator.json correctly. node -v: |
I will re-test with my environment at home and re-try. |
@petterroea did you figure out what the issue was? I'm getting the same error |
Hello, I am facing the same issue with node Stack trace same as @petterroea 's |
facing same error |
I second this; I got this error randomly. |
This issue has grown up with me since high school and I'm now a professional software engineer, haha! Thanks for fixing and closing the issue, reminding me of it! :D |
PDF it fails on: http://www.novasoftware.se/ImgGen/schedulegenerator.aspx?format=pdf&schoolid=60410/nb-no&type=-1&id=2eda&period=&week=21&mode=0&printer=0&colors=32&head=0&clock=0&foot=0&day=0&width=1880&height=371&maxwidth=1880&maxheight=371
Stack trace:
Code:
Node -v:
It might be a poorly generated pdf(2000's consultant work apparently), but other readers support it fine.
The text was updated successfully, but these errors were encountered: