Giter Site home page Giter Site logo

Comments (7)

lcorsini avatar lcorsini commented on July 20, 2024 3

that function fails if it cannot find the pygmentize binary, after a pip install pygments it works fine

from mdless.

tbarbette avatar tbarbette commented on July 20, 2024 2

Same thing here on Ubuntu server 18.04. After installing mdless with "snap install mdless" I get the same error.

from mdless.

ttscoff avatar ttscoff commented on July 20, 2024

from mdless.

sorenlouv avatar sorenlouv commented on July 20, 2024

I'm getting exactly the same error.

macOS Mojave 10.14.5 (18F132).
Ruby: ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]

To install mdless I had to use sudo because I was getting this error without it:

Fetching: mdless-0.0.12.gem (100%)
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.

Any other details needed?

from mdless.

ttscoff avatar ttscoff commented on July 20, 2024

from mdless.

k3muri84 avatar k3muri84 commented on July 20, 2024

yep that worked for me too!
but still see on exit:

/Library/Ruby/Gems/2.3.0/gems/mdless-0.0.12/lib/mdless/converter.rb:736:in `write': Broken pipe (Errno::EPIPE)
	from /Library/Ruby/Gems/2.3.0/gems/mdless-0.0.12/lib/mdless/converter.rb:736:in `page'
	from /Library/Ruby/Gems/2.3.0/gems/mdless-0.0.12/lib/mdless/converter.rb:763:in `printout'
	from /Library/Ruby/Gems/2.3.0/gems/mdless-0.0.12/lib/mdless/converter.rb:121:in `initialize'
	from /Library/Ruby/Gems/2.3.0/gems/mdless-0.0.12/bin/mdless:17:in `new'
	from /Library/Ruby/Gems/2.3.0/gems/mdless-0.0.12/bin/mdless:17:in `<top (required)>'
	from /usr/local/bin/mdless:22:in `load'
	from /usr/local/bin/mdless:22:in `<main>'

from mdless.

ttscoff avatar ttscoff commented on July 20, 2024

Should be fixed in the latest release. Please gem update mdless and let me know if you still have any issues.

from mdless.

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.