Description of problem: When one unchecks the "Encrypt root password" box, the "Save" and "Preview" File menu options become unresponsive. Version-Release number of selected component (if applicable): 2.6.6.4 How reproducible: This only happens when the password isn't to be saved encrypted. Steps to Reproduce: 1. Enter config, including root password. 2. Uncheck "encrypt root password". 3. Attempt to Save or Preview the config. Actual results: No pop-up with the config and/or no config saved. On the controlling terminal, however, one sees: Traceback (most recent call last): File "/usr/share/system-config-kickstart/kickstartGui.py", line 293, in on_activate_preview_options if self.getAllData() != None: File "/usr/share/system-config-kickstart/kickstartGui.py", line 237, in getAllData if self.basic_class.formToKsdata(doInstall) is None: File "/usr/share/system-config-kickstart/basic.py", line 202, in formToKsdata self.ksdata.rootpw["password"] = pure UnboundLocalError: local variable 'pure' referenced before assignment Expected results: Pop-up dialog with config or file chooser asking where to save config. Additional info: See proposed fix.
Created attachment 128518 [details] Proposed fix.
Thanks for the patch. Will be fixed in 2.6.10-1.