Comments (17)
I encountered this same error today. It occurred when I tried to convert the same file locally or over HTTP.
from asciicast2gif.
Same error experienced
from asciicast2gif.
Same with node v17+. Error also occurs with remote conversion attempts
from asciicast2gif.
Also happening for me with Node version 16.14, local and remote
from asciicast2gif.
Also happening for me with Node version 16.15, local and remote
from asciicast2gif.
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.
I definitely only have 1 global on path. What did work for me was following the docker instructions.
from asciicast2gif.
make sure 'gifsicle' is installed, too
from asciicast2gif.
It was :)
from asciicast2gif.
I got the same issue :((
from asciicast2gif.
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.
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.
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.
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.
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.
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.
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)
- Produced GIF freezes when played HOT 1
- Object has no method 'execSync' HOT 2
- [FR] Add option to specify working/tmp directory HOT 2
- Docker executable cannot read a file (ENOENT) HOT 4
- [FR] change temp dir (improve documentation) HOT 2
- Cache resources exhausted when converting to gif HOT 3
- Fails with ERR_STREAM_DESTROYED HOT 1
- Option to add a delay to the last frame HOT 1
- TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string HOT 6
- Certian grey text won't show HOT 1
- [why?] HOT 7
- wsl install erro HOT 1
- Add margins to generated GIFs HOT 1
- [bug] Error: certificate has expired HOT 4
- FontFaceOnload error HOT 1
- <input-json-path-or-url> HOT 1
- cnpm install asciicast2gif error HOT 2
- cant display chinese HOT 1
- asciinema2gif: convert-im6.q16: cache resources exhausted HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asciicast2gif.