我也遇到了同样的问题:
打开官网正常,打开官网论坛正常
进入宝塔主页页面就有提示,
- Traceback (most recent call last):
- File "D:\BtSoft\panel/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 1581, in publicObject
- return run_exec().run(toObject, defs, get)
- File "D:\BtSoft\panel\BTPanel\__init__.py", line 1813, in run
- result = eval(fun)
- File "", line 1, in
- File "D:\BtSoft\panel/class\ajax.py", line 701, in UpdatePanel
-
复制代码
REQUEST_DATE: 2024-08-17 14:08:10
PAN_VERSION: 7.9.0
OS_VERSION: Windows 10 Enterprise LTSC 2019 (build 17763) x64 (Py3.8.6)
REMOTE_ADDR: 127.0.0.1
REQUEST_URI: POST /ajax?action=UpdatePanel
REQUEST_FORM: {'check': 'true'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0
- <div class="pd20">
- <h3>出错了,面板运行时发生错误!</h3>
- <div style="margin-bottom: 15px;margin-top: 15px;color: red;">
- <h4 style="font-size: none;">面板运行时发生错误: '连接宝塔官网(www.bt.cn)异常,请检查服务网络状况'</h4>
- </div>
- <pre style="height:112px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 10px">REQUEST_DATE: 2024-08-17 14:18:33
- PAN_VERSION: 7.9.0
- OS_VERSION: Windows 10 Enterprise LTSC 2019 (build 17763) 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/127.0.0.0 Safari/537.36 Edg/127.0.0.0</pre>
- <pre style="height:370px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 0px">Traceback (most recent call last):
- File "D:\BtSoft\panel/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 1581, in publicObject
- return run_exec().run(toObject, defs, get)
- File "D:\BtSoft\panel\BTPanel\__init__.py", line 1813, in run
- result = eval(fun)
- File "<string>", line 1, in <module>
- File "D:\BtSoft\panel/class\ajax.py", line 701, in UpdatePanel
- raise public.PanelError("连接宝塔官网(www.bt.cn)异常,请检查服务网络状况")
复制代码
在开发者工具界面网络中发现,下面这个网址错误500:
http://127.0.0.1:8888/ajax?action=UpdatePanel
|