Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 604639 - TypeError: unsupported operand type(s) for *: 'float' and 'Decimal'
TypeError: unsupported operand type(s) for *: 'float' and 'Decimal'
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda (Show other bugs)
i386 Linux
medium Severity medium
: rc
: ---
Assigned To: Brian Lane
Release Test Team
Depends On:
  Show dependency treegraph
Reported: 2010-06-16 08:01 EDT by Ales Kozumplik
Modified: 2014-09-30 19:39 EDT (History)
3 users (show)

See Also:
Fixed In Version: anaconda-13.21.52-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-11-10 14:48:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Attached traceback automatically from anaconda. (213.45 KB, text/plain)
2010-06-16 08:01 EDT, Ales Kozumplik
no flags Details

  None (edit)
Description Ales Kozumplik 2010-06-16 08:01:25 EDT
The following was filed automatically by anaconda:
anaconda 13.21.51 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/iw/partition_gui.py", line 446, in _createStripe
    slcstr = "%s\n%.0f MB" % (_("Free"), float(drive.size * xlength))
  File "/usr/lib/anaconda/iw/partition_gui.py", line 302, in setDisplayed
    self.stripe = self._createStripe(obj)
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1255, in treeSelectCB
TypeError: unsupported operand type(s) for *: 'float' and 'Decimal'
Comment 1 Ales Kozumplik 2010-06-16 08:01:30 EDT
Created attachment 424421 [details]
Attached traceback automatically from anaconda.
Comment 3 Ales Kozumplik 2010-06-16 08:04:18 EDT
1) installed rhel6 on an ext4 partition (that is no LVM)
2) run the installer again, chose fresh install
3) chose 'shrink existing partitions', chose to shrink the original root partition
4) chose 'review and modify...'
5) on the partitioning screen went berzerk deleting every volume possible
6) saw the traceback
7) became a sad panda
Comment 4 RHEL Product and Program Management 2010-06-16 08:13:03 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
Comment 6 Alexander Todorov 2010-07-05 05:46:55 EDT
Tested with snapshot #7. 

1) Created a  system with /boot, swap and / on ext4
2) On the second install first selected to shrink the current system and review the partitioning layout.
3) Anaconda was able to shrink the root partition and create LVM layout in the available space (there was plenty of space available). 
4) Deleted all partitions and logical volumes one by one - No traceback.
5) Manually created customized LVM configuration (with some free space in the VG).

Install completed and there was no traceback at all. Moving to VERIFIED.
Comment 7 releng-rhel@redhat.com 2010-11-10 14:48:23 EST
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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