Bug 465820 - anaconda crash when there's no network device
Summary: anaconda crash when there's no network device
Keywords:
Status: CLOSED DUPLICATE of bug 465127
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-06 15:23 UTC by Dan Winship
Modified: 2008-10-06 15:29 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-10-06 15:29:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dan Winship 2008-10-06 15:23:32 UTC
Installing from the Beta LiveCD on an x86_64 with an e1000e card, which is disabled in the beta kernel.

Eventually it crashes here:

Traceback (most recent call first):
  File "/usr/lib/anaconda/network.py", line 529, in write
    if dev.get('GATEWAY'):
  File "/usr/lib/anaconda/instdata.py", line 194, in write
    self.network.write (self.anaconda.rootPath)
  File "/usr/lib/anaconda/backend.py", line 277, in writeConfiguration
    anaconda.id.write()
  File "/usr/lib/anaconda/dispatch.py", line 204, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 127, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1349, in nextClicked
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/iw/progress_gui.py", line 79, in renderCallback
    self.intf.icw.nextClicked()
  File "/usr/lib/anaconda/gui.py", line 1370, in handleRenderCallback
    self.currentWindow.renderCallback()
UnboundLocalError: local variable 'dev' referenced before assignment


Looks like the code doesn't deal with the possibility that self.netdevices will be empty.

Comment 1 Chris Lumens 2008-10-06 15:29:23 UTC

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


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