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
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1568342

Title:
  Ubuntu Mitaka package fails to upgrade

Status in OpenStack Dashboard (Horizon):
  New

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@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.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to