Red Hat Bugzilla – Bug 853253
anaconda (textmode) crashes with unexpected input
Last modified: 2014-06-23 20:19:04 EDT
Description of problem:
The storage spoke in text mode caused anaconda to die when given input it wasn't expecting, in this case "12" instead of "1":
Traceback (most recent call last):
File "/sbin/anaconda", line 946, in <module>
File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/__init__.py", line 159, in run
File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 210, in run
File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 257, in _mainloop
if not self.input(self._screens[-1], c):
File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 296, in input
key = self._screens[-1].input(args, key)
File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/storage.py", line 207, in input
IndexError: list index out of range
The installer died immediately.
Version-Release number of selected component (if applicable):
Yeah, I was expecting that. Easy enough to fix.
Proposing F18Alpha at least NTH.
anaconda-18.6.5-1.fc18 has been submitted as an update for Fedora 18.
* 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:
then log in and leave karma (feedback).
This is still present in Alpha TC5 (anaconda 18.6.4).
(In reply to comment #5)
> This is still present in Alpha TC5 (anaconda 18.6.4).
That's why the comment before this says you have to be running anaconda 18.6.5.
Sure, I know. Still I believe it's better to have that information than not to have it. Sometimes it's fixed in a different build than what the Bodhi update says.
Discussed at 2012-09-05 blocker review meeting. Accepted as a blocker per criterion "The installer must be able to complete an installation using the text, graphical and VNC installation interfaces", in the case of the user accidentally entering an invalid numerical selection. We felt the chances of someone fat-fingering one of the numerical prompts were pretty high, and the installer really shouldn't crash in this case.
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.
The fix should be in TC6; we should test and verify before closing.
I can reproduce this at will in TC5 by doing 1 (timezone settings) then 12 (invalid entry) - causes a traceback and reboot. In TC6, same thing just causes the timezone settings screen to be redrawn, as intended. Closing as fixed.