diff options
author | Jiri Moskovcak <jmoskovc@localhost.localdomain> | 2009-12-03 13:24:44 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@localhost.localdomain> | 2009-12-03 13:24:44 +0100 |
commit | 0a61fc7f255213412d8551a221e65a7af9b631be (patch) | |
tree | 8791a6ebcd282b59f33a139db46658515ac0bd38 /src/Gui/CCMainWindow.py | |
parent | b3ccd7f6d9a716e30039cdac92b338d1f70d9f8c (diff) | |
download | abrt-0a61fc7f255213412d8551a221e65a7af9b631be.tar.gz abrt-0a61fc7f255213412d8551a221e65a7af9b631be.tar.xz abrt-0a61fc7f255213412d8551a221e65a7af9b631be.zip |
GUI: handle cases when gui fails to start daemon on demand rhbz#543725
Diffstat (limited to 'src/Gui/CCMainWindow.py')
-rw-r--r-- | src/Gui/CCMainWindow.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py index f34ac2e6..88d931b4 100644 --- a/src/Gui/CCMainWindow.py +++ b/src/Gui/CCMainWindow.py @@ -195,7 +195,10 @@ class MainWindow(): try: dumplist = getDumpList(self.ccdaemon, refresh=True) except Exception, e: - gui_error_message(_("Error while loading the dumplist, please check if abrt daemon is running\n %s" % e)) + # there is something wrong with the daemon if we can get the dumplist + gui_error_message(_("Error while loading the dumplist.\n%s" % e)) + # so we shouldn't continue.. + sys.exit() for entry in dumplist[::-1]: try: icon = get_icon_for_package(self.theme, entry.getPackageName()) |