出错了,面板运行时发生错误!
TypeError: argument of type 'NoneType' is not iterable
>>点击查看详情
REQUEST_DATE: 2023-02-17 14:39:02
PAN_VERSION: 7.9.8
OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)
REMOTE_ADDR: 218.68.45.18
REQUEST_URI: POST /project/docker/model?
REQUEST_FORM: {'data': '{"url":"unix:///var/run/docker.sock","dk_model_name":"container","dk_def_name":"get_list"}'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 1850, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1797, in run
result = getattr(toObject,get.action)(get)
File "/www/server/panel/class/panelController.py", line 81, in model
result = PluginLoader.module_run(module_name,def_name,pdata)
File "/www/server/panel/class/projectModel/dockerModel.py", line 87, in model
result = run_object(args)
File "/www/server/panel/class/projectModel/bt_docker/dk_container.py", line 436, in get_list
"merged": self.get_container_path(attr),
File "/www/server/panel/class/projectModel/bt_docker/dk_container.py", line 360, in get_container_path
if "MergedDir" not in detail["GraphDriver"]["Data"]:
TypeError: argument of type 'NoneType' is not iterable |