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

Error in test_process_name() on OS X #74

Closed
giampaolo opened this issue May 23, 2014 · 3 comments
Closed

Error in test_process_name() on OS X #74

giampaolo opened this issue May 23, 2014 · 3 comments

Comments

@giampaolo
Copy link
Owner

From jlo...@gmail.com on February 18, 2010 19:40:46

======================================================================
ERROR: test_process_name (_posix.PosixSpecificTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jloden/src/psutil/test/_posix.py", line 78, in test_process_name
    name_ps = ps("ps --no-headers -o comm -p %s" %self.pid)
  File "/Users/jloden/src/psutil/test/_posix.py", line 23, in ps
    output = output.split('\n')[1]
IndexError: list index out of range

----------------------------------------------------------------------


Caused by lack of a "comm" keyword on OS X so the command is failing to
produce proper output.

Original issue: http://code.google.com/p/psutil/issues/detail?id=74

@giampaolo giampaolo self-assigned this May 23, 2014
@giampaolo
Copy link
Owner Author

From jlo...@gmail.com on February 18, 2010 10:41:29

Fixed in r498 , tested on OS X and Linux so far, needs FreeBSD testing to confirm
works for all Posix platforms.

Labels: Progress-3in4

@giampaolo
Copy link
Owner Author

From billiej...@gmail.com on February 18, 2010 10:48:49

Works on freebsd.

Status: Fixed
Labels: -Progress-3in4

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 03:51:26

Updated csets after the SVN -> Mercurial migration: r498 == revision 6123f60bf962

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