Bug 1047165

Summary: SizeNotPositiveError: spec= param must be >=0
Product: [Fedora] Fedora Reporter: Tim Redmond <tredmond1701>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: anaconda-maint-list, dshea, g.kaviyarasu, jonathan, lacombar, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4fe50dd8dc48b8c6256a02e5db3b84d12e1035d3df1a9b74ad91970ba594aa2a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-20 19:49:51 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: journalctl
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log none

Description Tim Redmond 2013-12-29 17:57:59 UTC
Description of problem:
It happened while trying to reclaim diskspace in order to install Fedora onto a machine running Windows 8. I selected my disk under local standard disk. Under reclaim disk space, I selected an unknown partition, non-Windows partition and upon highlighting said partition, I got the error message that I am not sending.

Version-Release number of selected component:
anaconda-20.25.15-1.fc20.x86_64

The following was filed automatically by anaconda:
anaconda 20.25.15-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 96, in _parseSpec
    raise SizeNotPositiveError("spec= param must be >=0")
  File "/usr/lib/python2.7/site-packages/blivet/size.py", line 164, in __new__
    self = Decimal.__new__(cls, value=_parseSpec(en_spec, False))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/lib/disks.py", line 80, in size_str
    size = Size(en_spec="%f mb" % mb)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 220, in _update_labels
    text = _("Total selected space to reclaim: <b>%s</b>") % size_str(selectedReclaimable)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 459, in on_resize_value_changed
    self._update_labels(selectedReclaimable=self._selectedReclaimableSpace)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/utils.py", line 126, in _run_once_one_arg
    self._func(*args, **kwargs)
SizeNotPositiveError: spec= param must be >=0

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   initrd=initrd0.img root=live:CDLABEL=Fedora-Live-Desktop-x86_64-20-1 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.10-301.fc20.x86_64
other involved packages: python-blivet-0.23.9-1.fc20.noarch
product:        Fedora
release:        Fedora release 20 (Heisenbug)
type:           anaconda
version:        20

Comment 1 Tim Redmond 2013-12-29 17:58:02 UTC
Created attachment 843119 [details]
File: anaconda-tb

Comment 2 Tim Redmond 2013-12-29 17:58:04 UTC
Created attachment 843120 [details]
File: anaconda.log

Comment 3 Tim Redmond 2013-12-29 17:58:05 UTC
Created attachment 843121 [details]
File: environ

Comment 4 Tim Redmond 2013-12-29 17:58:07 UTC
Created attachment 843122 [details]
File: journalctl

Comment 5 Tim Redmond 2013-12-29 17:58:08 UTC
Created attachment 843123 [details]
File: lsblk_output

Comment 6 Tim Redmond 2013-12-29 17:58:10 UTC
Created attachment 843124 [details]
File: nmcli_dev_list

Comment 7 Tim Redmond 2013-12-29 17:58:12 UTC
Created attachment 843125 [details]
File: os_info

Comment 8 Tim Redmond 2013-12-29 17:58:14 UTC
Created attachment 843126 [details]
File: program.log

Comment 9 Tim Redmond 2013-12-29 17:58:15 UTC
Created attachment 843127 [details]
File: storage.log

Comment 10 Tim Redmond 2013-12-29 17:58:17 UTC
Created attachment 843128 [details]
File: ifcfg.log

Comment 11 David Shea 2014-02-20 19:49:51 UTC
This error is removed in rawhide/F21.