Code Monkey home page Code Monkey logo

Comments (6)

Emrio avatar Emrio commented on June 16, 2024 1

Hello, I am facing the same issue with node v10.8.0 and pdf2json 1.1.7.
I am using pdf2json to parse multiple PDFs but when I run the script, some of them (not always the same) get the (while reading XRef): TypeError: Cannot read property '0' of undefined error

Stack trace same as @petterroea 's

from pdf2json.

modesty avatar modesty commented on June 16, 2024

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:
v4.4.0

from pdf2json.

petterroea avatar petterroea commented on June 16, 2024

I will re-test with my environment at home and re-try.

from pdf2json.

jonstuebe avatar jonstuebe commented on June 16, 2024

@petterroea did you figure out what the issue was? I'm getting the same error

from pdf2json.

zouhair94 avatar zouhair94 commented on June 16, 2024

Hello, I am facing the same issue with node v10.8.0 and pdf2json 1.1.7.
I am using pdf2json to parse multiple PDFs but when I run the script, some of them (not always the same) get the (while reading XRef): TypeError: Cannot read property '0' of undefined error

Stack trace same as @petterroea 's

facing same error

from pdf2json.

ana108 avatar ana108 commented on June 16, 2024

I second this; I got this error randomly.
Same pdf worked fine on the next iteration (version: ^1.2.1)

from pdf2json.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.