yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47195
[Bug 1550286] Re: dynamic themes breaks compress offline
Reviewed: https://review.openstack.org/286483
Committed: https://git.openstack.org/cgit/openstack/magnum-ui/commit/?id=32895916e216b92d2fa78162655faf1b4a14e4ff
Submitter: Jenkins
Branch: master
commit 32895916e216b92d2fa78162655faf1b4a14e4ff
Author: shu-mutou <shu-mutou@xxxxxxxxxxxxx>
Date: Tue Mar 1 19:23:56 2016 +0900
Remove unnecessary import lines from scss files
According to following changes in Horizon, some scss
importations become unnecessary.
https://review.openstack.org/277220/
And the above change occurs critical django error, so
dashboards doesn't work.
This patch removes these unnecessary importations.
Change-Id: I6041305710ae5b1832ba708fbc4cc32cf61087cb
Closes-Bug: #1550286
** Changed in: magnum-ui
Status: In Progress => Fix Released
--
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/1550286
Title:
dynamic themes breaks compress offline
Status in OpenStack Dashboard (Horizon):
Invalid
Status in Magnum UI:
Fix Released
Bug description:
./manage.py compress --force
PyGIWarning: GnomeKeyring was imported without specifying a version first. Use gi.require_version('GnomeKeyring', '1.0') before import to ensure that the right version gets loaded.RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
WARNING:py.warnings:RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
RemovedInDjango19Warning: "requires_model_validation" is deprecated in favor of "requires_system_checks".
WARNING:py.warnings:RemovedInDjango19Warning: "requires_model_validation" is deprecated in favor of "requires_system_checks".
RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
WARNING:py.warnings:RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
Found 'compress' tags in:
/home/mrunge/tmp/horizon/openstack_dashboard/templates/horizon/_scripts.html
/home/mrunge/tmp/horizon/openstack_dashboard/templates/_stylesheets.html
/home/mrunge/tmp/horizon/openstack_dashboard/templates/horizon/_conf.html
RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
WARNING:py.warnings:RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
CommandError: An error occured during rendering /home/mrunge/tmp/horizon/openstack_dashboard/templates/horizon/_scripts.html: 'horizon/lib/angular/angular-cookies.js' isn't accessible via COMPRESS_URL ('/static/') and can't be compressed
This happens after https://github.com/openstack/horizon/commit/f9aaa766733f390abee376694bba2dcdcd23975c
was merged.
If following lines are written in scss files in plugins, django outputs critical errors
and all dashboard doesn't work.
@import "/custom/variables";
@import "/dashboard/scss/variables";
@import "/custom/styles";
- django errors
SassImportError: Couldn't find anything to import: /custom/variables
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1550286/+subscriptions
References