← Back to team overview

openstack team mailing list archive

Re: Horizon - OfflineGenerationError

 

Have you tried doing what it said and running "manage.py compress"? (make sure you're in the proper Python environment/venv when running that command)

That error indicates one of two things:


1.       You have your settings set with COMPRESS_ENABLED = True and COMPRESS_OFFLINE = True but you haven't run "manage.py compress", or...

2.       There was an error while trying to compress the files such as not being able to find a particular file or a permissions problem on an input file or output directory.


-          Gabriel

From: openstack-bounces+gabriel.hurley=nebula.com@xxxxxxxxxxxxxxxxxxx [mailto:openstack-bounces+gabriel.hurley=nebula.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of JuanFra Rodriguez Cardoso
Sent: Thursday, December 13, 2012 4:37 AM
To: Matthias Runge
Cc: openstack@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Openstack] Horizon - OfflineGenerationError

Hi Matthias:

Thanks for replying. Rest of openstack services are working ok.

Theses are versions installed of Horizon and Django (from EPEL 6.7)
  - openstack-dashboard-2012.2-4.el6.noarch.
  - Django14-1.4.2-2.el6.noarch

Do you recommend I install Horizon from github repository?

Thanks!
2012/12/13 Matthias Runge <mrunge@xxxxxxxxxx<mailto:mrunge@xxxxxxxxxx>>
On 12/13/2012 12:24 PM, JuanFra Rodriguez Cardoso wrote:
> Hi all:
>
> I'm installing OpenStack Dashboard 2012.2 on CentOS 6.3 and I got next
> error related to css/js compression:
>
Yes, I bet, it's not related with Dashboard, although the error message
tells you so.

Which version are you installing from where? Do you see other issues
with your openstack-installation? Please note, the minimum required set
of OpenStack services running includes the following:

 +   Nova (compute, api, scheduler, network, and volume services)
 +   Glance
 +   Keystone

Instead of nova volume, you could also use cinder volume.

Did you install there and are they working ok?


Matthias


> File "/usr/lib/python2.6/site-packages/django/template/base.py", line
> 837, in render_node
> [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]     return
> node.render(context)
> [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
> "/usr/lib/python2.6/site-packages/compressor/templatetags/compress.py",
> line 147, in render
> [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]     return
> self.render_compressed(context, self.kind, self.mode, forced=forced)
> [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
> "/usr/lib/python2.6/site-packages/compressor/templatetags/compress.py",
> line 88, in render_compressed
> [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
> cached_offline = self.render_offline(context, forced=forced)
> [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]   File
> "/usr/lib/python2.6/site-packages/compressor/templatetags/compress.py",
> line 72, in render_offline
> [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]     'You may
> need to run "python manage.py compress".' % key)
> [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36]
> OfflineGenerationError: You have offline compression enabled but key
> "1056718f92f8d4204721bac759b3871a" is missing from offline manifest. You
> may need to run "python manage.py compress".
> [Thu Dec 13 11:58:37 2012] [error] [client 192.10.1.36] File does not
> exist: /var/www/html/favicon.ico
>
> any idea for solving it?
>
> Thanks,
> JuanFra.
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Follow ups

References