Bug 18 i386 installer

Benjamin Adams benjamindadams at gmail.com
Sun Jan 20 00:16:45 UTC 2013


During the network install section I got the fallowing:

Next Item was:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pyanaconda/threads.py", line 91, in run
    threading.Thread.run(self, *args, **kwargs)
  File "/usr/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/pyanaconda/install.py", line
72, in doConfiguration
    ksdata.network.execute(storage, ksdata, instClass)
  File "/usr/lib/python2.7/site-packages/pyanaconda/kickstart.py",
line 759, in execute
    network.write_network_config(storage, ksdata, instClass, ROOT_PATH)
  File "/usr/lib/python2.7/site-packages/pyanaconda/network.py", line
929, in write_network_config
    write_sysconfig_network(rootpath, ksdata, overwrite=flags.livecdInstall)
  File "/usr/lib/python2.7/site-packages/pyanaconda/network.py", line
840, in write_sysconfig_network
    dev.loadIfcfgFile()
  File "/usr/lib/python2.7/site-packages/pyanaconda/network.py", line
311, in loadIfcfgFile
    IfcfgFile.read(self)
  File "/usr/lib/python2.7/site-packages/pyanaconda/simpleconfig.py",
line 187, in read
    SimpleConfigFile.read(self, self.path)
  File "/usr/lib/python2.7/site-packages/pyanaconda/simpleconfig.py",
line 77, in read
    with open(filename) as f:
IOError: [Errno 2] No such file or directory:
'/etc/sysconfig/network-scripts/ifcfg-ttyUSB0'

contents of /etc/sysconfig/network-scripts:
[liveuser at localhost ~]$ ls /etc/sysconfig/network-scripts/
ifcfg-lo          ifdown-post    ifup-ippp    ifup-sit
ifcfg-p2p1        ifdown-ppp     ifup-ipv6    ifup-tunnel
ifcfg-wifinetwork  ifdown-routes  ifup-ipx     ifup-wireless
ifdown            ifdown-sit     ifup-isdn    init.ipv6-global
ifdown-bnep       ifdown-tunnel  ifup-plip    keys-wifinetwork
ifdown-eth        ifup           ifup-plusb   network-functions
ifdown-ippp       ifup-aliases   ifup-post    network-functions-ipv6
ifdown-ipv6       ifup-bnep      ifup-ppp
ifdown-isdn       ifup-eth       ifup-routes

Still some changes need will look later on.

Ben

On Sat, Jan 19, 2013 at 6:56 PM, Benjamin Adams
<benjamindadams at gmail.com> wrote:
> hello,
>
> I did a fix change to the installer.
> This is on i386 not sure about x64 coding.
>
> Fix was in file:
> /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/network.py
>
> line 960:
> from
>     @hostname.setter
>     def hostname(self, value):
>         self.entry_hostname.set_text(value)
>
> To:
>     @hostname.setter
>     def hostname(self, value):
> +        if not value:
> +            value = 'localhost'
>         self.entry_hostname.set_text(value)
>
> Installing also on wireless without network connection.
>
> Thanks,
>
> Ben Adams
>
>
> On Sat, Jan 19, 2013 at 5:37 PM, Benjamin Adams
> <benjamindadams at gmail.com> wrote:
>> I'm on a IBM T60  I get the fallowing error on the welcome screen with
>> languages.  I select English (US) ... Hitting Continue I get:
>>
>> (Attached is my dmesg)
>>
>> (anaconda:2413): Gtk-WARNING **: Overriding tab label for notebook
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/__init__.py",
>> line 77, in <lambda>
>>     self.window.connect("continue-clicked", lambda *args:
>> self._on_continue_clicked(cb))
>>   File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/welcome.py",
>> line 287, in _on_continue_clicked
>>     StandaloneSpoke._on_continue_clicked(self, cb)
>>   File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/__init__.py",
>> line 73, in _on_continue_clicked
>>     cb()
>>   File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/__init__.py",
>> line 234, in _on_continue_clicked
>>     nextAction = self._instantiateAction(self._actions[1])
>>   File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/__init__.py",
>> line 77, in _instantiateAction
>>     obj = actionClass(self.data, self.storage, self.payload, self.instclass)
>>   File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/network.py",
>> line 1091, in __init__
>>     self.network_control_box.hostname = self.data.network.hostname
>>   File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/network.py",
>> line 960, in hostname
>>     self.entry_hostname.set_text(value)
>>   File "/usr/lib/python2.7/site-packages/gi/types.py", line 47, in function
>>     return info.invoke(*args, **kwargs)
>> TypeError: Argument 1 does not allow None as a value
>>
>> I know some python.  Don't have time to debug now but will look tonight.
>>
>> Ben


More information about the test mailing list