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.

-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users

Reply via email to