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.
I tried compressing the assets manually:
ubuntu@ juju-jpos- machine- 16:/usr/ share/openstack -dashboard$ sudo ./manage.py compress --force
/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 openstack- dashboard- ubuntu- theme/templates /_stylesheets. html: Error evaluating expression: size-small
Found 'compress' tags in:
Compressing... CommandError: An error occured during rendering /usr/share/
$font-
From /usr/share/ openstack- dashboard/ static/ dashboard/ scss/_context_ selection. scss:20 \n$icon- font-path: "../../bo'...>:141 python2. 7/dist- packages/ scss/expression .py", line 130, in evaluate_expression python2. 7/dist- packages/ scss/expression .py", line 359, in evaluate "Undefined variable: '%s'." % self.name)
...imported from <string u'// bootstrap overrides:
Traceback:
File "/usr/lib/
return ast.evaluate(self, divide=divide)
File "/usr/lib/
raise SyntaxError(
SyntaxError: Undefined variable: '$font-size-small'.
tweaking DEBUG = True and re-running fixes this - so looks like something todo with lookup paths.