本帖最后由 amesss 于 2017-9-10 11:38 编辑
系统是centos7 之前安装宝塔正常,更新内测后打开提示如下
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1245, in communicate
req.respond()
File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 775, in respond
self.server.gateway(self).respond()
File "/usr/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 2018, in respond
response = self.req.server.wsgi_app(self.env, self.start_response)
File "/usr/lib/python2.7/site-packages/web/file:///httpserver.py", line 306, in __call__
return self.app(environ, xstart_response)
File "/usr/lib/python2.7/site-packages/web/file:///httpserver.py", line 274, in __call__
return self.app(environ, start_response)
File "/usr/lib/python2.7/site-packages/web/file:///application.py", line 279, in wsgi
result = self.handle_with_processors()
File "/usr/lib/python2.7/site-packages/web/file:///application.py", line 249, in handle_with_processors
return process(self.processors)
File "/usr/lib/python2.7/site-packages/web/file:///application.py", line 246, in process
raise self.internalerror()
File "file:///main.py", line 743, in internalerror
''' % (public.getMsg('PAGE_ERR_500_TITLE'),public.getMsg('PAGE_ERR_500_H1'),public.getMsg('PAGE_ERR_500_P1'),public.getMsg('NAME'),public.getMsg('PAGE_ERR_HELP'))
File "class/file:///public.py", line 85, in getMsg
logMessage = json.loads(readFile('static/language/' + get_language() + '/public.json'));
File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.7/json/file:///decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
|
|