Bug 853576

Summary: Rescue mode fails in F18 Alpha TC4 - "cannot import name expandLangs"
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: anacondaAssignee: David Cantrell <dcantrell>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, dcantrell, g.kaviyarasu, jonathan, kparal, robatino, vanmeeuwen+fedora
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: AcceptedBlocker
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-06 20:19:09 UTC Type: Bug
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:    
Bug Blocks: 752654    

Description Adam Williamson 2012-08-31 23:02:41 UTC
Trying to boot to rescue mode from the F18 Alpha TC4 netinst ISO results in a traceback.

File "/usr/lib64/python2.7/site-packages/pyanaconda/exception.py", line 86, in handleException
    (ty, value, tb), obj)
File "/usr/lib/python2.7/site-packages/meh/handler.py", line 108, in handleException
    win = self.intf.mainExceptionWindow(str(self.exn), self.exnText)
AttributeError: 'NoneType' object has no attribute 'mainExceptionWindow'

Original exception was:
Traceback (most recent call last):
  File "/sbin/anaconda", line 926, in <module>
    from pyanaconda.rescue import doRescue
  File "/usr/lib64/python2.7/site-packages/pyanaconda/rescue.py", line 26, in <module>
    from text import WaitWindow, OkCancelWindow, ProgressWindow, PassphraseEntryWindow, stepToClasses
  File "/usr/lib64/python2.7/site-packages/pyanaconda/text.py", line 35, in <module>
    from localeinfo import expandLangs
ImportError: cannot import name expandLangs

Comment 1 Adam Williamson 2012-08-31 23:05:28 UTC
nominating as Alpha blocker: criterion is " The rescue mode of the installer must start successfully and be able to detect and mount an existing default installation".

Comment 2 Jesse Keating 2012-08-31 23:13:38 UTC
This is simply a left over import that is unused and now broken.  Patch to remove it sent upstream.

Comment 3 Fedora Update System 2012-09-01 05:11:32 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 4 Fedora Update System 2012-09-01 16:56:20 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 5 Kamil Páral 2012-09-03 11:21:37 UTC
This is still present in Alpha TC5 (anaconda 18.6.4). New compose is needed.

Comment 6 Adam Williamson 2012-09-05 16:48:12 UTC
Discussed at 2012-09-05 blocker review meeting. Accepted as a blocker per criterion "The rescue mode of the installer must start successfully and be able to detect and mount an existing default installation".

Comment 7 Fedora Update System 2012-09-06 00:53:04 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.

Comment 8 Adam Williamson 2012-09-06 20:19:09 UTC
Rescue mode is fine in TC6. Closing.