为所欲为 发表于 2023-9-15 08:53:01

面板使用错误 bug




REQUEST_DATE: 2023-09-15 08:51:15
PAN_VERSION: 8.0.26
OS_VERSION: CentOS7.9.2009 x86_64(Py3.7.8)
REMOTE_ADDR: 183.199.161.79
REQUEST_URI: POST /project/java/get_project_list?
REQUEST_FORM: {'data': '{"p":1,"limit":10}'}
USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.76
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2097, in publicObject
    res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2044, 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 2847, in get_project_list
    data['data'] = self.get_project_stat(data['data'])
File "/www/server/panel/class/projectModel/javaModel.py", line 2984, in get_project_stat
    project_info['load_info'] = self.get_project_load_info(project_name = project_info['name'])
File "/www/server/panel/class/projectModel/javaModel.py", line 1669, in get_project_load_info
    pids = self.get_project_pids(pid=pid)
File "/www/server/panel/class/projectModel/javaModel.py", line 1988, in get_project_pids
    if p.ppid() == pid:
File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_common.py", line 480, in wrapper
    raise raise_from(err, None)
File "", line 3, in raise_from
File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_common.py", line 478, in wrapper
    return fun(self)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/__init__.py", line 609, in ppid
    return self._proc.ppid()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_pslinux.py", line 1653, in wrapper
    return fun(self, *args, **kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_pslinux.py", line 2253, in ppid
    return int(self._parse_stat_file()['ppid'])
File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_pslinux.py", line 1657, in wrapper
    raise NoSuchProcess(self.pid, self._name)
psutil.NoSuchProcess: process no longer exists (pid=9116)

页: [1]
查看完整版本: 面板使用错误 bug