Red Hat Bugzilla – Bug 212810
system-config-display crashes during startup
Last modified: 2007-11-30 17:11:46 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:126.96.36.199) Gecko/20061011 Fedora/188.8.131.52-7.fc6 Firefox/184.108.40.206
Description of problem:
Crash during startup.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.start system-config-display from shell
Traceback (most recent call last):
File "/usr/share/system-config-display/xconf.py", line 311, in ?
hardware_state = XF86HardwareState(xconfig)
File "/usr/lib64/python2.4/site-packages/rhpxl/xhwstate.py", line 177, in __init__
File "/usr/lib64/python2.4/site-packages/rhpxl/xhwstate.py", line 296, in init_from_xconfig
File "/usr/lib64/python2.4/site-packages/rhpxl/xhwstate.py", line 60, in compare_resolution
(w1, h1) = resolution_from_string(res1)
File "/usr/lib64/python2.4/site-packages/rhpxl/xhwstate.py", line 50, in resolution_from_string
return (string.atoi(w), string.atoi(h))
File "/usr/lib64/python2.4/string.py", line 403, in atoi
return _int(s, base)
ValueError: invalid literal for int(): 864_85
The same error appears with -noui switch.
I believe that the reason for this problem is that system-config-display parses
the xorg.conf file and has a bug when it comes to parsing modeline entries.
For example I had this modeline:
Modeline "1400x1050A" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -HSync
in my Monitor section,
and in my Screen section's Display sub-section I had:
The problem is that system-config-display _assumes_ that a mode name is of the
My solution was to rename my mode to "1400x1050" and change it in both places.
After that system-config-display worked correctly.
The only such a thing I can see are specified frequencies for some modes like
"1024x768_85" etc. It should really be related.
This should be fixed in rhpxl 0.44.