出错了,面板运行时发生错误!
TypeError: list indices must be integers or slices, not str
REQUEST_DATE: 2022-07-13 15:09:49
PAN_VERSION: 7.9.2
OS_VERSION: Alibaba Cloud (Aliyun ) 2.1903 LTS (Hunting Beagle) x86_64(Py3.7.9)
REMOTE_ADDR: 1.192.176.143
REQUEST_URI: POST /task?action=remove_task
REQUEST_FORM: {'id': '8'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 1755, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1703, in run
result = getattr(toObject,get.action)(get)
File "class/panelTask.py", line 105, in remove_task
if str(task_info['status']) == '-1':
TypeError: list indices must be integers or slices, not str很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
修复方案一:在[首页]右上角点击修复面板,并退出面板重新登录。
修复方案二:如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:https://www.bt.cn/bbs |