Hi,

I've installed the Aurora base theme and downloaded the latest Aurora gem without issue. Creating an initial sub-theme via the terminal seems to be fine too. The problem seems to occur when trying to compile an .scss file. I've not made any changes to the sub-theme at all - it's a vanilla install of Aurora with no grid.

Codekit gives me the following error on compile:

Compass was unable to compile one or more files in the project:
LoadError on line 161 of /Applications/Codekit.app/Contents/Resources/engines/compass/bin/.../lib/compass/configuration/data.rb: no such file to load -- aurora

I then tried in LiveReload. The error pop-up showed the following:

error sass/ie.scss (Line 20 of _fluid-media.scss: Invalid CSS after "    @extend ": expected selector_sequence, was "%scaling-elemen...")
    error sass/print.scss (Line 20 of _fluid-media.scss: Invalid CSS after "    @extend ": expected selector_sequence, was "%scaling-elemen...")
    error sass/style.scss (Line 20 of _fluid-media.scss: Invalid CSS after "    @extend ": expected selector_sequence, was "%scaling-elemen...")

whilst the incorrectly compiled style.css contained the following info:

/*
Syntax error: Invalid CSS after "    @extend ": expected selector_sequence, was "%scaling-elemen..."
        on line 20 of /Library/Ruby/Gems/1.8/gems/toolkit-0.1.15/stylesheets/toolkit/_fluid-media.scss
        from line 14 of /Library/Ruby/Gems/1.8/gems/toolkit-0.1.15/stylesheets/_toolkit.scss
        from line 1 of /Library/Ruby/Gems/1.8/gems/compass-aurora-0.7.2/stylesheets/_aurora.scss
        from line 20 of /Users/dan/Sites/CMS/aurora/sites/all/themes/whitebread/sass/partials/global/_base.scss
        from line 12 of /Users/dan/Sites/CMS/aurora/sites/all/themes/whitebread/sass/style.scss
Backtrace:
/Library/Ruby/Gems/1.8/gems/toolkit-0.1.15/stylesheets/toolkit/_fluid-media.scss:20
/Library/Ruby/Gems/1.8/gems/toolkit-0.1.15/stylesheets/_toolkit.scss:14
/Library/Ruby/Gems/1.8/gems/compass-aurora-0.7.2/stylesheets/_aurora.scss:1
/Users/dan/Sites/CMS/aurora/sites/all/themes/whitebread/sass/partials/global/_base.scss:20
/Users/dan/Sites/CMS/aurora/sites/all/themes/whitebread/sass/style.scss:12
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:1014:in `expected'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:960:in `expected'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:942:in `expr!'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:271:in `extend_directive'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:153:in `send'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:153:in `special_directive'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:126:in `directive'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:481:in `block_child'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:470:in `block_contents'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:462:in `block'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:250:in `else_block'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:237:in `if_directive'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:153:in `send'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:153:in `special_directive'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:126:in `directive'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:481:in `block_child'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:470:in `block_contents'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:462:in `block'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:165:in `mixin_directive'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:153:in `send'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:153:in `special_directive'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:126:in `directive'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:480:in `block_child'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:473:in `block_contents'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:58:in `stylesheet'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/scss/parser.rb:27:in `parse'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/engine.rb:326:in `_to_tree'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/engine.rb:258:in `to_tree'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:144:in `visit_import'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/base.rb:37:in `send'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:18:in `visit'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:146:in `visit_import'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:146:in `map'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:146:in `visit_import'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/base.rb:37:in `send'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:18:in `visit'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:146:in `visit_import'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:146:in `map'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:146:in `visit_import'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/base.rb:37:in `send'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:18:in `visit'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:146:in `visit_import'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:146:in `map'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:146:in `visit_import'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/base.rb:37:in `send'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:18:in `visit'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/base.rb:53:in `visit_children'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/base.rb:53:in `map'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/base.rb:53:in `visit_children'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:27:in `visit_children'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:39:in `with_environment'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:26:in `visit_children'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:47:in `visit_root'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/base.rb:37:in `send'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:18:in `visit'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:7:in `send'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/visitors/perform.rb:7:in `visit'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/tree/root_node.rb:20:in `render'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/engine.rb:299:in `_render'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/sass/lib/sass/../sass/engine.rb:246:in `render'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/compiler.rb:140:in `compile'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/compiler.rb:126:in `timed'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/compiler.rb:139:in `compile'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/logger.rb:45:in `red'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/compiler.rb:138:in `compile'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/compiler.rb:118:in `compile_if_required'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/compiler.rb:103:in `run'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/compiler.rb:101:in `each'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/compiler.rb:101:in `run'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/compiler.rb:126:in `timed'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/compiler.rb:100:in `run'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/commands/update_project.rb:45:in `perform'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/commands/base.rb:18:in `execute'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/commands/project_base.rb:19:in `execute'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/lib/compass/exec/sub_command_ui.rb:15:in `run!'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/bin/compass:29
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/bin/compass:43:in `call'
/Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib/compass/bin/compass:43
*/
body:before {
  white-space: pre;
  font-family: monospace;
  content: "Syntax error: Invalid CSS after "    @extend ": expected selector_sequence, was "%scaling-elemen..."\A         on line 20 of /Library/Ruby/Gems/1.8/gems/toolkit-0.1.15/stylesheets/toolkit/_fluid-media.scss\A         from line 14 of /Library/Ruby/Gems/1.8/gems/toolkit-0.1.15/stylesheets/_toolkit.scss\A         from line 1 of /Library/Ruby/Gems/1.8/gems/compass-aurora-0.7.2/stylesheets/_aurora.scss\A         from line 20 of /Users/dan/Sites/CMS/aurora/sites/all/themes/whitebread/sass/partials/global/_base.scss\A         from line 12 of /Users/dan/Sites/CMS/aurora/sites/all/themes/whitebread/sass/style.scss"; }

Any thoughts you have on this one would be most appreciated.

Regards

Dan

Comments

Status:Active» Fixed

Make sure you've got LiveReload and/or CodeKit up to date, and that they are using Sass 3.2. The %selector was introduced in Sass 3.2 and as such will break if you're using an earlier version. For LiveReload, open up the server, click Options next to "Compile Less, Sass, etc…), and make sure "Use System Ruby" is checked for Sass. For CodeKit, Chris Coyier has a good write up on how to get it working. All that being said, I suggest you compile using the terminal commands. Go into your sub theme in your terminal, make sure you're in the folder that has your config.rb file, and type compass compile for a one time compile or compass watch to have Compass poll for changes.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.