为了能快速了解并处理您的问题,请提供以下基础信息:
Beta 8.0.51
Ubuntu 22
进入安全功能以后报错
出错了,面板运行时发生错误!TypeError: 'str' object does not support item assignmentREQUEST_DATE: 2024-01-13 14:58:27 VERSION: Ubuntu 22.04 (Jammy Jellyfish) x86_64(Py3.7.8) - 8.0.51 REMOTE_ADDR: 1.204.177.24 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; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.160 Safari/537.36/AA157BD7C41046Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2303, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2250, 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 281, in get_rules_list res_data['status'] = -1TypeError: 'str' object does not support item assignment
|