Just loaded 7.x-5.x-dev

Syntax error: File to import not found or unreadable: zen.
     Load paths:
       C:/Program Files/Scout/vendor/gems/gems/compass-0.11.5/frameworks/blueprint/stylesheets
       C:/Program Files/Scout/vendor/gems/gems/compass-0.11.5/frameworks/compass/stylesheets
       C:/Program Files/Scout/vendor/gems/gems/compass-960-plugin-0.10.4/stylesheets
       C:/Program Files/Scout/vendor/gems/gems/yui-compass-plugin-0.3/stylesheets
            on line 102 of C:/wamp/www/drupal7/sites/all/themes/lcn_zen/sass/_base.scss
            from line 9 of C:/wamp/www/drupal7/sites/all/themes/lcn_zen/sass/styles.scss


gausarts’s picture

I got the same errors, and sorted this out with following steps:

1. Just in case a miss, do gem install zen-grids as found at http://zengrids.com/,
2. Uncomment require 'zen-grids' in config.rb line #29.
3. Do compass clean at sub-theme directory, to clean up previous css with some errors all over the css files.
4. Do compass compile at sub-theme directory to regenerate new css files.
5. The last step is to follow direction from here:
So instead of:
sass --watch sass:css
I did:
sass --compass --watch sass:css

And new edits at sass directory are updated in css directory. So far so good, hope no more errors :)

h4rrydog’s picture

I believe you can just do:
compass --watch

It all should be taken care of by the config.rb file that is included in the STARTERKIT. It specifies the sass/css directories and also points to the "sass-extensions" directory where an included copy of zen-grids can be found.

Do remember to uncomment require zen-grids in config.rb as mentioned in #1 if you want to use that compass library.

NancyDru’s picture

I should make a point of saying that I am one of those poor, misguided souls who still uses Windows.

h4rrydog’s picture

:D I'm using Windows too, although I have to admit that I do most of my dev work inside a VirtualBox VM running Ubuntu.

Regardless, AFAIK, compass --watch should work from CMD as well, as long as you have ruby, sass and compass installed correctly.

JohnAlbin’s picture

Category: bug » support
Status: Active » Fixed

sass --watch sass:css will never work since the Zen theme requires Compass extensions.

Instead, use: compass watch

Status: Fixed » Closed (fixed)

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