Red Hat Bugzilla – Bug 80106
traceback: ValueError: invalid literal for float(): 31.5
Last modified: 2007-04-18 12:49:10 EDT
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), string.atof(tmp)) )
File "/usr/lib/python2.2/string.py", line 205, in atof
ValueError: invalid literal for float(): 31.5
Local variables in innermost frame:
did not repeat when I restarted the testcase on the same machine.
Will leave this around in case it happens again.
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:
Ok will investigate further.
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.
This was triggered by slang calling setlocale.
We've worked around it in python land.
fix verified in -re0113.0