Bug 495077 - AttributeError: 'NoneType' object has no attribute 'getSize'
Summary: AttributeError: 'NoneType' object has no attribute 'getSize'
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:6f0426dc945a3cabc...
Depends On:
Blocks: F11Blocker, F11FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2009-04-09 16:44 UTC by James Laska
Modified: 2013-09-02 06:34 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-10 09:54:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (192.28 KB, text/plain)
2009-04-09 16:44 UTC, James Laska
no flags Details

Description James Laska 2009-04-09 16:44:01 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.41 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/devices.py", line 1225, in _getSize
    size = self.partedPartition.getSize()
  File "/usr/lib/anaconda/storage/devices.py", line 566, in <lambda>
    size = property(lambda x: x._getSize(),
  File "/usr/lib/anaconda/storage/partitioning.py", line 375, in partitionCompare
    ret -= cmp(part1.size, part2.size) * 100
  File "/usr/lib/anaconda/storage/partitioning.py", line 603, in allocatePartitions
    new_partitions.sort(cmp=partitionCompare)
  File "/usr/lib/anaconda/storage/partitioning.py", line 977, in growPartitions
    allocatePartitions(disks, partitions)
  File "/usr/lib/anaconda/storage/partitioning.py", line 563, in doPartitioning
    growPartitions(disks, partitions)
  File "/usr/lib/anaconda/storage/partitioning.py", line 186, in doAutoPartition
    exclusiveDisks=anaconda.id.storage.clearPartDisks)
  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/dispatch.py", line 227, in currentStep
    self.gotoNext()
  File "/usr/lib/anaconda/gui.py", line 1356, in setScreen
    (step, anaconda) = self.anaconda.dispatch.currentStep()
  File "/usr/lib/anaconda/gui.py", line 1519, in setup_window
    self.setScreen()
  File "/usr/lib/anaconda/gui.py", line 1529, in run
    self.setup_window(runres)
  File "/usr/lib/anaconda/gui.py", line 1276, in run
    self.icw.run (self.runres)
  File "/usr/bin/anaconda", line 968, in <module>
    anaconda.intf.run(anaconda)
AttributeError: 'NoneType' object has no attribute 'getSize'

Comment 1 James Laska 2009-04-09 16:44:05 UTC
Created attachment 338945 [details]
Attached traceback automatically from anaconda.

Comment 2 Hans de Goede 2009-04-10 09:54:08 UTC
Thanks for reporting!

This is fixed by this commit:
http://git.fedorahosted.org/git/?p=anaconda.git;a=commitdiff;h=684de1132bf76c6bc899f420e86d3e6267c41b81

Which will be in the next version of anaconda which will be 11.5.0.43.

Can you please retry with a boot.iso from rawhide once anaconda-11.5.0.43
has been build and has hit rawhide ?

As I believe this is fixed, I'm closing this, if this still happens with
anaconda >= anaconda-11.5.0.43, please reopen this bug. Note if you fail to
install again, but get a different backtrace now, please open a new bug.


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