** Description changed:

+ [Impact]
+ 
+ Getting this fix in Xenial would allow for the user to use light-locker-
+ settings again, without this fix, light-locker-settings is unusable.
+ 
+ [Test Case]
+ 
+ Open a terminal and type the following:
+ 
+ $ light-locker-settings
+ 
+ If the bug is fixed, light-locker-settings should launch normally.
+ 
+ [Regression Potential]
+ 
+ The regression potential is low because it's a trivial fix that upstream
+ has already adopted.
+ 
+ [Original bug description]
+ 
  I installed Xubuntu 16.04 as a new installation, and light-locker-
  settings cannot be opened. Starting from command line I get a following
  backtrace:
  
  
/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
+   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():
+   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'
  
  There is a similar backtrace in #1323807, but the original case seems
  different.

** Summary changed:

- Light-locker-settings crash on startup
+ [SRU] Light-locker-settings crash on startup

** Changed in: light-locker-settings (Ubuntu Xenial)
     Assignee: (unassigned) => Simon Quigley (tsimonq2)

** Changed in: light-locker-settings (Ubuntu Xenial)
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1574544

Title:
  [SRU] Light-locker-settings crash on startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/light-locker-settings/+bug/1574544/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to