为了能快速了解并处理您的问题,请提供以下基础信息: 面板、插件版本:PAN_VERSION: 8.0.5; 系统版本:OS_VERSION: Ubuntu 22.04.3 LTS (Jammy Jellyfish) x86_64(Py3.7.8) 问题描述:进入安全-系统防火墙时,提示:出错了,面板运行时发生错误! 相关截图(日志、错误):
REQUEST_DATE: 2024-01-04 19:28:02
PAN_VERSION: 8.0.5
OS_VERSION: Ubuntu 22.04.3 LTS (Jammy Jellyfish) x86_64(Py3.7.8)
REMOTE_ADDR:
REQUEST_URI: POST /safe/firewall/get_rules_list?
REQUEST_FORM: {'data': '{"p":1,"limit":20,"query":""}'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0
=====================================================================
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2292, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2239, in run
result = getattr(toObject, get.action)(get)
File "/www/server/panel/class/panelSafeController.py", line 75, in model
result = PluginLoader.module_run(module_name,def_name,pdata)
File "/www/server/panel/class/safeModel/firewallModel.py", line 256, in get_rules_list
self.get_ufw_list()
File "/www/server/panel/class/safeModel/firewallModel.py", line 2383, in get_ufw_list
port = dt['port']
TypeError: string indices must be integers
|
|