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

update xterm_prefix for latest psutil version #291

Closed
nealseegmiller opened this issue Jan 19, 2016 · 0 comments · Fixed by #726
Closed

update xterm_prefix for latest psutil version #291

nealseegmiller opened this issue Jan 19, 2016 · 0 comments · Fixed by #726

Comments

@nealseegmiller
Copy link

xterm_prefix in swri_prefix_tools calls .get_children() on a psutil Process object. The name of this function has been changed to .children() in the latest version:
http://grodola.blogspot.com/2014/01/psutil-20-porting.html
Maybe other changes are required, because I made this change and the function still fails to find any children. The function terminates at:
if grandchild is None:
print "Found no running process for node. Quitting."
sys.exit(1)

FYI, I'm using swri_prefix_tools in combination with swri_nodelet, in case that's relevant.

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

Successfully merging a pull request may close this issue.

1 participant