Bug 1258992 - [abrt] initial-setup: __init__.py:135:prompt:TypeError: 'dict_values' object does not support indexing
Summary: [abrt] initial-setup: __init__.py:135:prompt:TypeError: 'dict_values' object ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Kolman
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:d2202fe990553d634906e69f34f...
Depends On:
Blocks: F23BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2015-09-01 17:05 UTC by Giulio 'juliuxpigface'
Modified: 2015-09-10 21:37 UTC (History)
9 users (show)

Fixed In Version: anaconda-23.19.2-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-10 21:37:16 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (678 bytes, text/plain)
2015-09-01 17:05 UTC, Giulio 'juliuxpigface'
no flags Details
File: environ (116 bytes, text/plain)
2015-09-01 17:05 UTC, Giulio 'juliuxpigface'
no flags Details

Description Giulio 'juliuxpigface' 2015-09-01 17:05:16 UTC
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).

Workaround:
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:
initial-setup-0.3.35-1.fc23

Additional info:
reporter:       libreport-2.6.2
cmdline:        python3 -m initial_setup
executable:     /usr/lib/python3.4/site-packages/initial_setup/__main__.py
kernel:         4.2.0-0.rc6.git0.2.fc23.x86_64
runlevel:       unknown
type:           Python3
uid:            0

Truncated backtrace:
__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][1])
  File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/tui/hubs/__init__.py", line 135, in prompt
    'spoke_title': self._spokes.values()[0].title,
TypeError: 'dict_values' object does not support indexing

Local variables in innermost frame:
args: None
__class__: <class 'pyanaconda.ui.tui.hubs.TUIHub'>
self: <initial_setup.tui.hubs.initial_setup_hub.InitialSetupMainHub object at 0x7fd6d9927d68>

Comment 1 Giulio 'juliuxpigface' 2015-09-01 17:05:19 UTC
Created attachment 1069086 [details]
File: backtrace

Comment 2 Giulio 'juliuxpigface' 2015-09-01 17:05:20 UTC
Created attachment 1069087 [details]
File: environ

Comment 3 Fedora Blocker Bugs Application 2015-09-01 17:16:30 UTC
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.

Comment 4 Adam Williamson 2015-09-08 20:15:59 UTC
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.

Comment 5 Adam Williamson 2015-09-10 19:04:40 UTC
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.

Comment 6 Adam Williamson 2015-09-10 21:37:16 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.