添加端口规则时,报错,在首页修复不起作用。
TypeError: argument of type 'NoneType' is not iterable
REQUEST_DATE: 2023-05-16 08:55:23 PAN_VERSION: 7.9.10 OS_VERSION: Ubuntu 20.04.2 LTS x86_64(Py3.7.9) REMOTE_ADDR: 223.97.163.239 REQUEST_URI: POST /safe/firewall/get_rules_list?REQUEST_FORM: {'data': '{"limit":20,"p":1,"query":""}'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42
Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2005, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1952, in run result = getattr(toObject, get.action)(get) File "class/panelSafeController.py", line 80, in model raise public.PanelError(result['msg'])public.PanelError: 面板运行时发生错误: Traceback (most recent call last): File "/www/server/panel/class/safeModel/firewallModel.py", line 2668, in s = Sqlite() File "/www/server/panel/class/safeModel/firewallModel.py", line 2554, in __init__ self.create_table() File "/www/server/panel/class/safeModel/firewallModel.py", line 2627, in create_table if 'domain_total' not in create_table_str:TypeError: argument of type 'NoneType' is not iterable
|
|