Bug 701228 - AttributeError: 'NoneType' object has no attribute 'active'
Summary: AttributeError: 'NoneType' object has no attribute 'active'
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:49aca9acce05f1009...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-02 08:00 UTC by Ales Kozumplik
Modified: 2014-09-30 23:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-09 17:28:28 UTC
Type: ---


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (321.07 KB, text/plain)
2011-05-02 08:00 UTC, Ales Kozumplik
no flags Details

Description Ales Kozumplik 2011-05-02 08:00:32 UTC
The following was filed automatically by anaconda:
anaconda 16.6.20110502.6b5d exception report
Traceback (most recent call first):
  File "/tmp/updates/pyanaconda/bootloader.py", line 449, in _is_valid_target_device
    not device.partedPartition.active):
  File "/tmp/updates/pyanaconda/bootloader.py", line 486, in target_devices
    if self._is_valid_target_device(device):
  File "/tmp/updates/pyanaconda/bootloader.py", line 262, in stage1_device
    self.stage1_device = self.target_devices[0]
  File "/tmp/updates/pyanaconda/storage/partitioning.py", line 965, in allocatePartitions
    if bootloader and disk == bootloader.stage1_device.disks[0]:
  File "/tmp/updates/pyanaconda/storage/partitioning.py", line 859, in doPartitioning
    allocatePartitions(storage, disks, partitions, free, bootloader=bootloader)
  File "/tmp/updates/pyanaconda/storage/partitioning.py", line 222, in doAutoPartition
    doPartitioning(anaconda.storage, bootloader=anaconda.bootloader)
  File "/tmp/updates/pyanaconda/dispatch.py", line 224, in dispatch
    self.dir = step_func(self.anaconda)
  File "/tmp/updates/pyanaconda/gui.py", line 94, in return_false
    func(*args, **kwargs)
AttributeError: 'NoneType' object has no attribute 'active'

Comment 1 Ales Kozumplik 2011-05-02 08:00:38 UTC
Created attachment 496184 [details]
Attached traceback automatically from anaconda.

Comment 2 Ales Kozumplik 2011-05-02 08:15:15 UTC
I am seeing this with the Friday rawhide compose and a kickstart. Guessing: related to the new bootloader.

Comment 3 David Lehman 2011-05-17 21:04:36 UTC
The offending line is gone as of anaconda-16.8, but there are some other places in the bootloader code where we assume a PartitionDevice will have a partedPartition that is not None. I'll try a kickstart to see how it behaves.


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