Skip to content
New issue

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

Process.cwd() may raise NoSuchProcess instead of ZombieProcess #986

Closed
giampaolo opened this issue Mar 4, 2017 · 0 comments
Closed

Process.cwd() may raise NoSuchProcess instead of ZombieProcess #986

giampaolo opened this issue Mar 4, 2017 · 0 comments

Comments

@giampaolo
Copy link
Owner

======================================================================
ERROR: psutil.tests.test_process.TestProcess.test_zombie_process
----------------------------------------------------------------------
Traceback (most recent call last):
  File "psutil/tests/test_process.py", line 1455, in test_zombie_process
    zproc.as_dict()
  File "psutil/__init__.py", line 563, in as_dict
    ret = meth()
  File "psutil/__init__.py", line 739, in cwd
    return self._proc.cwd()
  File "psutil/_pslinux.py", line 1320, in wrapper
    raise NoSuchProcess(self.pid, self._name)
NoSuchProcess: psutil.NoSuchProcess process no longer exists (pid=14147)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant