From: "Brian C. Lane" <bcl(a)redhat.com>
Catch it in the exception handler.
---
pyanaconda/exception.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/exception.py b/pyanaconda/exception.py
index bda8879..e698b42 100644
--- a/pyanaconda/exception.py
+++ b/pyanaconda/exception.py
@@ -133,7 +133,7 @@ def handleException(self, dump_info):
"exception handler in it")
self._main_loop_handleException(dump_info)
- except (RuntimeError, ImportError):
+ except (RuntimeError, ImportError, ValueError):
log.debug("Gtk cannot be initialized")
# X not running (Gtk cannot be initialized)
if threadMgr.in_main_thread():
--
To view this commit on github, visit
https://github.com/rhinstaller/anaconda/commit/247268202e29a662f9ed0a9fbe...