宝塔用户_pvrzxm 发表于 2024-7-10 17:38:53

【待反馈】出错了,面板运行时发生错误!

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:8.0.0
系统版本:win10
问题描述:出错了,面板运行时发生错误!
相关截图(日志、错误):
REQUEST_DATE: 2024-07-09 17:22:50
PAN_VERSION: 8.0.0
OS_VERSION: Windows 10 Pro (build 19045) x64 (Py3.8.6)
REMOTE_ADDR: 127.0.0.1
REQUEST_URI: POST /ajax?action=UpdatePanel
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Traceback (most recent call last):
File "class\ajax.py", line 698, in UpdatePanel
    updateInfo = json.loads(result)
File "C:\Program Files\python\lib\json\__init__.py", line 357, in loads
    return _default_decoder.decode(s)
File "C:\Program Files\python\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\python\lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1583, in publicObject
    return run_exec().run(toObject, defs, get)
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1815, in run
    result = eval(fun)
File "", line 1, in
File "class\ajax.py", line 701, in UpdatePanel
    raise public.PanelError("连接宝塔官网(www.bt.cn)异常,请检查服务网络状况")
public.PanelError: 面板运行时发生错误: '连接宝塔官网(www.bt.cn)异常,请检查服务网络状况'

运维技术阿闯 发表于 2024-7-10 18:18:20

您好,win7/10/11的家用操作系统已经不维护了,
您这个是网络原因,无法连接到官网
检查BtSoft\panel\data\v4.pl的内容是否为-4,如发现-6,改为-4。
页: [1]
查看完整版本: 【待反馈】出错了,面板运行时发生错误!