Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

csscss hanging/giving no output #91

Open
haydenzone opened this issue Oct 18, 2014 · 2 comments
Open

csscss hanging/giving no output #91

haydenzone opened this issue Oct 18, 2014 · 2 comments

Comments

@haydenzone
Copy link

Hi,

I'm not completely sure if this is a bug, or if I'm not doing something correct.

OS: OSX Yosemite 10.10 (tried on OSX Mavericks 10.9.5)
Ruby Version: ruby 2.0.0p481
CSSCSS Version: 1.3.3

Installation steps:

  1. Install brew
  2. brew install gem
  3. gem install csscss

test.css:
body {
background-color: red;
}
body {
background-color: red;
}

Command:
csscss -v test.css

Expected: Some indication that body has a duplicate tag
Actuall: nothing

Also,

When I try this command:
csscss https://webassetimvu-a.akamaihd.net/asset/e78ffdf5a603e786/build/web3d/web3d-app.css
It just hangs.

It also hangs when I pull down the file and run it directly on that file.

When I kill the file, I get this call stack:
from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/redundancy_analyzer.rb:100:in ==' from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/redundancy_analyzer.rb:100:inblock (2 levels) in redundancies'
from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/redundancy_analyzer.rb:99:in each' from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/redundancy_analyzer.rb:99:inblock in redundancies'
from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/redundancy_analyzer.rb:97:in each' from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/redundancy_analyzer.rb:97:ineach_with_index'
from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/redundancy_analyzer.rb:97:in redundancies' from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/cli.rb:40:inexecute'
from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/cli.rb:17:in run' from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/lib/csscss/cli.rb:200:inrun'
from /Library/Ruby/Gems/2.0.0/gems/csscss-1.3.3/bin/csscss:4:in <top (required)>' from /usr/bin/csscss:23:inload'
from /usr/bin/csscss:23:in `

'

Let me know if you have any other questions. Pretty slick tool and I'm excited to get it working!

Thanks,
Hayden

@aesnyder
Copy link

Any resolution on this? Different errors but similar results over here.

@btilford
Copy link

Same here on Ubuntu 15.10

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants