Bug 18 i386 installer

Benjamin Adams benjamindadams at gmail.com
Sat Jan 19 23:56:18 UTC 2013


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