Bug 746573

Summary: AttributeError: 'NoneType' object has no attribute 'default'
Product: [Fedora] Fedora Reporter: Tao Wu <twu>
Component: anacondaAssignee: Ales Kozumplik <akozumpl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: akozumpl, anaconda-maint-list, awilliam, jonathan, jzeleny, sdharane, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:358c4fabe4e929c66d9df906cceb943c6656cb7248211ac1dc411b5851a62f9b AcceptedNTH RejectedBlocker
Fixed In Version: anaconda-16.23-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-02 21:49:58 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 713566    
Description Flags
File: anaconda-tb-CPtTLr
anaconda 17.29 exception report none

Description Tao Wu 2011-10-17 02:23:00 EDT
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: anaconda
kernel:         3.1.0-0.rc9.git0.0.fc16.i686
product:        Fedora
reason:         AttributeError: 'NoneType' object has no attribute 'default'
time:           Mon Oct 17 02:22:02 2011
version:        16-TC1

anaconda-tb-CPtTLr: Text file, 461130 bytes

:The following was filed automatically by anaconda:
:anaconda 16.21 exception report
:Traceback (most recent call first):
:  File "/usr/lib/python2.7/site-packages/pyanaconda/iw/task_gui.py", line 515, in <lambda>
:    "default", False), grps)
:  File "/usr/lib/python2.7/site-packages/pyanaconda/iw/task_gui.py", line 515, in getNext
:    "default", False), grps)
:  File "/usr/lib/python2.7/site-packages/pyanaconda/gui.py", line 1197, in nextClicked
:    rc = self.currentWindow.getNext ()
:AttributeError: 'NoneType' object has no attribute 'default'
Comment 1 Tao Wu 2011-10-17 02:23:07 EDT
Created attachment 528467 [details]
File: anaconda-tb-CPtTLr
Comment 2 Ales Kozumplik 2011-10-17 04:25:46 EDT
Can you describe steps to reproduce? I noticed you are using (your testing?) repo http://rhe.fedorapeople.org/repotest/. Please leave it at a state allowing this bug to be reproduced here.
Comment 3 Ales Kozumplik 2011-10-17 09:23:59 EDT

I managed to reproduce by using your testing repo URL to replace the fedora installation DVD repo. That causes a traceback upon clicking _Next.

Here's an updates image if you want to test the fix:

The patch has been posted here:
Comment 4 Ales Kozumplik 2011-10-21 07:42:06 EDT
Proposing as a blocker, the steps from comment 3 lead to a traceback (it is not very probable someone who is not particularly trying to test the task screen would hit that).
Comment 5 Adam Williamson 2011-10-21 13:27:31 EDT
Discussed at 2011-10-21 blocker review meeting. As we understand this bug it doesn't seem to quite meet the release criteria, as you have to delete an existing repository to hit it, and that's not in the criteria (and isn't a terribly common thing to do anyway). But accepted as NTH as it can cause a crash and we should fix those, assuming the patch is pretty safe.
Comment 6 Ales Kozumplik 2011-10-24 10:26:56 EDT
Fixed by:
2f18fc978fd157dd906dfa57a39d1db8af680f8b on f16-branch,
a84c4a35eddf84977e35a76ac571197591cec2c7 on master.
Comment 7 Fedora Update System 2011-10-25 17:02:32 EDT
anaconda-16.23-1.fc16 has been submitted as an update for Fedora 16.
Comment 8 Adam Williamson 2011-11-02 21:49:58 EDT
Should be fixed now, that anaconda went stable. Let's close, re-open if it still happens.

Fedora Bugzappers volunteer triage team
Comment 9 nobody 2012-12-28 13:18:27 EST
Created attachment 669943 [details]
anaconda 17.29 exception report

In anaconda 17.29, i deselected fedora 17 repositories, inserted a rawhide repository, and anaconda crashed when i clicked next, with the stack trace report.