Ticket #416 (closed enhancement: duplicate)
fail gracefully when notifications service is unavailable
|Reported by:||antihero||Owned by:||ulidtko|
Description (last modified by ulidtko) (diff)
We should handle somehow this frequent case (i.e. notify-daemon not running) and fail gracefully, with a clear error message. Or maybe even not fail, but continue running with disabled notifications.
Original bug report:
Traceback (most recent call last): File "/usr/bin/guake", line 1419, in <module> if not main(): File "/usr/bin/guake", line 1362, in main instance = Guake() File "/usr/bin/guake", line 653, in __init__ notification.show() glib.GError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
Marked as critical as it entirely prevents the program from even loading on some configurations of Gnome.
Perhaps provide a fallback that simply disables notifications?