Bug 80106 - traceback: ValueError: invalid literal for float(): 31.5
traceback: ValueError: invalid literal for float(): 31.5
Product: Red Hat Public Beta
Classification: Retired
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Michael Fulbright
Mike McLean
Depends On:
Blocks: 79578
  Show dependency treegraph
Reported: 2002-12-19 20:06 EST by Mike McLean
Modified: 2007-04-18 12:49 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-01-13 19:58:24 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mike McLean 2002-12-19 20:06:30 EST
* -re1219....
* RH-full_server-install-mirror-french-nfs-TUI

Traceback (most recent call last):
  File "/usr/bin/anaconda", line 770, in ?
    intf.run(id, dispatch, configFileData)
  File "/usr/lib/anaconda/text.py", line 446, in run
  File "/usr/lib/anaconda/dispatch.py", line 155, in gotoNext
  File "/usr/lib/anaconda/dispatch.py", line 222, in moveStep
    rc = apply(func, self.bindArgs(args))
  File "/usr/lib/anaconda/packages.py", line 118, in writeXConfiguration
    id.xsetup.write(fn+"/etc/X11", id.mouse, id.keyboard)
  File "/usr/lib/anaconda/xsetup.py", line 42, in write
    standalone = 0)
  File "/usr/lib/python2.2/site-packages/rhpl/xserver.py", line 291, in writeXConfig
    xcfgdata = hwstate.generate_xconfig(mouse, keyboard)
  File "/usr/lib/python2.2/site-packages/rhpl/xhwstate.py", line 594, in
  File "/usr/lib/python2.2/site-packages/rhpl/xhwstate.py", line 319, in merge_into
    available = self.available_resolutions()
  File "/usr/lib/python2.2/site-packages/rhpl/xhwstate.py", line 530, in
    if rhpl.monitor.monitor_supports_mode(self.hsync, self.vsync, res):
  File "/usr/lib/python2.2/site-packages/rhpl/monitor.py", line 382, in
    hsync_list = list_from_string (monitor_hsync)
  File "/usr/lib/python2.2/site-packages/rhpl/monitor.py", line 376, in
    l.append( (string.atof(tmp[0]), string.atof(tmp[1])) )
  File "/usr/lib/python2.2/string.py", line 205, in atof
    return _float(s)
ValueError: invalid literal for float(): 31.5

Local variables in innermost frame:
s: 31.5
Comment 3 Mike McLean 2002-12-19 20:18:37 EST
did not repeat when I restarted the testcase on the same machine.
Comment 4 Michael Fulbright 2002-12-27 10:58:37 EST
Oh dear.

Will leave this around in case it happens again.
Comment 5 Mike McLean 2003-01-02 16:01:18 EST
Happened again.  Different machine (First time was a Proliant DL380 G2, this
time was an older Proliant DL380).  

This was with Phoebe public beta 1.  Exact same testcase, though:
Comment 7 Michael Fulbright 2003-01-02 16:57:12 EST
Ok will investigate further.
Comment 8 Mike McLean 2003-01-07 13:37:54 EST
also observed with
* full workstation german nfs tui
* full server german nfs tui

note that all observed cases are nfs tui installs.  I also have yet to see this
on an english or japanese language install.
Comment 9 Michael Fulbright 2003-01-10 16:04:14 EST
This was triggered by slang calling setlocale.

We've worked around it in python land.
Comment 10 Mike McLean 2003-01-13 19:58:24 EST
fix verified in -re0113.0

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