Comment 2 for bug 1586710

Revision history for this message
Elendil (abjects) wrote :

Under Lubuntu 16.04 I get exactly the same bug and I fixed it by changing the line 219 of file /usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py from
for pid in psutil.get_pid_list():
to:
for pid in psutil.pids():

This bug is due to a change in the module psutil that rename the function get_pid_list() into pids() since version 2.0.0 - 2014-03-10 of psutil (see https://github.com/giampaolo/psutil/blob/caaacb30b013f2164e86548e1077002b0df541bf/HISTORY.rst#200---2014-03-10).
Under Lubuntu 16.04 psutil installed version is the 3.4.2-1