The .css output reads:

Syntax error: File to import not found or unreadable: compass/support.
              Load paths:
                E:/xampp/htdocs/drupal/sites/all/themes/data
                E:/xampp/htdocs/drupal/sites/all/themes/data/sass
        on line 93 of sass/_base.scss

Line 93 of sass/_base.scss reads:
@import "compass/support"; // Add Compass' IE and vendor prefix support variables.

But the zen files don't include any compass/support files

I have installed compass (and Sass) with ruby, and created a compass project in E:/xampp/htdocs/drupal/sites/all/themes/data.

Comments

KrisBulman’s picture

Category: bug » support

This sounds like a Compass installation problem if you are attempting to compile your CSS the right way, for some reason compass isn't loading the required paths. compass/support is a core component of Compass and is loaded by default when you do a:

compass watch to watch for changes or compass compile to do a 1 time compile. Are you using one of these commands?

What does compass -v return?

I wrote some documentation around Compass installation and usage which you may want to read through: http://drupal.org/node/1663122

KrisBulman’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)
burlapdesign’s picture

I'm was running into this issue as well. i'm on a windows system. The output of compass -v gives Compass 0.12.2 (Alnilam)
The way I fixed this was I needed to add the sass and css directories as an existing project to compass.
That is done with the command(s)
cd <[sub]theme directory>
$ compass create . --bare --sass-dir "path/to/sass files" --css-dir "path/to/css" --force
--bare tells compass not to create all the usual stuff it does.
--force is needed because there should already be a config.rb file and you most likely want to use that one.

Originally found part (bulk) of the answer here: https://groups.google.com/forum/?fromgroups=#!topic/compass-users/w1wZd4bKbGo

JohnAlbin’s picture

Title: Zen .scss trying to import non-existent files » Zen fails to compile Sass due to Compass error on Windows

I'm very confused. Do you mean that Compass on Windows requires some kind of "registration" before compass can compile an existing project that has a config.rb file? That makes no sense to me.

@burlapdesign Can you paste the contents of your new config.rb file so I can see if there is so sort of Windows magic in there that lets Compass compile the project? I think the --force flag overwrote the default zen config.rb file. Thank you!

gapa’s picture

I had a similar problem. Also on windows. But this error showed when I was using PhpStorm 6 with new feature. File watcher. I think the problem was because Sass File Watcher tried to compile only Sass to css and have not used Compass. If i tried to compile sass in command line with compass watch all was ok. Also all was ok when I disabled File Watcher in PhpStorm and used compass as external tool.

br,
Gapa

fejn’s picture

@John Albin: Did you figure out whether the '--force' option overwrites the Zen config.rb file? I'm having a problem similar to the one described here (using Zen 7.5-1) & might try burlapdesign's solution, but I 'd like to avoid accidental 'side-effects' if possible.

Thanks, Jeff

JohnAlbin’s picture

Version: 7.x-5.1 » 7.x-5.x-dev
Status: Postponed (maintainer needs more info) » Active

I'm not a Windows user.

mxr576’s picture

Issue summary: View changes

Here is my working solution on Windows: https://twitter.com/iEMIXER/status/487000070798471169

JohnAlbin’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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