鑫皓 发表于 2024-8-12 16:01:33

【待反馈】宝塔任务管理器 使用报错

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:宝塔任务管理器 3.0
系统版本:CentOS 8
问题描述:出错了,[宝塔任务管理器]运行时发生错误!FileNotFoundError: No such file or directory: '/proc/626/stat'
相关截图(日志、错误):

鑫皓 发表于 2024-8-12 16:02:08

出错了,[宝塔任务管理器]运行时发生错误!
FileNotFoundError: No such file or directory: '/proc/626/stat'
REQUEST_DATE: 2024-08-12 15:59:59
PAN_VERSION: 9.1.0
OS_VERSION: CentOS8.4.2105 x86_64(Py3.7.9)
REMOTE_ADDR: 115.202.205.207
REQUEST_URI: POST /plugin%3Faction%3Da%26name%3Dtask_manager%26s%3Dget_process_list%26search%3D
REQUEST_FORM: {'sortx': 'cpu_percent', 'reverse': 'undefined'}
USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Traceback (most recent call last):
File "class/panelPlugin.py", line 3736, in a
    return p.exec_fun(get)
File "class/pluginAuth.py", line 67, in exec_fun
    raise public.PanelError(res['msg'])
public.PanelError: 面板运行时发生错误: Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_common.py", line 447, in wrapper
    ret = self._cache
AttributeError: _cache

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/www/server/panel/plugin/task_manager/task_manager_main.py", line 811, in get_process_list
File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/__init__.py", line 1439, in process_iter
    yield add(pid)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/__init__.py", line 1414, in add
    proc = Process(pid)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/__init__.py", line 326, in __init__
    self._init(pid)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/__init__.py", line 354, in _init

运维技术阿闯 发表于 2024-8-13 11:19:12

鑫皓 发表于 2024-8-12 16:02
出错了,[宝塔任务管理器]运行时发生错误!
FileNotFoundError: No such file or directory: '/p ...

您好,尝试修复一下这个插件,然后看是否可以,也可以尝试重新安装这个插件
页: [1]
查看完整版本: 【待反馈】宝塔任务管理器 使用报错