Bug 1004925

Summary: ValueError: ('invalid size specification', 'MB')
Product: [Fedora] Fedora Reporter: Ryan Lerch <rlerch>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: anaconda-maint-list, dshea, g.kaviyarasu, jonathan, mkolman, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:c3ac293ce29101830a644652690744f94e456e8373a26f172ac115c34009f63d
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-05 18:44:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Ryan Lerch 2013-09-05 18:40:07 UTC
Description of problem:
Once in custom partitioning, I blanked out the size value for the root partition (i was using normal partitoning, not LVM), and clicked update settings. 


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

The following was filed automatically by anaconda:
anaconda 20.10-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 80, in _parseSpec
    raise ValueError("invalid size specification", spec)
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 138, in __new__
    self = Decimal.__new__(cls, value=_parseSpec(spec))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 156, in size_from_entry
    size = Size(spec=size_text)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1137, in _save_right_side
    size = size_from_entry(self._sizeEntry)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2788, in on_apply_clicked
    self._save_right_side(self._current_selector)
ValueError: ('invalid size specification', 'MB')

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2020-Alpha-TC4\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.0-3.fc20.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        20-Alpha-TC4

Comment 1 Ryan Lerch 2013-09-05 18:40:14 UTC
Created attachment 794433 [details]
File: anaconda-tb

Comment 2 Ryan Lerch 2013-09-05 18:40:19 UTC
Created attachment 794434 [details]
File: anaconda.log

Comment 3 Ryan Lerch 2013-09-05 18:40:22 UTC
Created attachment 794435 [details]
File: environ

Comment 4 Ryan Lerch 2013-09-05 18:40:25 UTC
Created attachment 794436 [details]
File: lsblk_output

Comment 5 Ryan Lerch 2013-09-05 18:40:29 UTC
Created attachment 794437 [details]
File: nmcli_dev_list

Comment 6 Ryan Lerch 2013-09-05 18:40:34 UTC
Created attachment 794438 [details]
File: os_info

Comment 7 Ryan Lerch 2013-09-05 18:40:38 UTC
Created attachment 794439 [details]
File: program.log

Comment 8 Ryan Lerch 2013-09-05 18:40:42 UTC
Created attachment 794440 [details]
File: storage.log

Comment 9 Ryan Lerch 2013-09-05 18:40:46 UTC
Created attachment 794441 [details]
File: syslog

Comment 10 Ryan Lerch 2013-09-05 18:40:50 UTC
Created attachment 794442 [details]
File: ifcfg.log

Comment 11 Ryan Lerch 2013-09-05 18:40:53 UTC
Created attachment 794443 [details]
File: packaging.log

Comment 12 David Shea 2013-09-05 18:44:59 UTC

*** This bug has been marked as a duplicate of bug 1004903 ***