狗狗 发表于 2017-8-9 13:06:25

安装 devstack 出的错


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






starrycheng 发表于 2017-8-9 14:15:16

执行下面命令试试
python manage.py compress


pip install django_compressor==dev


页: [1]
查看完整版本: 安装 devstack 出的错