compressing static assets fails with xstatic-bootswatch 3.3.7.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
High
|
Unassigned | ||
XStatic-bootswatch |
Invalid
|
Undecided
|
Unassigned | ||
horizon (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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/
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-
openstack-
Package openstack-dashboard is not configured yet.
Paste of above error:
http://
The 3.3.7.0 release of xstatic-bootswatch includes lines such as:
<script src="..
which corresponds to the file in the compression error.
Link to 3.3.7.0 commit of xstatic-bootswatch:
https:/
We currently have the following django and compressor versions in zesty:
python-django | 1.8.7-1ubuntu9 | zesty | source, all
python-
which are within the bounds of global-requirements and upper-constraints:
http://
I also attempted using newer versions of django and compressor, with the same results:
http://
http://
Changed in horizon (Ubuntu): | |
status: | New → Fix Released |
I'm unable to recreate this; as far as I can tell, the compressor shouldn't try to resolve a path inside an HTML file.