Bug 465719

Summary: UnboundLocalError variable 'dev' in network.py 529
Product: [Fedora] Fedora Reporter: Chris Hubick <chris>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, dcantrell, zxvdr.au
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-06 13:50:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
anaconda 11.4.1.40 exception report none

Description Chris Hubick 2008-10-06 01:51:38 UTC
Created attachment 319514 [details]
anaconda 11.4.1.40 exception report 

While installing Fedora 10 beta 1, after resolving dependencies, Anaconda crashes with a traceback in file "/usr/lib/anaconda/network.py", line 529, "in write" ... "if dev.get('GATEWAY'):"  UnboundLocalError: local variable 'dev' referenced before assignment.

I searched for these symptoms and found a single document being the attached pastebin output someone else had posted with what appears to be largely identical output to the problem I am having.

This occurs in both text and graphical modes.  I tried passing manual IP configuration to the kernel, noipv4/6, all to no avail.

The machine is a Panasonic CF-U1 laptop/netbook, currently with no ethernet card/dock and only wireless (Intel 5100).

Thanks for any assistance!

Comment 1 David Robinson 2008-10-06 11:24:33 UTC
I'm having this same problem (but wasn't able to capture any more information unfortunately), and I suspect its due to not having an Ethernet card (or in my case, having an intel nic that is susceptible to bz 459202).

I've had a quick look at the source code (network.py). The 'write' function doesn't handle cases where there are no nics (which causes dev to be undefined).

Comment 2 Chris Lumens 2008-10-06 13:50:30 UTC

*** This bug has been marked as a duplicate of bug 465127 ***