The following was filed automatically by system-config-kickstart:
system-config-kickstart @VERSION@ exception report
Traceback (most recent call last):
File "/usr/share/system-config-kickstart/savefile.py", line 60, in on_confirm_options_cancel_button
AttributeError: saveFile instance has no attribute 'dialog'
Created attachment 414806 [details]
Attached traceback automatically from system-config-kickstart.
This is with system-config-kickstart-2.8.5-1.el6
In order to test bug #560079 I've installed :
To reproduce this do:
1) Start system-config-kickstart (I've started it as root, from command line, inside /usr/share/spin-kickstarts).
2) Open any of the files in this directory. File should load fine.
3) Select File -> Preview (Ctrl+P) then Cancel. Nothing happens.
4) Open another kickstart file from the file menu.
5) Select File -> Preview (Ctrl+P) then Cancel. Traceback happens.
I've tried several different files and it looks like it doesn't matter which files I open. On the second time there's always a crash.
Perhaps anaconda is not initializing the dialog properly or is destroying it the first time I press Cancel.
Looks like this only happens if you load a *different* file. If you reload the same file, no traceback. Also if you see what's going on when the cancel button is clicked:
['__doc__', '__init__', '__module__', 'buf', 'confirm_buffer', 'confirm_options_cancel_button', 'confirm_options_ok_button', 'destroy', 'dialog', 'on_confirm_options_cancel_button', 'saveFile_cb', 'textview', 'xml']
['__doc__', '__init__', '__module__', 'destroy', 'on_confirm_options_cancel_button', 'saveFile_cb']
So, lots of methods and attributes are getting lost. Very strange.
Created attachment 417340 [details]
Can you apply this patch (patch -p2, I think) to your /usr/share/system-config-kickstart/ contents locally and see if it's working better for you? I've completely redone the save dialog in the hopes of fixing this problem. There are some other minor changes, like the icons on the buttons being gone, but I'm not concerned about that.
Tested with system-config-kickstart-184.108.40.206-1.el6 in snap #7 and the steps to reproduce in comment #3. I've tried this several times with different ot the same file. There was no traceback. Moving to VERIFIED.
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.