为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述: 出错了,面板运行时发生错误!TypeError: argument of type 'NoneType' is not iterable
相关截图(日志、错误):REQUEST_DATE: 2023-12-19 09:52:08 PAN_VERSION: 8.0.4 OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) REMOTE_ADDR: 121.31.180.222 REQUEST_URI: POST /safe/firewall/get_firewall_info?REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36 SE 2.X MetaSr 1.0Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2106, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2053, in run result = getattr(toObject, get.action)(get) File "/www/server/panel/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 3338, in s = Sqlite() File "/www/server/panel/class/safeModel/firewallModel.py", line 3192, in __init__ self.create_table() File "/www/server/panel/class/safeModel/firewallModel.py", line 3294, in create_table if 'domain_total' not in create_table_str:TypeError: argument of type 'NoneType' is not iterable
|
|