Bug 593259
Summary: | AttributeError: saveFile instance has no attribute 'dialog' | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Alexander Todorov <atodorov> | ||||||
Component: | system-config-kickstart | Assignee: | Chris Lumens <clumens> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Release Test Team <release-test-team-automation> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 6.0 | ||||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | system-config-kickstart_trace_hash:a108bf9d155c6c04ac7e0911f969c577b784cd13ace4692a86100e226790a973 | ||||||||
Fixed In Version: | system-config-kickstart-2.8.6-1 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-11-10 21:42:36 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Alexander Todorov
2010-05-18 11:04:02 UTC
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 : fedora-kickstarts-0.12.0-2.fc12.noarch.rpm spin-kickstarts-0.12.0-2.fc12.noarch.rpm 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:
(Pdb) dir(self)
['__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']
(Pdb) c
...
> /home/clumens/src/system-config-kickstart/src/savefile.py(62)on_confirm_options_cancel_button()
-> self.dialog.hide()
(Pdb) dir(self)
['__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]
a patch
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-2.8.6.1-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. |