Bug 851632
| Summary: | TypeError: object of type 'NoneType' has no len() | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Martin Banas <mbanas> |
| Component: | anaconda | Assignee: | Vratislav Podzimek <vpodzime> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 18 | CC: | 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 happens during kickstart installation, using graphical mode. Right now it's blocking kickstart installation, which means also automated testing. Proposing as Beta blocker: "The installer must be able to use all kickstart delivery methods". 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): (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. 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 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). 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. |