summaryrefslogtreecommitdiffstats
path: root/src/Gui/CCMainWindow.py
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@localhost.localdomain>2009-12-03 13:24:44 +0100
committerJiri Moskovcak <jmoskovc@localhost.localdomain>2009-12-03 13:24:44 +0100
commit0a61fc7f255213412d8551a221e65a7af9b631be (patch)
tree8791a6ebcd282b59f33a139db46658515ac0bd38 /src/Gui/CCMainWindow.py
parentb3ccd7f6d9a716e30039cdac92b338d1f70d9f8c (diff)
downloadabrt-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.py5
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())