为了能快速了解并处理您的问题,请提供以下基础信息:
相关截图(日志、错误): 出错了,面板运行时发生错误!TypeError: list indices must be integers or slices, not str
REQUEST_DATE: 2023-12-23 08:26:25 PAN_VERSION: 8.0.4 OS_VERSION: Debian GNU/Linux 12 x86_64(Py3.7.16) REMOTE_ADDR: 42.98.124.25 REQUEST_URI: GET /?REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2529, in wsgi_app response = self.full_dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1825, in full_dispatch_request rv = self.handle_user_exception(e) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1823, in full_dispatch_request rv = self.dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/www/server/panel/BTPanel/__init__.py", line 316, in home data = system.system().GetConcifInfo() File "class/system.py", line 27, in GetConcifInfo session['config']['email'] = public.M('users').where("id=?",('1',)).getField('email')TypeError: list indices must be integers or slices, not str
|
|