[Bug 1568971] Re: Ubuntu Mitaka package fails to upgrade with SyntaxError: Undefined variable: '$helpPanelWidthDefault'.
Corey Bryant
corey.bryant at canonical.com
Mon Apr 18 21:25:17 UTC 2016
** Changed in: horizon (Ubuntu)
Assignee: (unassigned) => Corey Bryant (corey.bryant)
** Changed in: horizon (Ubuntu)
Status: Confirmed => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1568971
Title:
Ubuntu Mitaka package fails to upgrade with SyntaxError: Undefined
variable: '$helpPanelWidthDefault'.
Status in horizon package in Ubuntu:
Fix Committed
Bug description:
Upgrading Mitaka from Liberty fails with:
Unpacking openstack-dashboard (2:9.0.0-0ubuntu1~cloud0) over (2:8.0.1-0ubuntu1~cloud0) ...
.
.
.
Collecting and compressing static assets...
CommandError: An error occurred during rendering /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html: Error evaluating expression:
$helpPanelWidthDefault
on line 51 of framework/widgets/help-panel/help-panel.scss
imported from line 50 of framework/widgets/widgets.scss
imported from line 50 of framework/framework.scss
imported from line 6 of dashboard/scss/horizon.scss
imported from line 1 of u'string:ed963272ebc1da4e:\n // My Themes\n at import "/themes/ubuntu/variables";\n\n// Horizon\n at import "/dashboard/scss/horizon.s'
Traceback:
File "/usr/lib/python2.7/dist-packages/scss/calculator.py", line 141, in evaluate_expression
return ast.evaluate(self, divide=divide)
File "/usr/lib/python2.7/dist-packages/scss/ast.py", line 346, in evaluate
raise SyntaxError("Undefined variable: '%s'." % self.name)
SyntaxError: Undefined variable: '$helpPanelWidthDefault'.
dpkg: error processing package openstack-dashboard (--configure):
subprocess installed post-installation script returned error exit status 1
The workaround is to clean up the compiled static assets before
upgrading (/usr/share/openstack-dashboard/openstack_dashboard/static).
I think it should be done in the pre-install script.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1568971/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list