We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
====================================================================== FAIL: test_fetch_all (psutil.tests.test_process.TestFetchAllProcesses) ---------------------------------------------------------------------- Traceback (most recent call last): File "psutil/tests/test_process.py", line 1605, in test_fetch_all self.fail(''.join(failures)) AssertionError: ====================================================================== FAIL: test_exe (proc=psutil.Process(pid=4018, name='screen')) ---------------------------------------------------------------------- Traceback (most recent call last): File "psutil/tests/test_process.py", line 1570, in test_fetch_all ret = attr(*args) File "psutil/__init__.py", line 605, in exe exe = self._proc.exe() File "psutil/_psbsd.py", line 413, in wrapper return fun(self, *args, **kwargs) File "psutil/_psbsd.py", line 461, in exe return cext.proc_exe(self.pid) OSError: [Errno 2] No such file or directory
The error originates from sysctl used with KERN_PROC_PATHNAME. Also procstat fails, although with a different error:
sysctl
KERN_PROC_PATHNAME
procstat
user@freebsd~/psutil$ sudo procstat -b 4108 procstat: sysctl(kern.proc): No such process procstat: procstat_getprocs()
What we can do is return an empty string instead, since this is already allowed by exe() API.
The text was updated successfully, but these errors were encountered:
fae5114
No branches or pull requests
The error originates from
sysctl
used withKERN_PROC_PATHNAME
. Alsoprocstat
fails, although with a different error:What we can do is return an empty string instead, since this is already allowed by exe() API.
The text was updated successfully, but these errors were encountered: