thoughtbot / bourbon

A Lightweight Sass Tool Set
https://www.bourbon.io/
MIT License
9.09k stars 878 forks source link

Compass Compile throws an error #396

Closed DrMabuse23 closed 10 years ago

DrMabuse23 commented 10 years ago

Hi when i'am using the new Bourbon i got this exception

    /*
Syntax error: Invalid CSS after "      webkit-image": expected ")", was ": -webkit- + $p..."
        on line 21 of /Users/pascal/htdocs/yii-press/frontend/web/themes/desktop/assetbundle/scss/bourbon/helpers/_linear-angle-parser.scss
        from line 9 of /Users/pascal/htdocs/yii-press/frontend/web/themes/desktop/assetbundle/scss/bourbon/_bourbon.scss
        from line 4 of /Users/pascal/htdocs/yii-press/frontend/web/themes/desktop/assetbundle/scss/application.scss

Backtrace:
/Users/pascal/htdocs/yii-press/frontend/web/themes/desktop/assetbundle/scss/bourbon/helpers/_linear-angle-parser.scss:21
/Users/pascal/htdocs/yii-press/frontend/web/themes/desktop/assetbundle/scss/bourbon/_bourbon.scss:9
/Users/pascal/htdocs/yii-press/frontend/web/themes/desktop/assetbundle/scss/application.scss:4
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:1147:in `expected'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/lexer.rb:206:in `expected!'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:483:in `assert_tok'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:433:in `paren'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:418:in `special_fun'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:413:in `raw'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:337:in `funcall'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:319:in `ident'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:228:in `unary_not'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:228:in `unary_div'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:228:in `unary_minus'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:228:in `unary_plus'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:209:in `times_div_or_mod'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:209:in `plus_or_minus'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:209:in `relational'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:209:in `eq_or_neq'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:209:in `and_expr'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:209:in `or_expr'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:298:in `space'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:283:in `interpolation'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:246:in `expr'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:477:in `assert_expr'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/script/parser.rb:49:in `parse'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:1022:in `sass_script'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:215:in `return_directive'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:174:in `special_directive'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:146:in `directive'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:554:in `block_child'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:546:in `block_contents'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:535:in `block'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:264:in `if_directive'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:174:in `special_directive'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:146:in `directive'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:552:in `block_child'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:546:in `block_contents'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:535:in `block'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:211:in `function_directive'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:174:in `special_directive'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:146:in `directive'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:553:in `block_child'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:543:in `block_contents'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:82:in `stylesheet'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/scss/parser.rb:27:in `parse'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/engine.rb:342:in `_to_tree'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/engine.rb:274:in `to_tree'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/perform.rb:225:in `visit_import'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/base.rb:37:in `visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/perform.rb:100:in `visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/perform.rb:227:in `block in visit_import'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/perform.rb:227:in `map'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/perform.rb:227:in `visit_import'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/base.rb:37:in `visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/perform.rb:100:in `visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/base.rb:53:in `map'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/base.rb:53:in `visit_children'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/perform.rb:109:in `block in visit_children'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/perform.rb:121:in `with_environment'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/perform.rb:108:in `visit_children'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/base.rb:37:in `block in visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/perform.rb:128:in `visit_root'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/base.rb:37:in `visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/perform.rb:100:in `visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/visitors/perform.rb:7:in `visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/tree/root_node.rb:20:in `render'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/engine.rb:315:in `_render'
/Library/Ruby/Gems/2.0.0/gems/sass-3.2.19/lib/sass/engine.rb:262:in `render'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/compiler.rb:139:in `block (2 levels) in compile'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/compiler.rb:126:in `timed'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/compiler.rb:138:in `block in compile'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/logger.rb:45:in `red'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/compiler.rb:137:in `compile'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/compiler.rb:118:in `compile_if_required'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/compiler.rb:103:in `block (2 levels) in run'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/compiler.rb:101:in `each'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/compiler.rb:101:in `block in run'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/compiler.rb:126:in `timed'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/compiler.rb:100:in `run'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/commands/update_project.rb:45:in `perform'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/commands/base.rb:18:in `execute'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/commands/project_base.rb:19:in `execute'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/lib/compass/exec/sub_command_ui.rb:15:in `run!'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/bin/compass:30:in `block in <top (required)>'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/bin/compass:44:in `call'
/Library/Ruby/Gems/2.0.0/gems/compass-0.12.5/bin/compass:44:in `<top (required)>'
/usr/bin/compass:23:in `load'
/usr/bin/compass:23:in `<main>'
*/
body:before {
  white-space: pre;
  font-family: monospace;
  content: "Syntax error: Invalid CSS after \"      webkit-image\": expected \")\", was \": -webkit- + $p...\"\A         on line 21 of /Users/pascal/htdocs/yii-press/frontend/web/themes/desktop/assetbundle/scss/bourbon/helpers/_linear-angle-parser.scss\A         from line 9 of /Users/pascal/htdocs/yii-press/frontend/web/themes/desktop/assetbundle/scss/bourbon/_bourbon.scss\A         from line 4 of /Users/pascal/htdocs/yii-press/frontend/web/themes/desktop/assetbundle/scss/application.scss"; }

my apllications .scss

    @import "base",
        "menu",
        "logo",
        "bourbon/bourbon"
//,
//        "bitters/bitters",
//        "neat/neat",
//        "neat/neat-helpers"
;

need more information ?

DrMabuse23 commented 10 years ago

my bad wrong sass version