为了能快速了解并处理您的问题,请提供以下基础信息:
8.0.5
CentOS 7.9.2009 x86_64
打开 -网站 -java项目 会报错
出错了,面板运行时发生错误!
ValueError: invalid literal for int() with base 10: ''
REQUEST_DATE: 2024-01-22 21:41:48
VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) - 8.0.5
REMOTE_ADDR: 172.0.10.100
REQUEST_URI: POST /project/java/get_system_info?
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 Core/1.94.212.400 QQBrowser/12.0.5443.400
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2303, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2250, in run
result = getattr(toObject, get.action)(get)
File "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 1544, in get_system_info
reuslt['jdk_info'] = self.get_local_jdk_version(get)
File "/www/server/panel/class/projectModel/javaModel.py", line 1505, in get_local_jdk_version
jdks = self._get_jdk_status()['versions']
File "/www/server/panel/class/projectModel/javaModel.py", line 1393, in _get_jdk_status
if not os.path.exists(tmp_pl) or time.time() - int(public.readFile(tmp_pl)) > 600:
ValueError: invalid literal for int() with base 10: ''
|
|