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
This is something which also used to affect the subprocess module: http://bugs.python.org/issue14252
Appveyor failure: https://ci.appveyor.com/project/giampaolo/psutil/build/job/36xyueo57wdc17bm
====================================================================== ERROR: psutil.tests.test_process.TestProcess.test_cwd ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\projects\psutil\psutil\tests\test_process.py", line 84, in tearDown reap_children() File "c:\projects\psutil\psutil\tests\__init__.py", line 446, in reap_children p.terminate() File "c:\projects\psutil\psutil\__init__.py", line 354, in wrapper return fun(self, *args, **kwargs) File "c:\projects\psutil\psutil\__init__.py", line 1311, in terminate self._proc.kill() File "c:\projects\psutil\psutil\_pswindows.py", line 635, in wrapper raise AccessDenied(self.pid, self._name) AccessDenied: psutil.AccessDenied (pid=1388) ====================================================================== ERROR: psutil.tests.test_process.TestProcess.test_name ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\projects\psutil\psutil\tests\test_process.py", line 84, in tearDown reap_children() File "c:\projects\psutil\psutil\tests\__init__.py", line 446, in reap_children p.terminate() File "c:\projects\psutil\psutil\__init__.py", line 354, in wrapper return fun(self, *args, **kwargs) File "c:\projects\psutil\psutil\__init__.py", line 1311, in terminate self._proc.kill() File "c:\projects\psutil\psutil\_pswindows.py", line 635, in wrapper raise AccessDenied(self.pid, self._name) AccessDenied: psutil.AccessDenied (pid=2008) ====================================================================== ERROR: psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_name ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\projects\psutil\psutil\tests\test_unicode.py", line 152, in tearDown reap_children() File "c:\projects\psutil\psutil\tests\__init__.py", line 446, in reap_children p.terminate() File "c:\projects\psutil\psutil\__init__.py", line 354, in wrapper return fun(self, *args, **kwargs) File "c:\projects\psutil\psutil\__init__.py", line 1311, in terminate self._proc.kill() File "c:\projects\psutil\psutil\_pswindows.py", line 635, in wrapper raise AccessDenied(self.pid, self._name) AccessDenied: psutil.AccessDenied (pid=2848) ----------------------------------------------------------------------
The text was updated successfully, but these errors were encountered:
1e49e9e
#1099: look for ERROR_ACCESS_DENIED instead of using pid_is_running()
0bc345b
No branches or pull requests
This is something which also used to affect the subprocess module:
http://bugs.python.org/issue14252
Appveyor failure:
https://ci.appveyor.com/project/giampaolo/psutil/build/job/36xyueo57wdc17bm
The text was updated successfully, but these errors were encountered: