[openstack-dev] hoirzon folsom compressor errors

Adam Gandelman adamg at canonical.com
Sun Oct 28 08:56:50 UTC 2012


On 10/26/2012 06:03 PM, andi abes wrote:
>
> I have:
> python-django-horizon                               2012.2-0ubuntu2~cloud0
>
> which seems to have correctly pulled in:
> python-compressor                                   1.1.2-0ubuntu5~cloud0
>
> (did have to install node-less manually, but I guess that makes sense,
> if you choose a different lessc provide (e.g. the ruby variant).
>
> That said, still getting the same errors. Any other pointers?
>

The Ubuntu packages are now setup to install a dashboard that is 
configured to use offline compression.  You should have 
'COMPRESS_OFFLINE = True' set in 
/etc/openstack-dashboard/local_settings.py.  Perhaps you're running from 
an outdated or custom local_settings that does not set this? With 
offline compression enabled, the dashboard uses pre-compressed CSS + JS  
that is supplied with the package (installled in 
/usr/share/openstack-dashboard/static/dashboard/{css, js}/), and does 
not rely on lessc or any other external compressor utility.

-adam



More information about the OpenStack-dev mailing list