Bug 236999 - system-config-kickstart: 'NoneType' object has no attribute 'set_model'
system-config-kickstart: 'NoneType' object has no attribute 'set_model'
Product: Fedora
Classification: Fedora
Component: system-config-securitylevel (Show other bugs)
noarch Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Woerner
: 237205 238746 (view as bug list)
Depends On:
Blocks: F7Test4
  Show dependency treegraph
Reported: 2007-04-18 16:05 EDT by Max Spevack
Modified: 2007-11-30 17:12 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-23 11:16:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Max Spevack 2007-04-18 16:05:49 EDT
Rawhide 2007-04-18, system-config-kickstart-2.7.4-1.fc7
If you run system-config-kickstart, you get a traceback as follows:

Component: system-config-kickstart
Summary: TBefdff07c selinuxPage.py:75:__init__:AttributeError: 'NoneType' object
has no attribute 'set_model'

Traceback (most recent call last):
  File "/usr/bin/system-config-kickstart", line 81, in <module>
  File "/usr/share/system-config-kickstart/kickstartGui.py", line 165, in __init__
    self.firewall_class = firewall.Firewall(xml, self.ksHandler)
  File "/usr/share/system-config-kickstart/firewall.py", line 99, in __init__
    self.selinuxWindow = selinuxWindow(selinuxXml)
  File "/usr/share/system-config-kickstart/firewall.py", line 40, in __init__
    selinuxPage.__init__(self, xml, doDebug, inFirstboot)
  File "/usr/share/system-config-securitylevel/selinuxPage.py", line 75, in __init__
AttributeError: 'NoneType' object has no attribute 'set_model'

Local variables in innermost frame:
xml: <glade.XML object (PyGladeXML) at 0x921c0cc>
listStore: <gtk.ListStore object (GtkListStore) at 0x981da04>
doDebug: None
self: <firewall.selinuxWindow instance at 0x981e08c>
inFirstboot: False
Comment 1 Chris Lumens 2007-04-19 11:11:24 EDT
What version of system-config-securitylevel do you have installed?
Comment 2 Chris Lumens 2007-04-20 11:04:39 EDT
*** Bug 237205 has been marked as a duplicate of this bug. ***
Comment 3 Chris Lumens 2007-04-20 11:27:34 EDT
twoerner - both firstboot and system-config-kickstart rely on the screens
provided by system-config-securitylevel.  One thing they both need is the
SELinux tab, which is provided to these other programs by the selinuxPage module
in s-c-sl.  If you could please add this tab back for F7 so we don't have to
change both firstboot and s-c-ks, that'd be helpful.  We can then sort out what
to do permanently after the release.

Look for me in IRC if you have any questions about this.
Comment 4 Christopher Brown 2007-04-20 18:00:31 EDT
Please close - this is a duplicate of #234006
Comment 5 Chris Lumens 2007-04-23 11:16:20 EDT
This has been fixed by downgrading s-c-securitylevel to 1.7.0 in the F7 tree.
Comment 6 Zack Cerza 2007-04-25 14:16:59 EDT
Is there a way we can have people tracking rawhide get the older s-c-sl in a yum
Comment 7 Chris Lumens 2007-04-25 14:40:46 EDT
There's no way to fix that short of building a new s-c-sl with a higher epoch
(kind of a gross fix), or one with a version number higher than 1.8.0. 
Otherwise people will have to fix this manually.
Comment 8 Chris Lumens 2007-05-02 15:06:07 EDT
*** Bug 238746 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.