本帖最后由 老虎会游泳 于 2018-4-27 08:55 编辑
重启面板服务没用,用修复命令更新至最新还是无效已解决:- pip install psutil
- 用这条命令把PIP从9.0.1升级至10.0.1后重启面板服务
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process
return self.handle()
File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle
return self._delegate(fn, self.fvars, args)
File "/usr/lib/python2.7/site-packages/web/application.py", line 462, in _delegate
return handle_class(cls)
File "/usr/lib/python2.7/site-packages/web/application.py", line 438, in handle_class
return tocall(*args)
File "main.py", line 112, in GET
return render.index(data)
File "/usr/lib/python2.7/site-packages/web/template.py", line 1020, in template
return self._base(t(*a, **kw))
File "/usr/lib/python2.7/site-packages/web/template.py", line 881, in __call__
return BaseTemplate.__call__(self, *a, **kw)
File "/usr/lib/python2.7/site-packages/web/template.py", line 808, in __call__
return self.t(*a, **kw)
File "templates/default/index.html", line 13, in __template__
<div class="danger-tips">
File "/usr/lib/python2.7/site-packages/web/session.py", line 71, in __getattr__
return getattr(self._data, name)
AttributeError: 'ThreadedDict' object has no attribute 'version'
123.181.202.205:6200 - - [27/Apr/2018 08:44:22] "HTTP/1.1 GET /" - 500 Internal Server Error
|
|