[Bug 1574544] Re: Light-locker-settings crash on startup
** 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 - 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 + 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574544] Re: Light-locker-settings crash on startup
This bug was fixed in the package light-locker-settings - 1.5.0-0ubuntu2 --- light-locker-settings (1.5.0-0ubuntu2) yakkety; urgency=medium * debian/patches: - 90_newer_version_psutil.patch: From upstream, fix a crash with a newer version of psutil. (LP: #1574544). -- Julien Lavergne Sun, 17 Jul 2016 10:17:00 +0200 ** Changed in: light-locker-settings (Ubuntu) Status: In Progress => Fix Released -- 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: 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574544] Re: Light-locker-settings crash on startup
This bug has been reported on the Ubuntu Package testing tracker. A list of all reports related to this bug can be found here: http://packages.qa.ubuntu.com/qatracker/reports/bugs/1574544 ** Tags added: package-qa-testing -- 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: 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574544] Re: Light-locker-settings crash on startup
** Changed in: light-locker-settings (Ubuntu) Importance: Undecided => High ** Changed in: light-locker-settings (Ubuntu) Status: Confirmed => In Progress ** Changed in: light-locker-settings (Ubuntu) Assignee: (unassigned) => Julien Lavergne (gilir) ** Also affects: light-locker-settings (Ubuntu Xenial) Importance: Undecided Status: New -- 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: 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574544] Re: Light-locker-settings crash on startup
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: light-locker-settings (Ubuntu Xenial) Status: New => Confirmed -- 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: 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574544] Re: Light-locker-settings crash on startup
** Tags added: patch-accepted-upstream -- 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: 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574544] Re: Light-locker-settings crash on startup
Fix committed at https://bazaar.launchpad.net/~light-locker-settings- team/light-locker-settings/trunk/revision/154 ** Also affects: light-locker-settings Importance: Undecided Status: New ** Changed in: light-locker-settings Status: New => Fix Committed -- 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: 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574544] Re: Light-locker-settings crash on startup
Upstream psutil had some changes, the fix for this is fairly simple. Line 219 and 234 need to be changed from psutil.get_pid_list() to psutil.pids() -- 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: Light-locker-settings crash on startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/light-locker-settings/+bug/1574544/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1574544] Re: Light-locker-settings crash on startup
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: light-locker-settings (Ubuntu) Status: New => Confirmed -- 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: Light-locker-settings crash on startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/light-locker-settings/+bug/1574544/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs