Giter Club home page Giter Club logo

Comments (17)

AdmiralNemo avatar AdmiralNemo commented on July 22, 2024

I encountered this same error today. It occurred when I tried to convert the same file locally or over HTTP.

from asciicast2gif.

c12yptonic avatar c12yptonic commented on July 22, 2024

Same error experienced

from asciicast2gif.

OlaoluwaM avatar OlaoluwaM commented on July 22, 2024

Same with node v17+. Error also occurs with remote conversion attempts

from asciicast2gif.

trev-dev avatar trev-dev commented on July 22, 2024

Also happening for me with Node version 16.14, local and remote

from asciicast2gif.

initialjie avatar initialjie commented on July 22, 2024

Also happening for me with Node version 16.15, local and remote

from asciicast2gif.

mathieu-aubin avatar mathieu-aubin commented on July 22, 2024

i dont have the issue

Make-sure there is ONLY ONE install of nodejs on local environment - reinstall.. try again

npm i asciicast2gif -g

from asciicast2gif.

trev-dev avatar trev-dev commented on July 22, 2024

I definitely only have 1 global on path. What did work for me was following the docker instructions.

from asciicast2gif.

mathieu-aubin avatar mathieu-aubin commented on July 22, 2024

make sure 'gifsicle' is installed, too

from asciicast2gif.

trev-dev avatar trev-dev commented on July 22, 2024

It was :)

from asciicast2gif.

raspiduino avatar raspiduino commented on July 22, 2024

I got the same issue :((

from asciicast2gif.

mathieu-aubin avatar mathieu-aubin commented on July 22, 2024

Okay... well, then i have to say, without certainty, that its a file pdrmission issue. The user cant create/write file (or disk/partirion full) thus, the pipe fails.

How long does it take before it crashes after the output process status?

Why did you do this? That looks like an extra step that has no real good use and which can create some issues in some specific cases.
~cp /tmp/tmpbmwoim06-ascii.cast .

btw, as everything is a file under linux, it also include potential issues at creating folders or accessing them (i dont remember if the temporary png files get dumped to a folder while converting)

as i said before, i dont get this problem using same versions, on now 3 different sysrems. I can see potential for filesystem/permission issues and without more environment details... it doesnt seem to be software related is what i mean.

from asciicast2gif.

raspiduino avatar raspiduino commented on July 22, 2024

Okay... well, then i have to say, without certainty, that its a file pdrmission issue. The user cant create/write file (or disk/partirion full) thus, the pipe fails.

I tried running everything with root permission but still got this issue

from asciicast2gif.

trev-dev avatar trev-dev commented on July 22, 2024

Okay... well, then i have to say, without certainty, that its a file pdrmission issue. The user cant create/write file (or disk/partirion full) thus, the pipe fails.

I tried running everything with root permission but still got this issue

With all of my respect for the writers of this software, you should never have to run it as root. Just use the docker image if you have the stomach for it

from asciicast2gif.

raspiduino avatar raspiduino commented on July 22, 2024

Okay... well, then i have to say, without certainty, that its a file pdrmission issue. The user cant create/write file (or disk/partirion full) thus, the pipe fails.

I tried running everything with root permission but still got this issue

With all of my respect for the writers of this software, you should never have to run it as root. Just use the docker image if you have the stomach for it

I used docker but it failed with the same error :((

from asciicast2gif.

jukefr avatar jukefr commented on July 22, 2024

having the same issue

asciicast2gif testing.json testing.gif
==> Loading testing.json...
==> Spawning PhantomJS renderer...
==> Generating frame screenshots...
node:events:505
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:817:11)
    at Socket._write (node:net:829: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 of (/home/user/.node_modules_global/lib/node_modules/asciicast2gif/main.js:706:266)
    at Function.e [as c] (/home/user/.node_modules_global/lib/node_modules/asciicast2gif/main.js:293:156)
    at /home/user/.node_modules_global/lib/node_modules/asciicast2gif/main.js:295:256
Emitted 'error' event on Socket instance at:
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

from asciicast2gif.

mathieu-aubin avatar mathieu-aubin commented on July 22, 2024

I have no stake in this program and am not part of its develop team but this issue bugw me. It would be nice to have more infos on your environment so at least the issue could be reproducible. It would greatly help in determining the cause...

whish you get it sorted...

from asciicast2gif.

ku1ik avatar ku1ik commented on July 22, 2024

Hey! I just published a successor to this tool: https://github.com/asciinema/agg - please try it instead. There will be no more work on asciicast2gif from me.

from asciicast2gif.

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.