Red Hat Bugzilla – Bug 885279
AttributeError: 'NoneType' object has no attribute 'startswith'
Last modified: 2012-12-14 22:18:37 EST
Description of problem:
Started with a non-empty disk, and headed directly to Manual Partitioning.
1. Removed all partitions.
2. + icon to add the first new installation partition, typed in the name swap, set size to 5G, clicked OK.
Version-Release number of selected component:
libreport version: 2.0.18
cmdline: /usr/bin/python /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8
:The following was filed automatically by anaconda:
:anaconda 18.37 exception report
:Traceback (most recent call first):
: File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1773, in on_add_clicked
: (mountpoint.startswith("/boot") or
:AttributeError: 'NoneType' object has no attribute 'startswith'
Created attachment 659705 [details]
Created attachment 659706 [details]
Created attachment 659707 [details]
Created attachment 659708 [details]
Created attachment 659709 [details]
Created attachment 659710 [details]
Created attachment 659711 [details]
Created attachment 659712 [details]
Created attachment 659713 [details]
Created attachment 659714 [details]
Created attachment 659715 [details]
Created attachment 659716 [details]
Created attachment 659717 [details]
Created attachment 659718 [details]
Bug is 100% reproducible. Proposing as blocker.
Fedora 18 beta release criterion #10: custom partitioning mode must be capable of...Creating, destroying and assigning mount points to partitions of any specified size using most commonly-used filesystem types...and rejecting obviously invalid operations without crashing.
Also reproducible with a blank virtual disk. And it doesn't matter what order I try to manually add a swap mount point, or what size I use, I get a crash. Seems like a regression, I'm sure this used to work.
Tried to add swap partition.
OS Release: Fedora release 18
i selected one disk, went to manual partitioning (but set type to btrfs)
i deleted all partitions
it happens when i create a 'swap' (example size: 512mb)
OS Release: Fedora release 18
Manual Partitioning (TYPE set to BTRFS)
Manual Partitioning (TPYE set to LVM)
Manual Partitioning (TPYE set to STANDARD PARTITION)
Discussed at 2012-12-10 blocker review meeting: http://meetbot.fedoraproject.org/fedora-bugzappers/2012-12-10/f18final-blocker-review-3.2012-12-10-17.13.log.txt . Accepted as a blocker per criterion "The installer must be able to create and install to any workable partition layout using any file system offered in a default installer configuration, LVM, software, hardware or BIOS RAID, or combination of the above".
anaconda-18.37.2-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.37.2-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
anaconda-18.37.2-1 fixes this bug for me.
anaconda-18.37.2-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.