Bug 250051

Summary: securitylevel.py backtrace
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: system-config-securitylevelAssignee: Thomas Woerner <twoerner>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
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-30 16:27:40 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:

Description Jens Petersen 2007-07-30 06:20:02 UTC
Description of problem:
firstboot gives a backtrace when it is run from 

Version-Release number of selected component (if applicable):
firstboot-1.4.35-4.fc8

How reproducible:
every time

Steps to Reproduce:
1. run firstboot
  
Actual results:
Error dialog appears with subtitle:
"An error has occurred in the Firewall module."

Traceback (most recent call last):
  File "/usr/share/firstboot/firstbootWindow.py", line 497, in loadModules
    result = module.launch()
  File "/usr/share/firstboot/modules/securitylevel.py", line 591, in launch
    self.readFile()
  File "/usr/share/firstboot/modules/securitylevel.py", line 431, in readFile
    self.parseArgList(map(lambda x: x.rstrip(), lines))
  File "/usr/share/firstboot/modules/securitylevel.py", line 354, in parseArgList
    self.firewall_activated()
  File "/usr/share/firstboot/modules/securitylevel.py", line 205, in
firewall_activated
    self.setDirty(True)
  File "/usr/share/firstboot/modules/securitylevel.py", line 570, in setDirty
    self.checkDirty()
  File "/usr/share/firstboot/modules/securitylevel.py", line 576, in checkDirty
    self.applyButton.set_sensitive(True)
AttributeError: childWindow instance has no attribute 'applyButton'

Expected results:
No backtrace.

Additional info:
Perhaps this should be refiled against system-config-securitylevel
though it runs ok.  (BTW I was wondering why firstboot needs to make a symlink
to the system-config-securitylevel python dir and keeps it own copy of
securitylevel.pyc?)

Comment 1 Thomas Woerner 2007-07-30 16:27:40 UTC

*** This bug has been marked as a duplicate of 247863 ***