missing dependency on gnome-session-bin

Bug #1693032 reported by Brian Murray on 2017-05-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Brian Murray

Bug Description

When bug 1241210 was fixed SoftwarePropertiesGtk.py was changed to call gnome-session-quit which is provided by gnome-session-bin. However, a dependency on gnome-session-bin was never added to software-properties-gtk. This has led to the following possible Traceback:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1116, in on_driver_restart_clicked
    subprocess.call(['gnome-session-quit', '--reboot'])
  File "/usr/lib/python3.5/subprocess.py", line 247, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.5/subprocess.py", line 1282, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] Δεν υπάρχει τέτοιο αρχείο ή κατάλογος: 'gnome-session-quit'

There are a large collection of these crashes mixed in with this bucket:


I suspect that a lot of these crashes are from Lubuntu or Xubuntu systems, but its possible some are not and the missing dependency should be fixed anyway.

description: updated
Changed in software-properties (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
status: New → In Progress
importance: Undecided → Medium
milestone: none → ubuntu-17.07
Changed in software-properties (Ubuntu):
milestone: ubuntu-17.07 → ubuntu-17.08
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers