[Bug 1643964] Re: compressing static assets fails with xstatic-bootswatch 3.3.7.0

Corey Bryant corey.bryant at canonical.com
Mon Nov 28 21:33:51 UTC 2016


** Changed in: horizon (Ubuntu)
       Status: New => Fix Released

-- 
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/1643964

Title:
  compressing static assets fails with xstatic-bootswatch 3.3.7.0

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in XStatic-bootswatch:
  Invalid
Status in horizon package in Ubuntu:
  Fix Released

Bug description:
  While packaging horizon for ocata milestone 1, we are hitting the
  following error while compressing static assets:

  CommandError: An error occurred during rendering /usr/share/openstack-dashboard/openstack_dashboard/templates/horizon/_scripts.html: '\"../bower_components/respond/dest/respond.min.js\"' isn't accessible via COMPRESS_URL ('/horizon/static/') and can't be compressed
  dpkg: error processing package openstack-dashboard (--configure):
   subprocess installed post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of autopkgtest-satdep:
   autopkgtest-satdep depends on openstack-dashboard (>= 0~); however:
    Package openstack-dashboard is not configured yet.

  dpkg: error processing package autopkgtest-satdep (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of openstack-dashboard-ubuntu-theme:
   openstack-dashboard-ubuntu-theme depends on openstack-dashboard (= 3:11.0.0~b1-0ubuntu1); however:
    Package openstack-dashboard is not configured yet.

  Paste of above error:
  http://pastebin.ubuntu.com/23513344/

  The 3.3.7.0 release of xstatic-bootswatch includes lines such as:
  <script src="../bower_components/respond/dest/respond.min.js"></script>

  which corresponds to the file in the compression error.

  Link to 3.3.7.0 commit of xstatic-bootswatch:
  https://github.com/openstack/xstatic-bootswatch/commit/49c0d56698bc14ae5e5c18cc00c3f2e290d2e724

  We currently have the following django and compressor versions in zesty:
  python-django            | 1.8.7-1ubuntu9    | zesty            | source, all
  python-django-compressor | 2.0-3ubuntu1      | zesty            | source, all

  which are within the bounds of global-requirements and upper-constraints:
  http://paste.ubuntu.com/23517114/

  I also attempted using newer versions of django and compressor, with the same results:
  http://paste.ubuntu.com/23517443/
  http://paste.ubuntu.com/23517845/

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



More information about the Ubuntu-openstack-bugs mailing list