nikademus79 / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

test_nice failure #203

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
======================================================================
ERROR: test_nice (__main__.TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_psutil.py", line 814, in test_nice
    p.nice = first_nice
  File "/var/tmp/portage/dev-python/psutil-0.3.0/work/psutil-0.3.0/build-2.7/lib.linux-x86_64-2.7/psutil/__init__.py", line 210, in nice
    return self._platform_impl.set_process_nice(value)
  File "/var/tmp/portage/dev-python/psutil-0.3.0/work/psutil-0.3.0/build-2.7/lib.linux-x86_64-2.7/psutil/_pslinux.py", line 253, in wrapper
    raise AccessDenied(self.pid, self._process_name)
AccessDenied: (pid=23146)

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

As you can see, 64-bit (Gentoo) Linux, Python 2.7.

Original issue reported on code.google.com by djc.ochtman on 4 Sep 2011 at 12:45

GoogleCodeExporter commented 8 years ago
Fixed in r1116. We now just "pass" in case of AccessDenied (there's nothing 
else we can do about it).

Original comment by g.rodola on 5 Sep 2011 at 12:26

GoogleCodeExporter commented 8 years ago
Thanks!

Original comment by djc.ochtman on 5 Sep 2011 at 1:34

GoogleCodeExporter commented 8 years ago

Original comment by g.rodola on 7 Sep 2011 at 7:43

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Updated csets after the SVN -> Mercurial migration:
r1116 == revision ae9b92313f5e

Original comment by g.rodola on 2 Mar 2013 at 12:03