为了能快速了解并处理您的问题,请提供以下基础信息: 问题描述:出错了,面板运行时发生错误!
相关截图(日志、错误):
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)异常,请检查服务网络状况'
|
|