在开放堆栈范围内进行更改时出错

问题描述 投票:0回答:1
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/
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

我设置了 COMPREE_OFFLINE = False 或者我尝试了命令 python manage.py compress。我仍然遇到错误。

python django compression openstack horizon
1个回答
0
投票

我在 2024 年也遇到同样的错误.........有人帮忙吗?

© www.soinside.com 2019 - 2024. All rights reserved.