nekohayo / specto

Automatically exported from code.google.com/p/specto
0 stars 0 forks source link

catch libnotify exceptions to prevent crashes #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/spectlib/watch_mail_gmail.py",
line 111, in update
    Watch.update(self, lock)
  File "/usr/lib/python2.5/site-packages/spectlib/watch.py", line 73, in update
    self.notify()
  File "/usr/lib/python2.5/site-packages/spectlib/watch.py", line 119, in
notify
    NotificationToast(self.specto, notification_toast,
self.specto.icon_theme.load_icon("emblem-mail", 64, 0), self.tray_x,
self.tray_y, name=self.name)
  File "/usr/lib/python2.5/site-packages/spectlib/balloons.py", line 75, in
__init__
    if not self.toast.show():
GError: Message did not receive a reply (timeout by message bus)

This should be catched by specto in case libnotify misbehaves. Taken from
https://bugs.launchpad.net/ubuntu/+source/specto/+bug/199621

Original issue reported on code.google.com by nekoh...@gmail.com on 7 Mar 2008 at 9:05

GoogleCodeExporter commented 9 years ago

Original comment by woutclym...@gmail.com on 8 Mar 2008 at 7:36

GoogleCodeExporter commented 9 years ago
Fixed in my branch revision 28

Original comment by woutclym...@gmail.com on 11 Mar 2008 at 10:56

GoogleCodeExporter commented 9 years ago

Original comment by nekoh...@gmail.com on 18 Mar 2008 at 2:47

GoogleCodeExporter commented 9 years ago

Original comment by nekoh...@gmail.com on 9 Jan 2009 at 10:50