Red Hat Bugzilla – Bug 862972
AttributeError: 'NoneType' object has no attribute 'resizable'
Last modified: 2013-03-12 10:25:17 EDT
Version-Release number of selected component:
libreport version: 2.0.12
cmdline: /usr/bin/python /sbin/anaconda
Created attachment 621322 [details]
Created attachment 621323 [details]
Created attachment 621324 [details]
Created attachment 621325 [details]
Created attachment 621326 [details]
Created attachment 621327 [details]
Created attachment 621328 [details]
Created attachment 621329 [details]
Created attachment 621330 [details]
Created attachment 621331 [details]
Created attachment 621332 [details]
Created attachment 621333 [details]
Created attachment 621334 [details]
Created attachment 621335 [details]
Can you see why getDeviceByPath is failing at that point?
*** Bug 863353 has been marked as a duplicate of this bug. ***
I tried to install Fedora over an existing install. It took me several attempts to figure out how to 'reclaim free space' works, and when I finally told it to wipe all partitions, i selected automatic creation of mountpoints in the next screen. Went back to the main hub and anaconda crashed.
OS Release: Fedora release 18-Beta-TC2
*** Bug 864086 has been marked as a duplicate of this bug. ***
*** Bug 864488 has been marked as a duplicate of this bug. ***
*** Bug 864180 has been marked as a duplicate of this bug. ***
How can I reliably reproduce this? I've tried screwing with the resize dialog quite a bit and haven't hit this yet.
Why would you close the bug with the reproduction information in it as well as some debug information in it?
Copying over the reproduction details from bug 864180 as the excetption is still occurring.
1) Select "Software Selection," choose "Minimal install," select Done.
2) Select "Installation Destination," deselect disk, select Done.
3) Select "Installation Destination," select disk, select Done.
4) Select "Installation Destination," select Continue.
5) Select "Reclaim Space," select "/ (Fedora Linux 18 for ppc64)," change action to Delete, select "Reclaim Space."
6) Select "Reclaim Space," anaconda traps
The anaconda updates.img file contains the following because I am unable to change the execution line number back to the dev = getDevicesByPath() line
[root@bluebill anaconda-18.13-1]# git diff
diff --git a/pyanaconda/ui/gui/spokes/lib/resize.py b/pyanaconda/ui/gui/spokes/lib/resize.py
index fcccbeb..14b8982 100644
@@ -120,6 +120,11 @@ class ResizeDialog(GUIObject):
for part in disk.format.partitions:
dev = self.storage.devicetree.getDeviceByPath(part.path)
+ if dev is None:
+ import pdb
if dev.isExtended and disk.format.logicalPartitions:
-> if not path:
(Pdb) print path
(Pdb) print preferLeaves
(Pdb) path in [d.path for d in self._devices]
(Pdb) [d.path for d in self._devices]
['/dev/sda', '/dev/sda1', '/dev/sda2', '/dev/sda3', '/dev/sda4', '/dev/sr0', '/run/install/repo/LiveOS/squashfs.img', '/dev/loop0', '/LiveOS/rootfs.img', '/dev/loop1', '/overlay (deleted)', '/dev/loop2', '/dev/mapper/live-rw']
So it seems that the extended partition is no longer in _devices.
[anaconda root@sharpie /]# fdisk -l /dev/sda
Disk /dev/sda: 32.2 GB, 32212254720 bytes, 62914560 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x90570900
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 10239 4096 41 PPC PReP Boot
/dev/sda2 10240 1034239 512000 83 Linux
/dev/sda3 1034240 9324543 4145152 82 Linux swap / Solaris
/dev/sda4 9324544 62914559 26795008 5 Extended
/dev/sda5 9326592 62914559 26793984 83 Linux
anaconda-18.15-1.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.15-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
*** Bug 865322 has been marked as a duplicate of this bug. ***
anaconda-18.16-1.fc18 has been submitted as an update for Fedora 18.
anaconda-18.17-1.fc18 has been submitted as an update for Fedora 18.
anaconda-18.18-1.fc18 has been submitted as an update for Fedora 18.
anaconda-18.19-1.fc18 has been submitted as an update for Fedora 18.
This bug looks to have been fixed for many anaconda builds now but missed being closed. If you find you are still experiencing it with Fedora 18 Beta (RC1) or later, please re-open the bug.