[lubuntu-users] Lubuntu PPC 16.04 Light Locker Settings does not work

Peter Golis golisp at centrum.sk
Sun Jan 24 14:30:11 UTC 2016


 
Dear Gentleman,
I had try to perform some configuration changes for light locker tool, but light-locker-settings had stopped working. It gave me this error:
 
$ light-locker-settings 
/usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py:29: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GLib, Gio
Traceback (most recent call last):
  File "/usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py", line 697, in <module>
    main = LightLockerSettings()
  File "/usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py", line 98, in __init__
    self.init_settings()
  File "/usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py", line 454, in init_settings
    if self.check_running_process("xfce4-power-manager"):
  File "/usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py", line 219, in check_running_process
    for pid in psutil.get_pid_list():
AttributeError: 'module' object has no attribute 'get_pid_list'
 
How are please tested updates of python?
 
PS:Light locker settings version is:
$ apt search light-locker-settings
Sorting... Done
Full Text Search... Done
light-locker-settings/xenial,now 1.5.0-0ubuntu1 all [installed]
  simple configuration tool for light-locker
 
This version does not meet compatibility with SystemD listed on it's README https://github.com/the-cavalry/light-locker , but upgrade of that package can fix this issue. I can wait until that bunch of packages will be upgraded. And, yes. Related lightdm is SystemD service in 16.04.
 
 
Thanks,
Peter.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20160124/794aa819/attachment.html>


More information about the Lubuntu-users mailing list