Red Hat Bugzilla – Bug 1258992
[abrt] initial-setup: __init__.py:135:prompt:TypeError: 'dict_values' object does not support indexing
Last modified: 2015-09-10 17:37:16 EDT
Description of problem:
Steps to reproduce:
1. Install Fedora 23 Alpha TC1 on a qemu-kvm guest (I chose to install from the live of KDE x86_64).
2. Do not create an user with Anaconda.
3. Boot the installed system.
4. Observe that initial-setup keep failing (with a looping exception).
5. The system must be shut down improperly (I used CTRL+ALT+BACKSPACE in order to reboot mine).
1. But the system in single mode.
2. Log in as root.
3. systemctl disable initial-setup-text.service.
4. Reboot and observe that initial-setup-graphical works as expected.
Version-Release number of selected component:
cmdline: python3 -m initial_setup
__init__.py:135:prompt:TypeError: 'dict_values' object does not support indexing
Traceback (most recent call last):
File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 346, in _mainloop
prompt = last_screen.prompt(self._screens[-1])
File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/tui/hubs/__init__.py", line 135, in prompt
TypeError: 'dict_values' object does not support indexing
Local variables in innermost frame:
__class__: <class 'pyanaconda.ui.tui.hubs.TUIHub'>
self: <initial_setup.tui.hubs.initial_setup_hub.InitialSetupMainHub object at 0x7fd6d9927d68>
Created attachment 1069086 [details]
Created attachment 1069087 [details]
Proposed as a Blocker for 23-beta by Fedora user juliuxpigface using the blocker tracking app because:
This bug seems to violate the Alpha criteria "2.4.1 Expected installed system boot behavior" (https://fedoraproject.org/wiki/Fedora_23_Alpha_Release_Criteria#Expected_installed_system_boot_behavior).
"A system installed without a graphical package set must boot to a state where it is possible to log in through at least one of the default virtual consoles."
As it appears to me, initial-setup-text's mainloop crashes and loops until the system's shutdown.
initial-setup-text does seem to work in Beta TC4. I tested with the Cinnamon live since KDE live compose failed. On my first boot try, it seems like initial-setup-graphical ran but was not visible (I saw the cinnamon login screen). I booted to rescue mode and forcibly disabled initial-setup-graphical, which forced initial-setup-text to run, and it ran OK.
Discussed at 2015-09-10 blocker review meeting: https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2015-09-10/f23-blocker-review.2015-09-10-16.00.log.txt . Accepted as a blocker per criterion cited in #c3 - this would be violated for the ARM minimal disk image, which relies on initial-setup-text for user creation.
23.19.2-1 went stable, so closing. Note, we should check if the ARM KDE and minimal images actually work in TC5, make sure no other issues are lurking.