diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-02-26 14:09:59 +0100 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-02-26 14:09:59 +0100 |
| commit | 1ae05137e5431b2df925a02ec658fec1381d47f7 (patch) | |
| tree | bdcb47326176678dfbd50053dce82d5c16ac4f20 /src | |
| parent | ea270854ebb60cdbf3ada8137e5b5653d2a4ad05 (diff) | |
| download | abrt-1ae05137e5431b2df925a02ec658fec1381d47f7.tar.gz abrt-1ae05137e5431b2df925a02ec658fec1381d47f7.tar.xz abrt-1ae05137e5431b2df925a02ec658fec1381d47f7.zip | |
DBus timeout handling
Diffstat (limited to 'src')
| -rw-r--r-- | src/Gui/CCMainWindow.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py index a7fc327..0cbd03e 100644 --- a/src/Gui/CCMainWindow.py +++ b/src/Gui/CCMainWindow.py @@ -126,7 +126,13 @@ class MainWindow(): return dump = dumpsListStore.get_value(dumpsListStore.get_iter(path[0]), len(self.dlist.get_columns())) # show the report window with selected dump - report = self.ccdaemon.getReport(dump.getUUID()) + try: + report = self.ccdaemon.getReport(dump.getUUID()) + except Exception,e: + # FIXME #3 dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply + gui_error_message("Operation taking too long - \nPlease try again after debuginfo is installed") + return + if not report: gui_error_message("Unable to get report! Debuginfo missing?") return |
