Description of problem: In stage 2 of anaconda, encountered an exception with errors about python 2.7 Version-Release number of selected component (if applicable): anaconda 14.14 F14-alpha-tc2 How reproducible: 100% Steps to Reproduce: 1.Boot the system with DVD.iso Actual results: <report xmlns="http://www.redhat.com/gss/strata"><binding name="localhash">dd5d9121b3d09d62c51159d6dde2a7400f97d3cefe16fbc6f506624182844a89</binding><binding name="product" /><binding name="description">The following was filed automatically by anaconda: anaconda 14.14 exception report Traceback (most recent call first): File "/usr/lib/python2.7/site-packages/pyanaconda/upgrade.py", line 86, in findRootParts oldInstalls += " on ".join(info) File "/usr/lib/python2.7/site-packages/pyanaconda/dispatch.py", line 212, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/python2.7/site-packages/pyanaconda/dispatch.py", line 131, in gotoNext self.moveStep() File "/usr/lib/python2.7/site-packages/pyanaconda/gui.py", line 1262, in setScreen self.anaconda.dispatch.gotoNext() File "/usr/lib/python2.7/site-packages/pyanaconda/gui.py", line 1175, in nextClicked self.setScreen () TypeError: sequence item 0: expected string, NoneType found </binding><binding fileName="/tmp/anaconda-tb-CkSL0m" name="pythonUnhandledException" type="text">anaconda 14.14 exception report Traceback (most recent call first): File "/usr/lib/python2.7/site-packages/pyanaconda/upgrade.py", line 86, in findRootParts oldInstalls += " on ".join(info) File "/usr/lib/python2.7/site-packages/pyanaconda/dispatch.py", line 212, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/python2.7/site-packages/pyanaconda/dispatch.py", line 131, in gotoNext self.moveStep() File "/usr/lib/python2.7/site-packages/pyanaconda/gui.py", line 1262, in setScreen self.anaconda.dispatch.gotoNext() File "/usr/lib/python2.7/site-packages/pyanaconda/gui.py", line 1175, in nextClicked self.setScreen () TypeError: sequence item 0: expected string, NoneType found Local variables in innermost frame: info: (None, None, 'VolGroup-lv_root') oldInstalls: anaconda: <pyanaconda.Anaconda object at 0xb70f650c> notUpgradable: [(None, None, 'VolGroup-lv_root')] Expected results: 1. Graphical boot menu(isolinux or syslinux) is displayed for users to select install options. If no option is selected, the installer should load after a reasonable timeout 2. Anaconda boots successfully from the DVD 3. Anaconda transitions to stage2 without error Additional info:
Thanks for filing this bug report. I'm not familiar with the Anaconda code, but this appears to be happening in error handling: it is preparing this error message: "Your current installation cannot be upgraded. This " "is likely due to it being too old. Only the previous two " "release may be upgraded. To upgrade older releases " "you must first upgrade through all intermediate releases." trying to list the older installs that aren't possible. This looks like an anaconda bug; reassigning. The exception: TypeError: sequence item 0: expected string, NoneType found is from the join invocation in oldInstalls += " on ".join(info) File "/usr/lib/python2.7/site-packages/pyanaconda/upgrade.py", line 86, in findRootParts All elements of the input iterable must be strings or unicode, but the 0th element of info is None. notUpgradeable seems to be initialized in storage/__init__.py, findExistingRootDevices, using getReleaseString (by opening /etc/redhat-release), and if that file can't be opened, relName and relVer will both be None; I believe this will trigger the exception you're seeing. So I believe you'll see this if you have a pre-existing install that has a /etc/fstab but doesn't have a /etc/redhat-release.
(I'm fairly sure that "".join didn't change behavior here between python 2.6 and 2.7, fwiw)
Please attach the complete exception report, preferably in a non-xml format, so we have more context on this error. Also what OS do you have installed currently, and is there a /etc/fedora-release file? If so, what are its contents?
Created attachment 436760 [details] Exception Log Reproduced it in both i386 and x86_64 system after it examined the storage devices. Exception Log attached. And there's no /etc/fedora-release file in the system.
How did you end up in a situation where there's no /etc/fedora-release?
*** Bug 621817 has been marked as a duplicate of this bug. ***
(In reply to comment #5) > How did you end up in a situation where there's no /etc/fedora-release? ? What does that mean? I turned to console tty2 and found no /etc/fedora-release existed.
I meant on some previously (possibly corrupted) installed system. I should have made that clear. But we know what the problem is and Brian is already looking into it. I'll reassign this to him so he can mark as a duplicate.
*** This bug has been marked as a duplicate of bug 621685 ***