Public bug reported:
Unable to compress js and css after cleaning /usr/share/openstack-
dashboard/static (needed to do this when changing default path from
/horizon to /) on Mitaka and Ubuntu 16.04
Steps to reproduce:
1. Install openstack-dashboard
2. clean /usr/share/openstack-dashboard/static directory
3. Do /usr/share/openstack-dashboard/manage.py collectstatic
It will collect 1285 static files
4. Then try to compress and it will fail:
# /usr/share/openstack-dashboard/manage.py compress
Found 'compress' tags in:
/usr/share/openstack-dashboard/openstack_dashboard/templates/horizon/_conf.html
/usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html
/usr/share/openstack-dashboard/openstack_dashboard/templates/horizon/_scripts.html
Compressing... CommandError: An error occurred during rendering
/usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html:
Couldn't find anything to import: /dashboard/scss/horizon.scss
Extensions: <NamespaceAdapterExtension>, <DjangoExtension>, <CompassExtension>
Search path:
on line 1 of u'string:0c838b58954113a8:\n // My Themes\n@import
"/themes/default/variables";\n\n// Horizon\n@import
"/dashboard/scss/horizon.'
Even disabling ubuntu theme does not help.
openstack-dashboard: Version: 2:9.0.0-0ubuntu2
python-django-horizon: Version: 2:9.0.0-0ubuntu2
# lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
** 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/1574082
Title:
Unable to manually compress js and css
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1574082/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs