Bug 212810 - system-config-display crashes during startup
system-config-display crashes during startup
Product: Fedora
Classification: Fedora
Component: system-config-display (Show other bugs)
x86_64 Linux
medium Severity high
: ---
: ---
Assigned To: Adam Jackson
Depends On:
  Show dependency treegraph
Reported: 2006-10-29 04:09 EST by Vaclav "sHINOBI" Misek
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-26 17:36:39 EDT
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 Vaclav "sHINOBI" Misek 2006-10-29 04:09:02 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20061011 Fedora/ Firefox/

Description of problem:
Crash during startup.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.start system-config-display from shell

Actual Results:
# system-config-display
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
    self.all_resolutions.sort (compare_resolution)
  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

Expected Results:

Additional info:
The same error appears with -noui switch.
Related packages:
Comment 1 Mark Summerfield 2006-11-24 09:45:32 EST
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:

Modes   "1400x1050A"

The problem is that system-config-display _assumes_ that a mode name is of the
form "<int>x<int>".

My solution was to rename my mode to "1400x1050" and change it in both places.
After that system-config-display worked correctly.
Comment 2 Vaclav "sHINOBI" Misek 2006-12-10 16:19:02 EST
The only such a thing I can see are specified frequencies for some modes like
"1024x768_85" etc. It should really be related.
Comment 3 Adam Jackson 2007-03-26 17:36:39 EDT
This should be fixed in rhpxl 0.44.

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