Comments (4)
You can't provide relative paths like ~/Downloads/271556.cast and ~/Downloads/271556.gif. They don't exist inside docker container.
from asciicast2gif.
You can't provide relative paths like ~/Downloads/271556.cast and ~/Downloads/271556.gif. They don't exist inside docker container.
not sure if that is entirely true or not as i just passed the below commmand on macOS,
docker run --rm -v $PWD:/data asciinema/asciicast2gif -s 2 ./git-squash-commits.json ./wtfff.gif
and it seems the docker process begins to process the path to file, and on a separate note you can see the node process expands ~
to /Users/dsorin
his stacktrace.
All that said, I believe the issue relies in how he has docker configured on his system, 99% sure he/she is running macOS due to seeing the following directory structure /Users/dsorin
and the issue is related to how he/she has setup bind mounted directories within the preferences of the docker app itself, as I was running into the exact same issue as described by @1999 ,but when I moved my recorded cast file to a path specified within the File Sharing tab of docker preferences window, the container was able to process the cast file.
from asciicast2gif.
Error: ENOENT: no such file or directory, open '/Users/dsorin/Downloads/271556.cast'
It evaluates the path correctly based on current host user but that path might not exist in guest docker.
from asciicast2gif.
Closing as asciicast2gif is dead. Try https://github.com/asciinema/agg instead.
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
- [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
- Fails with error write EPIPE on local file HOT 17
- [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.