Comment 8 for bug 1379761

Revision history for this message
James Page (james-page) wrote :

I tried compressing the assets manually:

ubuntu@juju-jpos-machine-16:/usr/share/openstack-dashboard$ sudo ./manage.py compress --force
Found 'compress' tags in:
        /usr/lib/python2.7/dist-packages/horizon/templates/horizon/_conf.html
        /usr/share/openstack-dashboard-ubuntu-theme/templates/_stylesheets.html
        /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html
        /usr/lib/python2.7/dist-packages/horizon/templates/horizon/_scripts.html
Compressing... CommandError: An error occured during rendering /usr/share/openstack-dashboard-ubuntu-theme/templates/_stylesheets.html: Error evaluating expression:
    $font-size-small

From /usr/share/openstack-dashboard/static/dashboard/scss/_context_selection.scss:20
...imported from <string u'// bootstrap overrides:\n$icon-font-path: "../../bo'...>:141
Traceback:
  File "/usr/lib/python2.7/dist-packages/scss/expression.py", line 130, in evaluate_expression
    return ast.evaluate(self, divide=divide)
  File "/usr/lib/python2.7/dist-packages/scss/expression.py", line 359, in evaluate
    raise SyntaxError("Undefined variable: '%s'." % self.name)
SyntaxError: Undefined variable: '$font-size-small'.

tweaking DEBUG = True and re-running fixes this - so looks like something todo with lookup paths.