Public bug reported:

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@import 
"/themes/ubuntu/variables";\n\n// Horizon\n@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.

** Affects: horizon (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1568971

Title:
  Ubuntu Mitaka package fails to upgrade with SyntaxError: Undefined
  variable: '$helpPanelWidthDefault'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1568971/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to