light-locker-settings does not start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Confirmed
|
Medium
|
Unassigned | ||
light-locker-settings (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
This bug, like 1559735, causes a menu invocation to fail with nothing seeming to happen at all.
However, a terminal invocation does NOT show :
"
...
File "/usr/share/
for pid in psutil.
AttributeError: 'module' object has no attribute 'get_pid_list'
"
but:
"
...
File "/usr/share/
GLib.
GLib.Error: g-key-file-
"
-------
scott@scott-
Linux scott-Asus-
scott@scott-
Ubuntu 16.04 LTS
xenial
scott@scott-
Lubuntu
-------
[Oddly enough, I DID have the result in bug 1559735 back on May 7, as I apparently did a screenshot of it. Has light-locker-
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: light-locker-
ProcVersionSign
Uname: Linux 4.4.0-22-generic i686
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2
Architecture: i386
CurrentDesktop: LXDE
Date: Sat May 28 19:58:54 2016
InstallationDate: Installed on 2016-05-05 (23 days ago)
InstallationMedia: Lubuntu 16.04 LTS "Xenial Xerus" - Release i386 (20160420.1)
PackageArchitec
SourcePackage: light-locker-
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in light-locker-settings (Ubuntu): | |
importance: | Undecided → Medium |
Changed in hundredpapercuts: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
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 get_pid_ list():
for pid in psutil.
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/caaacb30b0 13f2164e86548e1 077002b0df541bf /HISTORY. rst#200- --2014- 03-10).
Under Lubuntu 16.04 psutil installed version is the 3.4.2-1