Giter Club home page Giter Club logo

Comments (4)

umrashrf avatar umrashrf commented on September 23, 2024

You can't provide relative paths like ~/Downloads/271556.cast and ~/Downloads/271556.gif. They don't exist inside docker container.

from asciicast2gif.

ipatch avatar ipatch commented on September 23, 2024

You can't provide relative paths like ~/Downloads/271556.cast and ~/Downloads/271556.gif. They don't exist inside docker container.

@umrashrf

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.

Screen Shot 2019-11-04 at 1 38 18 PM

from asciicast2gif.

umrashrf avatar umrashrf commented on September 23, 2024

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.

ku1ik avatar ku1ik commented on September 23, 2024

Closing as asciicast2gif is dead. Try https://github.com/asciinema/agg instead.

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.