Giter Site home page Giter Site logo

csscss quits with ruby error about csscss HOT 8 CLOSED

zmoazeni avatar zmoazeni commented on June 1, 2024
csscss quits with ruby error

from csscss.

Comments (8)

jonschoning avatar jonschoning commented on June 1, 2024
$ csscss CSSCSS_DEBUG=true ticketing.css 
/home/jon/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/open-uri.rb:35:in `initialize': No such file or directory -     CSSCSS_DEBUG=true (Errno::ENOENT)
    from /home/jon/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/open-uri.rb:35:in `open'
    from /home/jon/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/open-uri.rb:35:in `open'
    from /home/jon/.rvm/gems/ruby-1.9.3-p385/gems/csscss-1.0.0/lib/csscss/cli.rb:42:in `block in execute'
    from /home/jon/.rvm/gems/ruby-1.9.3-p385/gems/csscss-1.0.0/lib/csscss/cli.rb:20:in `map'
    from /home/jon/.rvm/gems/ruby-1.9.3-p385/gems/csscss-1.0.0/lib/csscss/cli.rb:20:in `execute'
    from /home/jon/.rvm/gems/ruby-1.9.3-p385/gems/csscss-1.0.0/lib/csscss/cli.rb:15:in `run'
    from /home/jon/.rvm/gems/ruby-1.9.3-p385/gems/csscss-1.0.0/lib/csscss/cli.rb:142:in `run'
    from /home/jon/.rvm/gems/ruby-1.9.3-p385/gems/csscss-1.0.0/bin/csscss:4:in `<top (required)>'
    from /home/jon/.rvm/gems/ruby-1.9.3-p385/bin/csscss:19:in `load'
    from /home/jon/.rvm/gems/ruby-1.9.3-p385/bin/csscss:19:in `<main>'
    from /home/jon/.rvm/gems/ruby-1.9.3-p385/bin/ruby_noexec_wrapper:14:in `eval'
    from /home/jon/.rvm/gems/ruby-1.9.3-p385/bin/ruby_noexec_wrapper:14:in `<main>'

from csscss.

zmoazeni avatar zmoazeni commented on June 1, 2024

Flip the order. CSSCSS_DEBUG=true csscss ...

Using an env variable was a mistake. I'm going to change that to a --debug switch soon

from csscss.

nvartolomei avatar nvartolomei commented on June 1, 2024

Not so fast.

 $ CSSCSS_DEBUG=true csscss stylesheet.css
Had a problem parsing the css at line: 1, column: 1
Failed to match sequence (SPACE? blocks:((COMMENT / NESTED_RULESET / RULESET){1, }) SPACE?) at line 870 char 1.
`- Don't know what to do with "}\n\n.btnfil" at line 870 char 1.

from csscss.

nvartolomei avatar nvartolomei commented on June 1, 2024

Sorry, my bad.

from csscss.

nvartolomei avatar nvartolomei commented on June 1, 2024

Another bug discovered instead, you see it always says line: 1, column: 1

from csscss.

zmoazeni avatar zmoazeni commented on June 1, 2024

Yeah, that's on my plate to fix. Saw another bug report mentioning that, but ai don't have the link.

Let me know if you folks run into anything else.

from csscss.

everyonme avatar everyonme commented on June 1, 2024

fixed yet ? i met the same problem

D:/Ruby193/lib/ruby/1.9.1/open-uri.rb:35:in initialize': No such file or direct ory - xx.css (Errno::ENOENT) from D:/Ruby193/lib/ruby/1.9.1/open-uri.rb:35:inopen'
from D:/Ruby193/lib/ruby/1.9.1/open-uri.rb:35:in open' from D:/Ruby193/lib/ruby/gems/1.9.1/gems/csscss-1.3.2/lib/csscss/cli.rb: 195:inload_css_file'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/csscss-1.3.2/lib/csscss/cli.rb:
34:in block in execute' from D:/Ruby193/lib/ruby/gems/1.9.1/gems/csscss-1.3.2/lib/csscss/cli.rb: 24:inmap'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/csscss-1.3.2/lib/csscss/cli.rb:
24:in execute' from D:/Ruby193/lib/ruby/gems/1.9.1/gems/csscss-1.3.2/lib/csscss/cli.rb: 17:inrun'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/csscss-1.3.2/lib/csscss/cli.rb:
200:in run' from D:/Ruby193/lib/ruby/gems/1.9.1/gems/csscss-1.3.2/bin/csscss:4:in<
top (required)>'
from D:/Ruby193/bin/csscss:23:in load' from D:/Ruby193/bin/csscss:23:in

'

from csscss.

nvartolomei avatar nvartolomei commented on June 1, 2024

No, it's not the same problem, are you sure xx.css exists?

from csscss.

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.