Bug 795030

Summary: TypeError: float() argument must be a string or a number
Product: [Fedora] Fedora Reporter: Clyde E. Kunkel <clydekunkel7734>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: anaconda-maint-list, cpuobsessed, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:0c5cfd00091d644f9525b29e5d9e0b6a92349bd22f7a7656912dbc0a9b8c6c47
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-21 00:59:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb-yrXO3B none

Description Clyde E. Kunkel 2012-02-18 18:52:54 UTC
libreport version: 2.0.8
cmdline:        /usr/bin/python  /sbin/anaconda --graphical --selinux --repo cdrom:///dev/sr0:/mnt/install/source
executable:     /sbin/anaconda
exnFileName:    /tmp/anaconda-tb-yrXO3B
hashmarkername: anaconda
kernel:         3.3.0-0.rc3.git5.1.fc17.x86_64
other involved packages: 
product:        Fedora
reason:         TypeError: float() argument must be a string or a number
release:        Cannot get release name.
time:           Sat 18 Feb 2012 01:52:55 PM UTC
version:        17-Alpha

anaconda-tb-yrXO3B: Binary file, 1284396 bytes

description:
:The following was filed automatically by anaconda:
:anaconda 17.8 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/installclasses/fedora.py", line 117, in versionMatches
:    oldVer = float(oldver)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/installclass.py", line 218, in productUpgradable
:    "version"  : self.versionMatches(oldver),
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1619, in findExistingRootDevices
:    (upgradable, tests) = anaconda.instClass.productUpgradable(arch, product, version)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/upgrade.py", line 81, in findRootParts
:    upgradeany=flags.cmdline.has_key("upgradeany"))
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 383, in dispatch
:    self.dir = self.steps[self.step].target(self.anaconda)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 247, in go_forward
:    self.dispatch()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1200, in nextClicked
:    self.anaconda.dispatch.go_forward()
:TypeError: float() argument must be a string or a number

environ:
:LC_NUMERIC=C
:LANGKEY=en
:LVM_SUPPRESS_FD_WARNINGS=1
:initrd=initrd.img
:GCONF_GLOBAL_LOCKS=1
:PATH=/tmp/product:/tmp/updates:/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sysimage/bin:/mnt/sysimage/usr/bin:/mnt/sysimage/usr/sbin:/mnt/sysimage/sbin:/sbin:/usr/sbin
:PIXMAPPATH=/tmp/updates/pixmaps/:/tmp/updates/:/tmp/product/pixmaps/:/tmp/product/:pixmaps/:/usr/share/anaconda/pixmaps/:/usr/share/pixmaps/:/usr/share/anaconda/:/usr/share/python-meh/:/usr/share/icons/Fedora/48x48/apps/
:HOME=/tmp
:DISPLAY=:1
:LANG=en_US.UTF-8
:TERM=linux
:XAUTHORITY=/root/.Xauthority
:GLADEPATH=/tmp/updates/:/tmp/updates/data/ui/:ui/:/usr/share/anaconda/ui/:/usr/share/python-meh/
:SHLVL=0
:LIBUSER_CONF=/tmp/libuser.mpwWZu
:LD_LIBRARY_PATH=/tmp/product:/tmp/updates
:GNOME_DISABLE_CRASH_DIALOG=1
:PYTHONPATH=/tmp/product:/tmp/updates:/tmp/updates
:LINGUAS=English
:BOOT_IMAGE=vmlinuz
:LC_COLLATE=C
:PWD=/
:MALLOC_PERTURB_=MALLOC_PERTURB_=95
:MALLOC_CHECK_=2

Comment 1 Clyde E. Kunkel 2012-02-18 18:53:00 UTC
Created attachment 564073 [details]
File: anaconda-tb-yrXO3B

Comment 2 Chris Lumens 2012-02-20 21:50:37 UTC
Well the fix looks pretty obvious, but I'd like to know one more thing to really understand this.  What other operating systems and versions do you have installed?

Comment 3 Clyde E. Kunkel 2012-02-20 22:30:00 UTC
Fedora 13 thru 18 (with more than one flavor of some), debian 6, omega11, suse, mandriva, centros, rhel, ubuntu and maybe some I have forgotten about.

Problem did not occur with F17tc2.

I am not trying to set a record or anything with installs, just something I have been doing for many years testing the installation of various flavors on linux.

Comment 4 Brian Lane 2012-02-21 00:59:22 UTC

*** This bug has been marked as a duplicate of bug 791317 ***