yakovmeister / pdf2image

A utility for converting pdf to image and base64 format.
MIT License
435 stars 141 forks source link

Error write epipe Windows 10 #161

Open RyanBeasley1994 opened 1 year ago

RyanBeasley1994 commented 1 year ago

Getting an error write epipe on windows 10 server i have the verision 9.52 of ghost script installed, Installed GraphicsMagick-1.3.36-Q16-win32-dll.exe

installed ImageMagick Latest

Changed the path env to correct folders

restarted machine and still get this error from creating from path.

Any ideas ?

staristic commented 1 year ago

I have same problem with example code. I just adjusted file path.

OS: windows 10 Node.js version: 16.13.1 npm version: 8.19.2

Error message:

node:internal/process/promises:246 triggerUncaughtException(err, true / fromPromise /); ^

Error: write EPIPE at afterWriteDispatched (node:internal/stream_base_commons:164:15) at writeGeneric (node:internal/stream_base_commons:155:3) at Socket._writeGeneric (node:net:795:11) at Socket._write (node:net:807:8) at writeOrBuffer (node:internal/streams/writable:389:12) at _write (node:internal/streams/writable:330:10) at Socket.Writable.write (node:internal/streams/writable:334:10) at ReadStream.ondata (node:internal/streams/readable:754:22) at ReadStream.emit (node:events:390:28) at ReadStream.Readable.read (node:internal/streams/readable:527:10) { errno: -4047, code: 'EPIPE', syscall: 'write' }

janedge commented 1 year ago

I have same problem with example code. I just adjusted file path.

OS: windows 10 Node.js version: 16.13.1 npm version: 8.19.2

Error message:

node:internal/process/promises:246 triggerUncaughtException(err, true / fromPromise /); ^

Error: write EPIPE at afterWriteDispatched (node:internal/stream_base_commons:164:15) at writeGeneric (node:internal/stream_base_commons:155:3) at Socket._writeGeneric (node:net:795:11) at Socket._write (node:net:807:8) at writeOrBuffer (node:internal/streams/writable:389:12) at _write (node:internal/streams/writable:330:10) at Socket.Writable.write (node:internal/streams/writable:334:10) at ReadStream.ondata (node:internal/streams/readable:754:22) at ReadStream.emit (node:events:390:28) at ReadStream.Readable.read (node:internal/streams/readable:527:10) { errno: -4047, code: 'EPIPE', syscall: 'write' }

Brother, have you found the answer yet? Can you tell me how to solve it? I've also encountered this problem.

NicoAiko commented 1 year ago

Downgrade to GraphicsMagick v1.3.35

It seems v1.3.36 is not compatible for some bizarre reason.

pandas9 commented 1 year ago

Same issue here, works normal on win 11 and mac

yejue commented 9 months ago

+1, on win10