[Bug 137683] [PATCH] xorgconfig.py crashes on "disable" in Modules section

Bryce Harrington bryce at bryceharrington.org
Thu Sep 6 05:32:27 UTC 2007


Public bug reported:

Binary package hint: kde-guidance

In xorg-server 1.3, X has the smarts to auto-load a number of common
modules.  Unfortunately, on rare occasions one of these automatically
loaded modules causes problems, or the user wishes to run without it for
whatever reason.  Xorg provides the "disable <module>" keyword for such
cases, which does the opposite of "load <module>".

Currently guidance-backends crashes if the "disable" keyword is present
in the user's xorg.conf.  For instance, when running displayconfig-gtk,
this error occurs:

~# displayconfig-gtk
Traceback (most recent call last):
  File "/usr/bin/displayconfig-gtk", line 66, in <module>
    app = DisplayConfig(options)
  File "/usr/lib/python2.5/site-packages/displayconfiggtk/DisplayConfig.py", line 179, in __init__
    debug_scan_pci_filename=self.options.pcitable)
  File "/var/lib/python-support/python2.5/displayconfigabstraction.py", line 77, in __init__
    self.xorg_config = xorgconfig.readConfig(xorg_config_filename)
  File "/var/lib/python-support/python2.5/xorgconfig.py", line 662, in readConfig
    raise ParseException,"Unknown line type '%s' on line %i" % (first,line)
xorgconfig.ParseException: Unknown line type 'disable' on line 33

** Affects: kde-guidance (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[PATCH] xorgconfig.py crashes on "disable" in Modules section
https://bugs.launchpad.net/bugs/137683
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kde-guidance in ubuntu.




More information about the kubuntu-bugs mailing list