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

csscss hanging/giving no output #91

Description

@haydenzone

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions