Univention Bugzilla – Bug 36358
modules/top/__init__.py: kill() takes exactly 1 argument (2 given)
Last modified: 2014-12-19 13:59:13 CET
Also happens when using python-psutil from Debian Backports (part of Pulse app). Fix needs to be backported. Maybe one can get __version__ of the module (0.7.* should be the newer version). Otherwise duck typing. +++ This bug was initially created as a clone of Bug #36161 +++ Execution of command 'top/kill' has failed: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/modules/__init__.py", line 177, in _decorated return function(self, request, *args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/top/__init__.py", line 111, in kill process.kill(15) TypeError: kill() takes exactly 1 argument (2 given) Found by /usr/share/ucs-test/60_umc-system/22_umc-service-proc-killing
only process.kill() and process.terminate() are affected: >>> import psutil, os >>> process = psutil.Process(os.getpid()) >>> print process.username, process.pid, process.get_memory_percent(), process.cmdline, process.name, process.get_cpu_times() Fix: svn r56446 YAML: 2014-12-04-univention-management-console-module-top.yaml Package: univention-management-console-module-top (3.0.3-2)
QA: Please kill and terminate a process first. Then install the pulse app. Kill and terminate a process again. If this works you can set the Bug to VERIFIED.
Fix: OK YAML: OK
http://errata.univention.de/ucs/3.2/259.html