Bug 791317
Summary: | TypeError: float() argument must be a string or a number | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Reiser <jreiser> | ||||||||||
Component: | anaconda | Assignee: | Brian Lane <bcl> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||
Priority: | unspecified | ||||||||||||
Version: | rawhide | CC: | andreicristianpetcu, andrew, angel.marquez, awilliam, bladetecltd, clydekunkel7734, cpuobsessed, flokip, g.kaviyarasu, gokcen.eraslan, gtmkramer, htmldeveloper, ikisham, jonathan, lzhaldyb, michael, patsev.anton, robatino, stephen.zubko, thajek, vanmeeuwen+fedora | ||||||||||
Target Milestone: | --- | Keywords: | CommonBugs | ||||||||||
Target Release: | --- | ||||||||||||
Hardware: | x86_64 | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | https://fedoraproject.org/wiki/Common_F17_bugs#anaconda-explodey-redhatrelease | ||||||||||||
Fixed In Version: | anaconda-17.12-1 | Doc Type: | Bug Fix | ||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2012-04-19 00:23:09 UTC | Type: | --- | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Bug Depends On: | |||||||||||||
Bug Blocks: | 752650 | ||||||||||||
Attachments: |
|
*** Bug 795030 has been marked as a duplicate of this bug. *** Same issue here, can't install F17 Alpha RC2 Currently have Windows 7, Ubuntu x64, Slackware 13.37, Vector Linux 6 (KDE classic), and Fedora 16 x64 Created attachment 564792 [details]
anaconda traceback and debug info
Very similar error in Fedora-17-Alpha.RC4 x86_64 DVD.
Created attachment 564793 [details]
anaconda traceback and debug info
Very similar error from anaconda-17.11 on Fedora-17-Alpha.RC4 x86_64 DVD.
I did not encounter this when installing from the RC4 netinstaller. Fixed already? Still a problem in F17 Alpha RC4 had to wrangle the live cd to get anaconda to work, but it finally did setup a partition. Just hit this trying to install on top of OpenSUSE 12.1, on a disk with GPT label, a BIOS boot partition previously created by Fedora, and a swap partition and / partition created by openSUSE (both ext4). -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers bcl says any install to a disk which has an OS on it that has a /etc/fstab but no /etc/system-release(?) will hit this. I'm not sure on the /etc/system-release, I think it may actually be /etc/redhat-release . bcl will provide an updates.img for this soon. We should document it for common bugs. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers confirming that it's /etc/redhat-release which you need, not /etc/system-release. so a workaround for this bug is to create a bogus /etc/redhat-release file for the offending OS, looking something like "Fedora release 17 (Beefy Miracle)" - the key is to have some word(s) followed by the key word 'release' followed by a number (possibly followed by some more words in brackets, but I think that's not strictly required). I've tested, and creating such a bogus file for openSUSE does indeed avoid the bug in my case. Such "unfriendly to other Linux [Debian, Ubuntu, SuSE, ...]" has happened in the past. One instance is https://bugzilla.redhat.com/show_bug.cgi?id=466785#c1 from about 3 years ago (late 2008.) I'll wait for bcl's update.img. I have a few dozen different installed versions from several vendors, and it's more than a minor annoyance to add a file to all the systems which aren't Fedora, RHEL, or Centos. Created attachment 565351 [details]
updates image to fix traceback
This updates.img should fix things.
The updates.img from Comment 11 works for me. I successfully installed Fedora 17 Alpha.RC4 i686 DVD on a system which previously got the error "TypeError: float() argument ...". -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers anaconda-17.12-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/anaconda-17.12-1.fc17 Package anaconda-17.12-1.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing anaconda-17.12-1.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-3157/anaconda-17.12-1.fc17 then log in and leave karma (feedback). This is definitely fixed, we never got around to closing it. |
Created attachment 562557 [details] anaconda traceback and debug info Description of problem: Install from DVD of Fedora 17 Alpha x86_64 RC2 fails when examining Basic Storage. Version-Release number of selected component (if applicable): anaconda-17.8 How reproducible: every time (twice so far) Steps to Reproduce: 1. boot DVD Fedora 17 Alpha x86_64 RC2; accept defaults through Basic Storage Devices 2. 3. Actual results: 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 Expected results: no error Additional info: