GNOME Bugzilla – Bug 719627
Exception (caused by notification daemon failures) at end of a successful render prevents the render window updating
Last modified: 2013-12-12 20:14:13 UTC
It should show maybe a Close button but it shows Pause/Cancel and this stacktrace in the console: Traceback (most recent call last):
+ Trace 232861
self.notification.show()
Oh... that's unexpected. How can freedesktop notifications not work? So in your case has_libnotify = True (the import works) but it still fails to use it? It's really weird that it manages to get through Notify.init("pitivi") self.notification = Notify.Notification.new(blah blah blah) but not self.notification.show() Alex, what would you suggest we do in this case? Add a nasty try-catch around the whole thing and log an error if it fails?
This happens when the notification-daemon process dies, for example. In this case a RuntimeError is thrown, but we should not be bothered by it. Wrote a fix, will make a pull request.
Fixed with: https://git.gnome.org/browse/pitivi/commit/?id=38861f742af4ce115c9265f3e7c85d8ea0f17111 https://git.gnome.org/browse/pitivi/commit/?id=96bc43a4a70fa7e3d976d098d5da0986e1697844
Thanks Alex :)