为了能快速了解并处理您的问题,请提供以下基础信息: 面板、插件版本:[size=1.2][url=]8.0.5[/url]
系统版本:系统:CentOS 7.6.1810 x86_64(Py3.7.9)
问题描述:TypeError: string indices must be integers
REQUEST_DATE: 2024-02-23 22:32:46 VERSION: CentOS 7.6.1810 x86_64(Py3.7.9) - 8.0.5 REMOTE_ADDR: 111.29.68.191 REQUEST_URI: POST /btdocker/container/set_container_status?REQUEST_FORM: {'data': '{"id":"a84ba441e02eb67967fa0f663151733aab3f7a3836080934e141aa419955c603","status":"restart"}'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2302, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2249, in run result = getattr(toObject, get.action)(get) File "class/panelController.py", line 81, in model result = PluginLoader.module_run(module_name,def_name,pdata) File "/www/server/panel/class/btdockerModel/containerModel.py", line 630, in set_container_status "status": result['status'],TypeError: string indices must be integers
相关截图(日志、错误):启动docker,有一个没有启动,点击重启,弹窗报错
|
|