F7 s-c-kickstart breaks in selinuxPage.py

Saurabh Jain (सौरभ जैन) saurabh.jain at gmail.com
Mon Jul 30 18:06:06 UTC 2007


Very late response, but nevertheless. I got system-config-kickstart to
work in FC7.

Here is the modification required:

Edit /usr/share/system-config-kickstart/packages.py

After line 132, insert:

repoorder = ["fedora"]

What is happening?

KS looks for repos "core", "base", "development". None of these exist
in FC7. Or at least in my installation. The OS is now in fedora
repository. So we tell KS to go look in fedora for installation
information.

Hope this helps...

Saurabh

On 21/06/07, Naoki <naoki at valuecommerce.com> wrote:
> I have no idea.  Anybody know enough python to explain what may be
> causing this?
>
> pykickstart-1.1.1-1.fc7
> system-config-kickstart-2.7.7-1.fc7
>
>
> $ system-config-kickstart
> 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>
>     kickstartGui.kickstartGui(file)
>   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__
>     self.enabledOptionMenu.set_model(listStore)
> AttributeError: 'NoneType' object has no attribute 'set_model'
>
> Local variables in innermost frame:
> xml: <glade.XML object (PyGladeXML) at 0xb3cb40>
> listStore: <gtk.ListStore object (GtkListStore) at 0x1559e60>
> doDebug: None
> self: <firewall.selinuxWindow instance at 0x155d758>
> inFirstboot: False
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>


-- 
http://saurabh.org.in




More information about the fedora-list mailing list