Bug 948228

Summary: AttributeError: 'noneType' object has no attribute 'convertTo'
Product: [Fedora] Fedora Reporter: Ľuboš Kardoš <lkardos>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: anaconda-maint-list, awilliam, g.kaviyarasu, jbastian, jonathan, jorton, ljozsa, mkolman, sbueno, tflink, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-19.17-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-30 00:50:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 920667    
Attachments:
Description Flags
anaconda traceback
none
anaconda traceback none

Description Ľuboš Kardoš 2013-04-04 11:12:34 UTC
Description of problem:
When you don't fill desidered capacity during creating of mountpoint, unknown error occurs.

Version-Release number of selected component (if applicable):
F19-Alpha-TC4
anaconda 19.15

How reproducible:
always

Steps to Reproduce:
1. Start installation and proceed to the "MANUAL PARTITIONING" spoke.
2. Click on plus to create mount point.
3. Create mountpoint "/" and don't fill desidered capacity.
  
Actual results:
Unknow error occurs. Traceback is attached.

Expected results:
No error should occur. Anaconda can inform you to fill "Desidered Capacity" or set default value (e.g. all available capacity like in previous releases).

Additional info:

Comment 1 Ľuboš Kardoš 2013-04-04 11:13:14 UTC
Created attachment 731534 [details]
anaconda traceback

Comment 2 Ľuboš Kardoš 2013-04-04 11:15:12 UTC
Created attachment 731535 [details]
anaconda traceback

Comment 3 Ladislav Jozsa 2013-04-09 13:26:49 UTC
*** Bug 949991 has been marked as a duplicate of this bug. ***

Comment 4 Tim Flink 2013-04-09 17:44:05 UTC
Description of problem:
In the custom partitioning screen, I attempted to create a partition without specifying the size

Version-Release number of selected component:
anaconda-19.16-1

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/syslinux/vmlinuz inst.stage2=hd:UUID=075E-CF79 nomodeset
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.0-0.rc4.git0.1.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Alpha

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1674, in on_add_clicked
    if dialog.size.convertTo(spec="mb") < 1:
AttributeError: 'NoneType' object has no attribute 'convertTo'

Comment 5 Fedora Update System 2013-04-09 22:57:35 UTC
python-blivet-0.10-1.fc19,anaconda-19.17-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/python-blivet-0.10-1.fc19,anaconda-19.17-1.fc19

Comment 6 Ľuboš Kardoš 2013-04-10 07:10:50 UTC
Verified on anaconda-19.17-1 (Fedora 19 RC2).

Comment 7 Jeff Bastian 2013-04-11 18:15:18 UTC
Description of problem:
I added a /boot mount point and anaconda crashed.

Version-Release number of selected component:
anaconda-19.16-1

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora\x2019-Alpha\x20x86_64 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.0-0.rc4.git0.1.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Alpha

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1674, in on_add_clicked
    if dialog.size.convertTo(spec="mb") < 1:
AttributeError: 'NoneType' object has no attribute 'convertTo'

Comment 8 Adam Williamson 2013-05-30 00:50:51 UTC
This was verified fixed in 19.17 and we're way past that in stable: closing. (c#7 was still with 19.16).