Bug 1065021 - ValueError: invalid literal for float() in resize.py (reclaim space)
Summary: ValueError: invalid literal for float() in resize.py (reclaim space)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-13 17:28 UTC by Adam Williamson
Modified: 2014-09-04 17:25 UTC (History)
4 users (show)

Fixed In Version: anaconda-21.23-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-04 17:25:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
anaconda-tb from the crash (453.29 KB, text/plain)
2014-02-13 17:29 UTC, Adam Williamson
no flags Details

Description Adam Williamson 2014-02-13 17:28:27 UTC
With the same disk layout that caused https://bugzilla.redhat.com/show_bug.cgi?id=1062842 , after applying the patch for that bug, I hit a subsequent crash on the Reclaim Space spoke (resize.py ). I was able to work around it by deleting the partition I wanted to delete with fdisk, and skipping the reclaim space step, so I don't have the layout to reproduce the bug any more, but I did save the complete traceback, which is attached.

anaconda 21.20-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/decimal.py", line 1590, in __float__
    return float(s)
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 249, in _setup_slider
    self._resizeSlider.set_range(int(ceil(device.minSize)), int(device.size))
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 291, in _update_action_buttons
    self._setup_slider(device, Size(bytes=obj.target))
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 481, in on_selection_changed
    self._update_action_buttons(self._diskStore[itr])
ValueError: invalid literal for float(): 12.12 GiB
 
Local variables in innermost frame:
s: 12.12 GiB
self: 12.12 GiB

Comment 1 Adam Williamson 2014-02-13 17:29:33 UTC
Created attachment 862919 [details]
anaconda-tb from the crash


Note You need to log in before you can comment on or make changes to this bug.