Bug 853903

Summary: crash when no NIC
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: anacondaAssignee: Radek Vykydal <rvykydal>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, awilliam, g.kaviyarasu, jonathan, rvykydal, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-18.8-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-23 01:26:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 752665    
Attachments:
Description Flags
screenshot
none
anaconda-tb none

Description Kamil Páral 2012-09-03 09:45:22 UTC
Created attachment 609309 [details]
screenshot

Description of problem:
If I don't have any network card inside the machine, the first screen in anaconda is requesting network access. If I switch Wired to ON, the following traceback happens.

Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/network.py", line 447, in on_device_off_toggled
    dev_type = device.get_device_type()
AttributeError: 'NoneType' object has no attribute 'get_device_type'


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

How reproducible:
always

Comment 1 Kamil Páral 2012-09-03 09:46:00 UTC
Created attachment 609310 [details]
anaconda-tb

Comment 2 Radek Vykydal 2012-09-10 12:40:39 UTC
Fixed on master:
commit 8247c9afcaace7ec51f133d054f04c16e4540b8b
commit 03990f0077d192c0950c353af10669498146ecb5

Comment 3 Adam Williamson 2012-11-23 01:26:25 UTC
This bug looks to have been fixed for many anaconda builds now but missed being closed. If you find you are still experiencing it with Fedora 18 Beta (RC1) or later, please re-open the bug.

Comment 4 Kamil Páral 2012-11-23 09:42:54 UTC
Confirmed fixed in anaconda 18.29.2.