出错了,面板运行时发生错误!KeyError: 'PublicPort'
REQUEST_DATE: 2026-03-21 14:33:31 VERSION: CentOS Stream 9 x86_64(Py3.7.16) - 11.0.0 REMOTE_ADDR: 104.238.220.106 REQUEST_URI: POST /btdocker/container/get_list?REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36 Edg/146.0.0.0Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2511, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2458, 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 "class/PluginLoader.py", line 148, in module_run result = run_object(args) File "/www/server/panel/class/btdockerModel/containerModel.py", line 1247, in get_list struct_container = self.struct_container_list(sk_c, container_to_top) File "/www/server/panel/class/btdockerModel/containerModel.py", line 1158, in struct_container_list "ports": self.struct_container_ports(container["Ports"]), File "/www/server/panel/class/btdockerModel/containerModel.py", line 1135, in struct_container_ports }] if "IP" in port else NoneKeyError: 'PublicPort' |
|