Ubuntu Mitaka package fails to upgrade with SyntaxError: Undefined variable: '$helpPanelWidthDefault'.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
horizon (Ubuntu) |
Fix Released
|
Undecided
|
Corey Bryant |
Bug Description
Upgrading Mitaka from Liberty fails with:
Unpacking openstack-dashboard (2:9.0.
.
.
.
Collecting and compressing static assets...
CommandError: An error occurred during rendering /usr/share/
$helpPanelW
on line 51 of framework/
imported from line 50 of framework/
imported from line 50 of framework/
imported from line 6 of dashboard/
imported from line 1 of u'string:
Traceback:
File "/usr/lib/
return ast.evaluate(self, divide=divide)
File "/usr/lib/
raise SyntaxError(
SyntaxError: Undefined variable: '$helpPanelWidt
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/
Changed in horizon (Ubuntu): | |
assignee: | nobody → Corey Bryant (corey.bryant) |
status: | Confirmed → Fix Committed |
/usr/share/ openstack- dashboard/ static/ {auth, bootstrap, custom, framework, scss, themes} should be deleted