Bug 902090

Summary: TypeError: Argument 1 does not allow None as a value
Product: [Fedora] Fedora Reporter: Muhammet Kara <muhammetk>
Component: anacondaAssignee: Radek Vykydal <rvykydal>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: awilliam, g.kaviyarasu, joeycurl12345, jonathan, rtguille, sbueno, true466, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:20d915df3beb186e6240e678f20ab8f4a1c3178cd4ec55c4c63f442c8d346fe6
Fixed In Version: anaconda-19.2-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-30 00:56:55 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:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: ifcfg.log
none
File: messages
none
File: program.log
none
File: storage.log none

Description Muhammet Kara 2013-01-20 20:35:47 UTC
Description of problem:
Just downloaded Fedora 18 64 bit live iso, and tried to install. After clicking "Install to hard drive", and selecting English as the installation language, I clicked on the "Continue" button.
The following was filed automatically by anaconda:
anaconda 18.37.11 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/gi/types.py", line 47, in function
    return info.invoke(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/network.py", line 960, in hostname
    self.entry_hostname.set_text(value)
  File "/usr/lib64/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/lib64/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/lib64/python2.7/site-packages/pyanaconda/ui/gui/__init__.py", line 234, in _on_continue_clicked
    nextAction = self._instantiateAction(self._actions[1])
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/__init__.py", line 73, in _on_continue_clicked
    cb()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/welcome.py", line 287, in _on_continue_clicked
    StandaloneSpoke._on_continue_clicked(self, cb)
  File "/usr/lib64/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))
TypeError: Argument 1 does not allow None as a value

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8
cmdline_file:   initrd=initrd0.img root=live:CDLABEL=Fedora-18-x86_64-Live-Desktop.is rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 rd.live.check BOOT_IMAGE=vmlinuz0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.6.10-4.fc18.x86_64
other involved packages: pygobject3-base-3.4.2-6.fc18.x86_64
package:        anaconda-18.37.11-1.fc18.x86_64
packaging.log:  
product:        Fedora
release:        Fedora release 18 (Spherical Cow)
type:           libreport
version:        18

Comment 1 Muhammet Kara 2013-01-20 20:35:53 UTC
Created attachment 683846 [details]
File: anaconda-tb

Comment 2 Muhammet Kara 2013-01-20 20:35:55 UTC
Created attachment 683847 [details]
File: anaconda.log

Comment 3 Muhammet Kara 2013-01-20 20:35:58 UTC
Created attachment 683848 [details]
File: environ

Comment 4 Muhammet Kara 2013-01-20 20:36:00 UTC
Created attachment 683849 [details]
File: ifcfg.log

Comment 5 Muhammet Kara 2013-01-20 20:36:03 UTC
Created attachment 683850 [details]
File: messages

Comment 6 Muhammet Kara 2013-01-20 20:36:05 UTC
Created attachment 683851 [details]
File: program.log

Comment 7 Muhammet Kara 2013-01-20 20:36:08 UTC
Created attachment 683852 [details]
File: storage.log

Comment 8 Muhammet Kara 2013-01-20 21:00:45 UTC
I have reproduced the error. Here is a more detailed explanation:

On the language selection window, "English (United States)" option comes selected as default -it seems to be selected at least-, but if you click the "Continue" button to begin installation process using "English (United States)" language, you get this error, and you are not allowed to continue installation, and forced to terminate the installer.

If you click and select any of the language options listed -including "English (United States)" option- before clicking "Continue", you can start the installation process without any error.

I think the installer should warn the user to select a language instead of giving an error and terminating the process.

Comment 9 Muhammet Kara 2013-01-20 21:09:37 UTC
Correction:
If you want to start the installation with the default "English (United States)" option, you should select another language first, then reselect the "English (United States)" option again. Otherwise, it gives the same error, and terminates.

Comment 10 Chris Lumens 2013-01-22 16:33:42 UTC
I think we already have a patch for this (default hostname to "" instead of None), but I can't find it.

Comment 11 Radek Vykydal 2013-01-24 09:16:31 UTC
Hostname will be initialized synchronously before UI is run.

Comment 12 Reartes Guillermo 2013-02-09 20:22:36 UTC
i fixed the networik issue, but anaconda crashed as soon as i selected continue in the welcome screen. (selected spanish).

i do not known why it crashed.


Package: anaconda-18.37.11
OS Release: Fedora release 18

Comment 13 joeycurl12345 2013-04-19 23:50:30 UTC
i was tyring to install fedora to my harddrive and it happend 

Package: anaconda-18.37.11-1.fc18.x86_64
OS Release: Fedora release 18

Comment 14 Adam Williamson 2013-05-30 00:56:55 UTC
We're well past anaconda 19.2 at this point and we have no dupe reports from F19, so let's count this as fixed. If anyone encounters this with an F19 or later image, please re-open. Thanks.