[PATCH] vtActivate doesn't work on some ppc64 machines, so don't traceback (#516206).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 exception.py |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/exception.py b/exception.py
index 15aa6c7..0df4eab 100644
--- a/exception.py
+++ b/exception.py
@@ -52,7 +52,13 @@ class AnacondaExceptionHandler(ExceptionHandler):
             pass
 
     def runDebug(self, (ty, value, tb)):
-        isys.vtActivate(1)
+        # vtActivate does not work on certain ppc64 machines, so just skip
+        # that and continue with the rest of the debugger setup.
+        try:
+            isys.vtActivate(1)
+        except SystemError:
+            pass
+
         self.intf.__del__ ()
 
         pidfl = "/tmp/vncshell.pid"
-- 
1.6.1.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux