为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述:json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)son.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
REQUEST_DATE: 2024-08-27 19:16:32 PAN_VERSION: 8.0.4 OS_VERSION: Ubuntu 20.04.3 LTS x86_64(Py3.7.9) REMOTE_ADDR: 192.168.0.254 REQUEST_URI: POST /project/java/get_system_info?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.0Traceback (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 "/www/server/panel/class/panelController.py", line 81, in model result = PluginLoader.module_run(module_name,def_name,pdata) File "/www/server/panel/class/projectModel/javaModel.py", line 1432, in get_system_info reuslt['jdk_info'] = self.get_local_jdk_version(get) File "/www/server/panel/class/projectModel/javaModel.py", line 1406, in get_local_jdk_version jdks = self._get_jdk_status()['versions'] File "/www/server/panel/class/projectModel/javaModel.py", line 1379, in _get_jdk_status versions = json.loads(public.readFile(tmp_file))[arce] 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 Nonejson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
相关截图(日志、错误):
|
|