Red Hat Bugzilla – Bug 876547
ValueError: ('invalid size specification', '-472.028417969 mb')
Last modified: 2014-07-29 04:31:58 EDT
Description of problem:
This happened when I copied DVD.iso to a local partition and pxe-booted the installer with inst.repo=hd:vda1:/dvd.iso. The crash occured after clicking Reclaim Space button in the initial "you don't have enough free space" dialog.
Version-Release number of selected component:
libreport version: 2.0.17
cmdline: /usr/bin/python /sbin/anaconda
:The following was filed automatically by anaconda:
:anaconda 18.28 exception report
:Traceback (most recent call first):
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/size.py", line 79, in _parseSpec
: raise ValueError("invalid size specification", spec)
: File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/size.py", line 137, in __new__
: self = Decimal.__new__(cls, value=_parseSpec(spec))
: File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 55, in size_str
: return str(Size(spec=spec)).upper()
: File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 151, in populate
: _("%s of %s") % (size_str(freeSize), size_str(dev.size)),
: File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 197, in refresh
: File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 739, in on_continue_clicked
:ValueError: ('invalid size specification', '-472.028417969 mb')
Created attachment 644780 [details]
Created attachment 644781 [details]
Created attachment 644782 [details]
Created attachment 644783 [details]
Created attachment 644784 [details]
Created attachment 644785 [details]
Created attachment 644786 [details]
Created attachment 644787 [details]
Created attachment 644788 [details]
Created attachment 644789 [details]
Created attachment 644790 [details]
Created attachment 644791 [details]
Created attachment 644792 [details]
Created attachment 644793 [details]
Created attachment 644794 [details]
This seems to be a blocker:
The installer must be able to use all supported local and remote package source options
Relevant test case:
I've just hit that again and this time I wasn't doing any inst.repo=hd: magic. Therefore it is probably more related to the actual disk contents.
Created attachment 645518 [details]
This is a related screenshot of the partitioning screen. Note how wrong it is, it says I have enough space and that I don't have enough space. After I click Reclaim Space, it crashes with the error above.
Hit Reclaim Space.
OS Release: Fedora release 18-Beta
Discussed at 2012-11-29 blocker review meeting: http://meetbot.fedoraproject.org/fedora-qa/2012-11-29/f18final-blocker-review-1.1.2012-11-29-17.01.log.txt . We don't yet have enough information on what's required to trigger this or enough people reproducing it to call it a blocker, but it's clearly a bad bug, so we are punting on it in the hopes that more information will show up.
anaconda-18.36-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.36-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
I have repeated the procedure mentioned in the description, all is OK. But as comment 17 says, this was probably related to disk contents rather than install method, and I don't know how to verify that.
Anaconda devs, if you know some reproducer, I can try to re-verify, otherwise we just have to believe it works now.
anaconda-18.36-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.