分享

安装 devstack 出的错

狗狗 发表于 2017-8-9 13:06:25 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 1 9410

need to run "python manage.py compress".
Request Method:
GET
Request URL:
http://180.76.147.204/dashboard/auth/login/?next=/dashboard/
Django Version:
1.11.3
Exception Type:
OfflineGenerationError
Exception Value:
You have offline compression enabled but key "99881c8d68eccb35d990b7ea3aa134cb" 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.12
Python Path:
['/opt/stack/horizon', '/opt/stack/keystone', '/opt/stack/glance', '/opt/stack/cinder', '/opt/stack/neutron', '/opt/stack/nova', '/usr/local/lib/python2.7/dist-packages/msgpack_python-0.4.8-py2.7-linux-x86_64.egg', '/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', '/opt/stack/horizon/openstack_dashboard']
Server time:
星期三, 9 八月 2017 05:03:35 +0000
[td]



已有(1)人评论

跳转到指定楼层
starrycheng 发表于 2017-8-9 14:15:16
执行下面命令试试
[mw_shl_code=bash,true]python manage.py compress
[/mw_shl_code]

[mw_shl_code=bash,true]pip install django_compressor==dev
[/mw_shl_code]

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条