Coder Social home page Coder Social logo

Comments (7)

yakovmeister avatar yakovmeister commented on June 14, 2024

@zombiestruck will you be able to be more informative?

How can this issue be replicated?
What version of node are you using?
How large is the pdf you are trying to process?

from pdf2image.

carlos97 avatar carlos97 commented on June 14, 2024

@zombiestruck will you be able to be more informative?

How can this issue be replicated?
What version of node are you using?
How large is the pdf you are trying to process?

Hi, i have the same issue processing a 3319 KB file with node v12 and v14

from pdf2image.

Itee avatar Itee commented on June 14, 2024

Same here !

(node:460) UnhandledPromiseRejectionWarning: Error: Could not execute GraphicsMagick/ImageMagick: gm "identify" "-ping" "-format" "%p" "C:\XXX\pdfs\20200227091129.pdf" this most
likely means the gm/convert binaries can't be found
(node:460) UnhandledPromiseRejectionWarning: Error: write EPIPE
at afterWriteDispatched (internal/stream_base_commons.js:156:25)
at writeGeneric (internal/stream_base_commons.js:147:3)
at Socket._writeGeneric (net.js:785:11)
at Socket._write (net.js:797:8)
at writeOrBuffer (_stream_writable.js:352:12)
at Socket.Writable.write (_stream_writable.js:303:10)
at ReadStream.ondata (_stream_readable.js:719:22)
at ReadStream.emit (events.js:315:20)
at addChunk (_stream_readable.js:309:12)
at readableAddChunk (_stream_readable.js:284:9)

Using :
[email protected]
[email protected]

from pdf2image.

Itee avatar Itee commented on June 14, 2024

Same using [email protected]

Error: Could not execute GraphicsMagick/ImageMagick: gm "convert" "-density" "100x100" "-quality" "75" "-[0]" "-resize" "600x600!" "-compress" "jpeg" "./images/untitled.1.png" this most likely means the gm/convert binaries can't be
found

from pdf2image.

yakovmeister avatar yakovmeister commented on June 14, 2024

@Itee , you have to ensure that the required dependency is installed. More on that here

from pdf2image.

smppandi1998 avatar smppandi1998 commented on June 14, 2024

Still im facing this issue ,please help me @yakovmeister @Itee @carlos97 @zombiestruck @yhanwen

(node:9580) UnhandledPromiseRejectionWarning: Error: write EPIPE
at afterWriteDispatched (internal/stream_base_commons.js:156:25)
at writeGeneric (internal/stream_base_commons.js:147:3)
at Socket._writeGeneric (net.js:785:11)
at Socket._write (net.js:797:8)
at writeOrBuffer (internal/streams/writable.js:358:12)
at Socket.Writable.write (internal/streams/writable.js:303:10)
at ReadStream.ondata (internal/streams/readable.js:719:22)
at ReadStream.emit (events.js:315:20)
at ReadStream.Readable.read (internal/streams/readable.js:519:10)
at flow (internal/streams/readable.js:992:34)
(Use node --trace-warnings ... to show where the warning was created)
(node:9580) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:9580) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

from pdf2image.

brianMxBm avatar brianMxBm commented on June 14, 2024

Still facing this issue as well. I have the deps as lambda layers as stated by the dep installation steps.

from pdf2image.

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.