KeyError at /analysis2000/'error_message'Request Method: GET
Request URL: htt://ww.gene-disease.cn/analysis2000/?type=wegene&ids=0a7986a7170278fc03807e0412c77c86&token=e10c584fb7cac55b317137155eb47b16
Django Version: 1.10.3
Exception Type: KeyError
Exception Value:
'error_message'
Exception Location: ./index/views.py in analysis2000, line 715
Python Executable: /usr/local/bin/uwsgi
Python Version: 2.7.12
Python Path:
['.', '', '/usr/local/lib/python2.7/site-packages/pyPdf-1.13-py2.7.egg', '/usr/local/lib/python2.7/site-packages/pygeoip-0.3.2-py2.7.egg', '/usr/local/lib/python2.7/site-packages/beautifulsoup4-4.5.1-py2.7.egg', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/site-packages']
Server time: Sat, 28 Mar 2020 12:50:38 +0800
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard page generated by the handler for this status code.
2 个回复
Request URL: htt://ww.gene-disease.cn/analysis2000/?type=wegene&ids=0a7986a7170278fc03807e0412c77c86&token=e10c584fb7cac55b317137155eb47b16
Django Version: 1.10.3
Exception Type: KeyError
Exception Value:
'error_message'
Exception Location: ./index/views.py in analysis2000, line 715
Python Executable: /usr/local/bin/uwsgi
Python Version: 2.7.12
Python Path:
['.', '', '/usr/local/lib/python2.7/site-packages/pyPdf-1.13-py2.7.egg', '/usr/local/lib/python2.7/site-packages/pygeoip-0.3.2-py2.7.egg', '/usr/local/lib/python2.7/site-packages/beautifulsoup4-4.5.1-py2.7.egg', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/site-packages']
Server time: Sat, 28 Mar 2020 12:50:38 +0800
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard page generated by the handler for this status code.
错误信息.
赞同来自:
赞同来自:
要回复问题请先登录或注册