Red Hat Bugzilla – Bug 137872
"ValueError: empty string for float()"
Last modified: 2015-01-07 19:08:53 EST
Description of problem:
With system-config-lvm-0.9.6-1.0, I'm getting the following traceback
when attempting to create a logical volume of size 500k.
Traceback (most recent call last):
File "/usr/share/system-config-lvm/InputController.py", line 560, in
proposed_size = float(prop_size)
ValueError: empty string for float()
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go to the Logical Volume view of a VG
2. Click "Create New Logical Volume"
3. Enter size as 500k then attempt to create the new LV
I don't get the same traceback if I specify the LV size in megabytes.
This was a regression - fixed @ 0.9.7-1.0
Refactored the way size/units are handled in LV creation, as in bz137930
Verified in system-config-lvm-0.9.8-1.0.
However, now you get an error if the size is specified as a float.
That is bug #138887.