Bug 491768

Summary: Traceback at CD switch attempt
Product: [Fedora] Fedora Reporter: Jesse Keating <jkeating>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, dcantrell, pjones, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:4e80b01a5c5a2c84c82919662f2ab25a437114ea1286fd933650e8084210508a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-25 23:53:56 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:
Bug Depends On:    
Bug Blocks: 476774    
Attachments:
Description Flags
Attached traceback automatically from anaconda. none

Description Jesse Keating 2009-03-23 22:27:58 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.35 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/yuminstall.py", line 346, in _switchCD
    dev.eject()
  File "/usr/lib/anaconda/yuminstall.py", line 507, in mediaHandler
    self._switchCD(discnum)
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 735, in _getFile
    result = self.mediafunc(local = local, checkfunc = checkfunc, relative = relative, text = text, copy_local = copy_local, url = url, mediaid = self.mediaid, name = self.name, discnum = discnum, range = (start, end))
  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 820, in getHeader
    cache=cache,
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1394, in downloadHeader
    cache=repo.http_caching != 'none',
  File "/usr/lib/anaconda/yuminstall.py", line 642, in downloadHeader
    YumSorter.downloadHeader(self, po)
  File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 241, in populateTs
    self.downloadHeader(txmbr.po)
  File "/usr/lib/anaconda/yuminstall.py", line 771, in run
    self.populateTs(keepold=0)
  File "/usr/lib/anaconda/yuminstall.py", line 1577, in doInstall
    rc = self.ayum.run(self.instLog, cb, anaconda.intf, anaconda.id)
  File "/usr/lib/anaconda/backend.py", line 287, in doInstall
    return anaconda.backend.doInstall(anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1317, 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 1338, in handleRenderCallback
    self.currentWindow.renderCallback()
AttributeError: 'NoneType' object has no attribute 'eject'

Comment 1 Jesse Keating 2009-03-23 22:28:04 UTC
Created attachment 336406 [details]
Attached traceback automatically from anaconda.

Comment 2 Jesse Keating 2009-03-23 22:32:48 UTC
The only odd thing here is that I was using a USB cdrom drive rather than the one built in.

Comment 3 Chris Lumens 2009-03-24 15:25:08 UTC
This should be fixed in the next build of anaconda, though it's hard for me to test now because of the .discinfo problem.

Comment 4 Jesse Keating 2009-03-25 23:53:56 UTC
Confirmed fixed with the latest anaconda tagged for beta.