[Bug 1574082] Re: Unable to manually compress js and css
Marcin Zbik
zbikmarc+launchpad at gmail.com
Wed Apr 27 20:59:45 UTC 2016
Hello Corey,
I think its latest one from repository: 2.0-1ubuntu1 (this version is installed)
--
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/1574082
Title:
Unable to manually compress js and css
Status in horizon package in Ubuntu:
Confirmed
Bug description:
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 at import
"/themes/default/variables";\n\n// Horizon\n at 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1574082/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list