← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1550286] Re: dynamic themes breaks compress offline

 

** Also affects: magnum-ui
   Importance: Undecided
       Status: New

** Changed in: magnum-ui
       Status: New => In Progress

** Changed in: magnum-ui
     Assignee: (unassigned) => Shu Muto (shu-mutou)

** Description changed:

-  ./manage.py compress --force
+ ./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
+  /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

-- 
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:
  In Progress

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