Comment 0 for bug 1693032

Revision history for this message
Brian Murray (brian-murray) wrote :

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:

https://errors.ubuntu.com/problem/bc249affe50a221622d55a34ecfe5223704c012c

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