Bug 497394 - AttributeError: 'IA64' object has no attribute 'isEfi'
Summary: AttributeError: 'IA64' object has no attribute 'isEfi'
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: ia64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-23 17:55 UTC by Doug Chapman
Modified: 2009-04-23 21:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-23 21:38:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to add isEfi to IA64 class (502 bytes, patch)
2009-04-23 17:55 UTC, Doug Chapman
no flags Details | Diff

Description Doug Chapman 2009-04-23 17:55:57 UTC
Created attachment 340976 [details]
patch to add isEfi to IA64 class

Description of problem:
Traceback from recent anaconda on ia64:

anaconda 11.5.0.46 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/formats/fs.py", line 862, in supported
    p.isEfi and
  File "/usr/lib/anaconda/storage/formats/fs.py", line 170, in __init__
    if self.supported:
  File "/usr/lib/anaconda/storage/formats/__init__.py", line 89, in getFormat
    fmt = fmt_class(*args, **kwargs)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1453, in handleUdevDevice
Format
    efi = formats.getFormat("efi")
  File "/usr/lib/anaconda/storage/devicetree.py", line 1166, in addUdevDevice
    self.handleUdevDeviceFormat(info, device)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1612, in populate
    self.addUdevDevice(dev)
  File "/usr/lib/anaconda/storage/__init__.py", line 288, in reset
    self.devicetree.populate()
  File "/usr/lib/anaconda/storage/__init__.py", line 101, in storageInitialize
    storage.reset()
  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/text.py", line 712, in run
    anaconda.dispatch.gotoNext()
  File "/usr/bin/anaconda", line 966, in <module>
    anaconda.intf.run(anaconda)
AttributeError: 'IA64' object has no attribute 'isEfi'




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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Chris Lumens 2009-04-23 21:38:54 UTC
Thanks for the patch, but I think it makes more sense to push the isEfi property all the way up to the top-level Platform class.  This will be in the next build of anaconda.


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