【待反馈】json.decoder.JSONDecodeError: Expecting value: line 1 column 1...
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:免费版8.0.4系统版本:ubuntu
问题描述: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.4OS_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))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)
相关截图(日志、错误):
你这个项目在本地运行是正常的吗,本地用的是什么环境。 大饼爱小饼 发表于 2024-8-27 21:16
你这个项目在本地运行是正常的吗,本地用的是什么环境。
这个是宝塔网站里面的java部署功能,点击进去提示这个 java部署出现的问题 您好,您这边是操作了什么报错的呢,方便给就机器做一个快照,然后升级面板到最新版本吗
页:
[1]