Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Compass CSS build error #241

mh00h opened this Issue · 5 comments

2 participants


After running python collect static, I cd to /var/www/static/zinnia and ran compass compile but receive the following error:

    error sass/screen.scss (Line 27 of sass/partials/_layouts.scss: Mixin container takes 0 arguments but 2 were passed.)

After this, no CSS will be served by the server, but the image below appears on the site. Does anybody know how to fix this?




why do you ran compass compile after the collect static process ? It's not really logic...

About the Sass error, this is certainly related to version of the gems used.
Take a look at for having more informations about the versions used.

@Fantomas42 Fantomas42 closed this

I am very new to this. My understanding is that you collectstatic to create a template directory that can then be further edited, preserving (and overriding) zinnia's system default css in the /usr path. Then, .scss files can be edited in /var/www/stat/c/zinnia/ and recompiled using compass.

It also appears my gems are are up-to-date:

$gem list
chunky_png (1.2.8)
compass (0.12.2)
compass-susy-plugin (0.9)
compass-validator (3.0.1)
fssm (0.2.10)
sass (3.2.8)
stitch (0.1.6)
susy (1.0.8)

I reverted to the previous gems and continue to get these errors. After discussing this topic at, our best guess is that there is either a missing file or that mixin just shouldn't be getting passed the two variables that it is currently getting. However, even when editing those variables out, compass still refuses to compile. I think there's something to this error that goes beyond the container mixin.


I got this fixed by uninstalling the depreciated gem compass-susy-plugin.


Ok I see.
Glad that you have found the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.