您好,
家里自己的服务器,用的Verizon FIOS的网络,发现ISP好像把你们的bt.cn封了,导致我更新到8.0.4之后不停每一页都是这个错误
出错了,面板运行时发生错误!
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
REQUEST_DATE: 2023-11-17 13:37:18
PAN_VERSION: 8.0.4
OS_VERSION: Ubuntu 22.04.3 LTS x86_64(Py3.7.8)
REMOTE_ADDR: 127.0.0.1
REQUEST_URI: POST /plugin?action=push_plugin
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2102, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2049, in run
result = getattr(toObject, get.action)(get)
File "class/panelPlugin.py", line 3502, in push_plugin
popular_searches = json.loads(public.readFile(data_popular_searches))
File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/www/server/panel/pyenv/lib/python3.7/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)
这个问题只发生在8.0.4之后,
|
|