Posted by NancyDru on August 18, 2012 at 11:25pm
4 followers
Jump to:
| Project: | Zen |
| Version: | 7.x-5.x-dev |
| Component: | CSS/SASS/HTML markup |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Just loaded 7.x-5.x-dev
Syntax error: File to import not found or unreadable: zen.
Load paths:
C:/wamp/www/drupal7/sites/all/themes/lcn_zen/sass
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
Compass::SpriteImporter
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
Comments
#1
I got the same errors, and sorted this out with following steps:
1. Just in case a miss, do
gem install zen-gridsas found at http://zengrids.com/,2. Uncomment
require 'zen-grids'in config.rb line #29.3. Do
compass cleanat sub-theme directory, to clean up previous css with some errors all over the css files.4. Do
compass compileat sub-theme directory to regenerate new css files.5. The last step is to follow direction from here:
http://stackoverflow.com/questions/7815114/compiling-sass-using-compass-...
So instead of:
sass --watch sass:cssI did:
sass --compass --watch sass:cssAnd new edits at sass directory are updated in css directory. So far so good, hope no more errors :)
#2
I believe you can just do:
compass --watchIt 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.
#3
I should make a point of saying that I am one of those poor, misguided souls who still uses Windows.
#4
: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 --watchshould work from CMD as well, as long as you have ruby, sass and compass installed correctly.