Bug 901515 - AttributeError: 'NoneType' object has no attribute 'default'
Summary: AttributeError: 'NoneType' object has no attribute 'default'
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.4
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Martin Kolman
QA Contact: Release Test Team
Depends On:
Blocks: 841211 960065
TreeView+ depends on / blocked
Reported: 2013-01-18 11:20 UTC by Jan Stodola
Modified: 2015-09-28 02:34 UTC (History)
1 user (show)

Fixed In Version: anaconda-13.21.197-1
Doc Type: Bug Fix
Doc Text:
Cause: Availability of the "core" package group in selected repositories, required for successfully installation, was not checked before proceeding to the package installation phase. Consequence: When no selected repository had the "core" package group, installation ended with an exception when proceeding to package installation. Fix: Check if selected repositories have the "core" package group and if they don't, show a warning dialog instead of proceeding to the next step. Result: If the selected repositories don't contain the "core" group, a warning dialog is shown and the installation is blocked until a repository containing the "core" group is added.
Clone Of:
Last Closed: 2013-11-21 09:58:45 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1588 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2013-11-21 00:40:22 UTC

Description Jan Stodola 2013-01-18 11:20:39 UTC
Description of problem:
Following traceback is displayed when user tries to use only additional repository for the installation:

anaconda 13.21.194 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/iw/task_gui.py", line 529, in <lambda>
    "default", False), grps)
  File "/usr/lib/anaconda/iw/task_gui.py", line 529, in getNext
    "default", False), grps)
  File "/usr/lib/anaconda/gui.py", line 1384, in nextClicked
    rc = self.currentWindow.getNext ()
AttributeError: 'NoneType' object has no attribute 'default'

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. start installation in graphical mode
2. proceed to the software selection screen
3. unselect "Red Hat Enterprise Linux" repository, which is selected by default
4. select any additional repository, for example "High Availability"
5. click "Next"

Actual results:
anaconda  traceback

Expected results:
There should be some warning message, user should be able to go back and select correct repositories.

Comment 3 RHEL Program Management 2013-05-06 21:14:50 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release.  Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.

Comment 8 Martin Kolman 2013-07-17 10:27:14 UTC
Fixed both in GUI and TUI.

In GUI it now shows a dialog that notifies that none of the selected repositories have the core package group and won't allow to continue the installation until some repos containing the core package group are added.

And in TUI, if none of the repositories specified in kickstart (as there is no standalone repository dialog in TUI) contains the core group, it shows a warning dialog and exits.

Comment 10 Jan Stodola 2013-09-26 11:32:14 UTC
Retested with anaconda-13.21.206-1.el6 from compose RHEL6.5-20130924.2. Anaconda doesn't allow the user to continue until base repository is selected.

Thanks, moving to VERIFIED.

Comment 12 errata-xmlrpc 2013-11-21 09:58:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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