← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1663213] [NEW] OfflineGenerationError after adding a html file

 

Public bug reported:

I am adding new one html file.

{% extends 'base.html' %}
{% load i18n %}
{% block title %}{% trans "info" %}{% endblock %}
{% block main %}
<div class="row">
  <div class="col-sm-12">
    {{ tab_group.render }}
  </div>
</div>
{% endblock %}

But i am getting below error


OfflineGenerationError at /admin/rackhd/
You have offline compression enabled but key "0a65c041a6b9d69baa764b57993373e8" is missing from offline manifest. You may need to run "python manage.py compress".
Request Method:	GET
Request URL:	http://10.16.134.91/dashboard/admin/rackhd/
Django Version:	1.8.17
Exception Type:	OfflineGenerationError
Exception Value:	
You have offline compression enabled but key "0a65c041a6b9d69baa764b57993373e8" is missing from offline manifest. You may need to run "python manage.py compress".
Exception Location:	/usr/local/lib/python2.7/dist-packages/compressor/templatetags/compress.py in render_offline, line 71
Python Executable:	/usr/bin/python
Python Version:	2.7.6
Python Path:	
['/opt/stack/horizon',
 '/opt/stack/keystone',
 '/opt/stack/swift',
 '/opt/stack/glance',
 '/opt/stack/neutron',
 '/opt/stack/nova',
 '/opt/stack/ironic',
 '/opt/stack/horizon',
 '/opt/stack/tempest',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/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/lib/python2.7/dist-packages/PILcompat',
 '/usr/lib/python2.7/dist-packages/gtk-2.0',
 '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
 '/opt/stack/horizon/openstack_dashboard']
Server time:	Thu, 9 Feb 2017 11:34:30 +0000
Error during template rendering


I made COMPREE_OFFLINE = False or I tried command python manage.py compress. Still I am getting errors.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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/1663213

Title:
  OfflineGenerationError after adding a html file

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I am adding new one html file.

  {% extends 'base.html' %}
  {% load i18n %}
  {% block title %}{% trans "info" %}{% endblock %}
  {% block main %}
  <div class="row">
    <div class="col-sm-12">
      {{ tab_group.render }}
    </div>
  </div>
  {% endblock %}

  But i am getting below error

  
  OfflineGenerationError at /admin/rackhd/
  You have offline compression enabled but key "0a65c041a6b9d69baa764b57993373e8" is missing from offline manifest. You may need to run "python manage.py compress".
  Request Method:	GET
  Request URL:	http://10.16.134.91/dashboard/admin/rackhd/
  Django Version:	1.8.17
  Exception Type:	OfflineGenerationError
  Exception Value:	
  You have offline compression enabled but key "0a65c041a6b9d69baa764b57993373e8" is missing from offline manifest. You may need to run "python manage.py compress".
  Exception Location:	/usr/local/lib/python2.7/dist-packages/compressor/templatetags/compress.py in render_offline, line 71
  Python Executable:	/usr/bin/python
  Python Version:	2.7.6
  Python Path:	
  ['/opt/stack/horizon',
   '/opt/stack/keystone',
   '/opt/stack/swift',
   '/opt/stack/glance',
   '/opt/stack/neutron',
   '/opt/stack/nova',
   '/opt/stack/ironic',
   '/opt/stack/horizon',
   '/opt/stack/tempest',
   '/usr/lib/python2.7',
   '/usr/lib/python2.7/plat-x86_64-linux-gnu',
   '/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/lib/python2.7/dist-packages/PILcompat',
   '/usr/lib/python2.7/dist-packages/gtk-2.0',
   '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
   '/opt/stack/horizon/openstack_dashboard']
  Server time:	Thu, 9 Feb 2017 11:34:30 +0000
  Error during template rendering

  
  I made COMPREE_OFFLINE = False or I tried command python manage.py compress. Still I am getting errors.

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


Follow ups