← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1155765] Re: Offline compression enabled but key is missing from offline manifest

 

** Changed in: horizon
       Status: Fix Committed => 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/1155765

Title:
  Offline compression enabled but key is missing from offline manifest

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  After enabling debug, got the following error in the browser on IE10
  while FireFox and Chrome silently return to a cleared log in screen:

  OfflineGenerationError at /admin/
  You have offline compression enabled but key "6c3f4b40154653aaf8dd6e0393186d0a" is missing from offline manifest. You may need to run "python manage.py compress".Request Method: GET 
  Request URL: http://10.10.22.225/horizon/admin/ 
  Django Version: 1.4.1 
  Exception Type: OfflineGenerationError 
  Exception Value: You have offline compression enabled but key "6c3f4b40154653aaf8dd6e0393186d0a" is missing from offline manifest. You may need to run "python manage.py compress". 
  Exception Location: /usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py in render_offline, line 72 
  Python Executable: /usr/bin/python 
  Python Version: 2.7.3 
  Python Path: ['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
   '/usr/lib/python2.7',
   '/usr/lib/python2.7/plat-linux2',
   '/usr/lib/python2.7/lib-tk',
   '/usr/lib/python2.7/lib-old',
   '/usr/lib/python2.7/lib-dynload',
   '/usr/local/lib/python2.7/dist-packages',
   '/usr/lib/python2.7/dist-packages',
   '/usr/share/openstack-dashboard/',
   '/usr/share/openstack-dashboard/openstack_dashboard'] 
  Server time: Fri, 15 Mar 2013 19:40:31 +0000 

  Error during template rendering
  In template /usr/lib/python2.7/dist-packages/horizon/templates/horizon/_conf.html, error at line 3

  You have offline compression enabled but key "6c3f4b40154653aaf8dd6e0393186d0a" is missing from offline manifest. You may need to run "python manage.py compress".
  1 {% load compress %}
   
  2  
  3 {% compress js %}
   
  4 <script src='{{ STATIC_URL }}horizon/js/horizon.js' type='text/javascript' charset='utf-8'></script>
   
  5 <script src='{{ STATIC_URL }}horizon/js/horizon.conf.js' type='text/javascript' charset='utf-8'></script>
   
  6 <script type='text/javascript' charset='utf-8'>
   
  7 /* Storage for backend configuration variables which the frontend
   
  8  * should be aware of.
   
  9  */
   
  10 horizon.conf.debug = {{ debug|yesno:"true,false" }};
   
  11 horizon.conf.static_url = "{{ STATIC_URL }}";
   
  12 horizon.conf.ajax = {
   
  13   queue_limit: {{ HORIZON_CONFIG.ajax_queue_limit|default:"null" }}

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1155765/+subscriptions