Bug 247863

Summary: TBa3421c35 securitylevel.py:576:checkDirty:AttributeError: FirewallWindow instance has no attribute 'applyButton'
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: system-config-securitylevelAssignee: Thomas Woerner <twoerner>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: petersen, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-31 10:08:03 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:
Bug Depends On:    
Bug Blocks: 249313    

Description Bill Nottingham 2007-07-11 19:12:21 UTC
Description of problem:

Component: system-config-kickstart
Summary: TBa3421c35 securitylevel.py:576:checkDirty:AttributeError:
FirewallWindow instance has no attribute 'applyButton'

Traceback (most recent call last):
  File "/usr/share/system-config-securitylevel/securitylevel.py", line 273, in
security_changed_cb
    self.none_activated()
  File "/usr/share/system-config-securitylevel/securitylevel.py", line 214, in
none_activated
    self.setDirty(True)
  File "/usr/share/system-config-securitylevel/securitylevel.py", line 570, in
setDirty
    self.checkDirty()
  File "/usr/share/system-config-securitylevel/securitylevel.py", line 576, in
checkDirty
    self.applyButton.set_sensitive(True)
AttributeError: FirewallWindow instance has no attribute 'applyButton'

Local variables in innermost frame:
self: <firewall.FirewallWindow instance at 0x15a64d0>
args: ()

Version-Release number of selected component (if applicable):

system-config-kickstart-2.7.7-2.fc8

Comment 1 Chris Lumens 2007-07-18 14:27:23 UTC
You're not guaranteed to always have an applyButton or okButton in
securitylevel.py:childWindow.  In instances where the dialog is wrapped in
another  window, these buttons will never have been pulled from the glade file.
 So in checkDirty, you probably want to add a block like this right at the
beginning:

        if not self.applyButton or not self.okButton:
            continue


Comment 2 Will Woods 2007-07-27 14:26:09 UTC
This needs a fix for F8t1. Anything we can do to help?

Comment 3 Thomas Woerner 2007-07-30 16:27:46 UTC
*** Bug 250051 has been marked as a duplicate of this bug. ***

Comment 4 Thomas Woerner 2007-07-31 10:08:03 UTC
Fixed in rawhide in package system-config-securitylevel-1.7.0-4.fc8.