Bug 851632

Summary: TypeError: object of type 'NoneType' has no len()
Product: [Fedora] Fedora Reporter: Martin Banas <mbanas>
Component: anacondaAssignee: Vratislav Podzimek <vpodzime>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: high    
Version: 18CC: anaconda-maint-list, g.kaviyarasu, jonathan, jreznik, mbanas, robatino, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:0c9bac218109a5743952e8e3edf2a964c1a1239fb77403f64ff9c100b22723f5
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 851628 Environment:
Last Closed: 2012-09-06 00:53:35 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:
Bug Depends On: 851628    
Bug Blocks: 752660    

Description Martin Banas 2012-08-24 14:24:31 UTC
+++ This bug was initially created as a clone of Bug #851628 +++

Version-Release number of selected component:
anaconda-18.7

Additional info:
libreport version: 2.0.12
cmdline:        repo=http://nap/os/ ks=http://nap/ks
kernel:         3.5.0-0.24.el7.x86_64

--- Additional comment from mbanas on 2012-08-24 10:20:20 EDT ---

Created attachment 606874 [details]
File: program.log

--- Additional comment from mbanas on 2012-08-24 10:20:22 EDT ---

Created attachment 606875 [details]
File: environ

--- Additional comment from mbanas on 2012-08-24 10:20:29 EDT ---

Created attachment 606876 [details]
File: type

--- Additional comment from mbanas on 2012-08-24 10:20:32 EDT ---

Created attachment 606877 [details]
File: hashmarkername

--- Additional comment from mbanas on 2012-08-24 10:20:34 EDT ---

Created attachment 606878 [details]
File: storage.log

--- Additional comment from mbanas on 2012-08-24 10:20:38 EDT ---

Created attachment 606879 [details]
File: anaconda.log

--- Additional comment from mbanas on 2012-08-24 10:20:39 EDT ---

Created attachment 606880 [details]
File: syslog

--- Additional comment from mbanas on 2012-08-24 10:20:46 EDT ---

Created attachment 606881 [details]
File: product

--- Additional comment from mbanas on 2012-08-24 10:20:49 EDT ---

Created attachment 606882 [details]
File: ks.cfg

--- Additional comment from mbanas on 2012-08-24 10:20:51 EDT ---

Created attachment 606883 [details]
File: version

--- Additional comment from mbanas on 2012-08-24 10:20:55 EDT ---

Created attachment 606884 [details]
File: release

--- Additional comment from mbanas on 2012-08-24 10:20:57 EDT ---

Created attachment 606885 [details]
File: anaconda-tb

--- Additional comment from mbanas on 2012-08-24 10:20:59 EDT ---

Created attachment 606886 [details]
File: ifcfg.log

--- Additional comment from mbanas on 2012-08-24 10:21:01 EDT ---

Created attachment 606887 [details]
File: description

Comment 1 Martin Banas 2012-08-24 14:25:22 UTC
This happens during kickstart installation, using graphical mode. Right now it's blocking kickstart installation, which means also automated testing.

Comment 2 Jaroslav Reznik 2012-08-24 14:49:07 UTC
Proposing as Beta blocker: "The installer must be able to use all kickstart delivery methods".

Comment 3 Brian Lane 2012-08-27 21:35:49 UTC
Vratislav,

The problem is that in LanguageMixIn._selectLanguage it is too strict about its language mapping. The store has en_US but it is looking for en_US.UTF-8 from the kickstart (or default).

Using expandLangs() from localization should fix it. Maybe like this:

while itr and store[itr][2] not in expandLangs(language):

Comment 4 Vratislav Podzimek 2012-08-28 14:17:51 UTC
(In reply to comment #3)
> Vratislav,
> 
> The problem is that in LanguageMixIn._selectLanguage it is too strict about
> its language mapping. The store has en_US but it is looking for en_US.UTF-8
> from the kickstart (or default).
> 
> Using expandLangs() from localization should fix it. Maybe like this:
> 
> while itr and store[itr][2] not in expandLangs(language):
That resolves the issue, thanks. Patch posted to anaconda-patches list for a review.

Comment 5 Fedora Update System 2012-09-01 05:11:58 UTC
anaconda-18.6.5-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.6.5-1.fc18

Comment 6 Fedora Update System 2012-09-01 16:56:38 UTC
Package anaconda-18.6.5-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.6.5-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-13105/anaconda-18.6.5-1.fc18
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-09-06 00:53:35 UTC
anaconda-18.6.5-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.