[PATCH] Put traceback reports on a diet.

Chris Lumens clumens at redhat.com
Thu Aug 23 18:23:08 UTC 2012


This updates what attributes get written out to the traceback file for the
newui.  In particular, it avoids writing out all the yum stuff that makes the
traceback file grow over 2 MB and take nearly a minute to pickle.

It's entirely possible this is either skipping too much or writing out too
much still, but we can work on that over time.
---
 pyanaconda/exception.py | 29 +++++++----------------------
 1 file changed, 7 insertions(+), 22 deletions(-)

diff --git a/pyanaconda/exception.py b/pyanaconda/exception.py
index 70deed5..2ac513b 100644
--- a/pyanaconda/exception.py
+++ b/pyanaconda/exception.py
@@ -146,28 +146,13 @@ def initExceptionHandling(anaconda):
 
     conf = Config(programName="anaconda",
                   programVersion=isys.getAnacondaVersion(),
-                  attrSkipList=[ "backend.ayum",
-                                 "backend.dlpkgs",
-                                 "accounts",
-                                 "bootloader.password",
-                                 "comps",
-                                 "hdList",
-                                 "ksdata",
-                                 "instLanguage.font",
-                                 "instLanguage.kbd",
-                                 "instLanguage.info",
-                                 "instLanguage.localeInfo",
-                                 "instLanguage.nativeLangNames",
-                                 "instLanguage.tz",
-                                 "keyboard._mods._modelDict",
-                                 "keyboard.modelDict",
-                                 "storage.encryptionPassphrase",
-                                 "users.rootPassword",
-                                 "tmpData",
-                                 "intf.icw.buff",
-                                 "intf.icw.currentWindow.storage.encryptionPassphrase",
-                                 "intf.icw.stockButtons",
-                               ],
+                  attrSkipList=["_intf._actions",
+                                "_intf.storage.bootloader.password",
+                                "_intf.storage.data",
+                                "_bootloader.encrypted_password",
+                                "_bootloader.password",
+                                "payload._groups",
+                                "payload._yum"],
                   localSkipList=[ "passphrase", "password" ],
                   fileList=fileList)
     handler = AnacondaExceptionHandler(conf, anaconda.intf, ReverseExceptionDump)
-- 
1.7.11.2



More information about the anaconda-patches mailing list