宝塔用户_fccypz 发表于 2023-12-13 12:18:56

【已完成】出错了,面板运行时发生错误!

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:免费版 8.0.4
系统版本:cent7.6
问题描述:出错了,面板运行时发生错误!面板运行时发生错误: 软件列表格式不正确,已尝试修复,请重试!
相关截图(日志、错误):
REQUEST_DATE: 2023-12-13 12:17:12 PAN_VERSION: 8.0.4OS_VERSION: CentOS7.6.1810 x86_64(Py3.7.9) REMOTE_ADDR: 111.18.38.11 REQUEST_URI: POST /plugin?action=get_soft_listREQUEST_FORM: {'p': '1', 'type': '0', 'tojs': 'soft.get_list', 'force': '1', 'query': ''}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36Traceback (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 "class/panelPlugin.py", line 1566, in get_soft_list    softList = self.get_cloud_list(get)File "class/panelPlugin.py", line 1133, in get_cloud_list    raise public.PanelError(softList['msg'])public.PanelError: 面板运行时发生错误: 软件列表格式不正确,已尝试修复,请重试!

宝塔用户_fccypz 发表于 2023-12-13 12:20:50

重装系统,再重装宝塔,也不行,还是这个报错,怎么解决呢

阿珂 发表于 2023-12-13 14:27:36

解绑宝塔账号,重新绑定一下看看

heheiscool 发表于 2023-12-14 12:57:56

出错了,面板运行时发生错误!
AttributeError: 'str' object has no attribute 'items'
REQUEST_DATE: 2023-12-14 12:54:58
PAN_VERSION: 8.0.4
OS_VERSION: CentOS7.8.2003 x86_64(Py3.7.9)
REMOTE_ADDR: 113.218.178.170
REQUEST_URI: POST /safe/firewall/get_diff_panel_firewall_rules?
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Traceback (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 "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 2864, in get_diff_panel_firewall_rules
    panel_firewall_rules = self.get_panel_firewall_rules()
File "/www/server/panel/class/safeModel/firewallModel.py", line 2877, in get_panel_firewall_rules
    unique_set = set(tuple(sorted(item.items())) for item in all_ports)
File "/www/server/panel/class/safeModel/firewallModel.py", line 2877, in
    unique_set = set(tuple(sorted(item.items())) for item in all_ports)
AttributeError: 'str' object has no attribute 'items'               也是类似错误,点击安全后,面板报错,修复后还是这个问题

阿珂 发表于 2024-1-29 15:03:50

修复面板至最新版是否解决?
如未解决,可重新发帖或在本贴下留言
页: [1]
查看完整版本: 【已完成】出错了,面板运行时发生错误!