module monitor & display could not be loaded

Bug #145830 reported by nopoles on 2007-09-27
4
Affects Status Importance Assigned to Milestone
displayconfig-gtk (Ubuntu)
Undecided
Unassigned

Bug Description

$ kcmshell displayconfig
Traceback (most recent call last):
  File "<string>", line 8, in kcontrol_bridge_create_displayconfig
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1698, in create_displayconfig
    return DisplayApp(parent, name)
  File "/var/lib/python-support/python2.5/displayconfig.py", line 441, in __init__
    self.xsetup = XSetup(self.xconfigpath)
  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 646, in readConfig
    for row in XorgconfCVSReader(filename=filename).readlines():
  File "/var/lib/python-support/python2.5/xorgconfig.py", line 705, in __init__
    fhandle = codecs.open(filename,'r',loc,'replace')
  File "/usr/lib/python2.5/codecs.py", line 817, in open
    file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: ''
Error in sys.excepthook:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/apport_python_hook.py", line 42, in apport_excepthook
    binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
AttributeError: 'module' object has no attribute 'argv'

Original exception was:
Traceback (most recent call last):
  File "<string>", line 8, in kcontrol_bridge_create_displayconfig
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1698, in create_displayconfig
    return DisplayApp(parent, name)
  File "/var/lib/python-support/python2.5/displayconfig.py", line 441, in __init__
    self.xsetup = XSetup(self.xconfigpath)
  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 646, in readConfig
    for row in XorgconfCVSReader(filename=filename).readlines():
  File "/var/lib/python-support/python2.5/xorgconfig.py", line 705, in __init__
    fhandle = codecs.open(filename,'r',loc,'replace')
  File "/usr/lib/python2.5/codecs.py", line 817, in open
    file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: ''
Error: "/var/tmp/kdecache-paul" is owned by uid 1000 instead of uid 0.

Pythonize constructor -- pid = 6032
Python interpreter initialized!

Pythonize constructor -- pid = 6032

Traceback (most recent call last):

  File "<string>", line 8, in kcontrol_bridge_create_displayconfig

  File "/var/lib/python-support/python2.5/displayconfig.py", line 1698, in create_displayconfig

return DisplayApp(parent, name)

  File "/var/lib/python-support/python2.5/displayconfig.py", line 441, in __init__

self.xsetup = XSetup(self.xconfigpath)

  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 646, in readConfig

for row in XorgconfCVSReader(filename=filename).readlines():

  File "/var/lib/python-support/python2.5/xorgconfig.py", line 705, in __init__

fhandle = codecs.open(filename,'r',loc,'replace')

  File "/usr/lib/python2.5/codecs.py", line 817, in open

file = __builtin__.open(filename, mode, buffering)

IOError
:
[Errno 2] No such file or directory: ''

Error in sys.excepthook:

Traceback (most recent call last):

  File "/var/lib/python-support/python2.5/apport_python_hook.py", line 42, in apport_excepthook

binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))

AttributeError
:
'module' object has no attribute 'argv'

Original exception was:

Traceback (most recent call last):

  File "<string>", line 8, in kcontrol_bridge_create_displayconfig

  File "/var/lib/python-support/python2.5/displayconfig.py", line 1698, in create_displayconfig

return DisplayApp(parent, name)

  File "/var/lib/python-support/python2.5/displayconfig.py", line 441, in __init__

self.xsetup = XSetup(self.xconfigpath)

  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 646, in readConfig

for row in XorgconfCVSReader(filename=filename).readlines():

  File "/var/lib/python-support/python2.5/xorgconfig.py", line 705, in __init__

fhandle = codecs.open(filename,'r',loc,'replace')

  File "/usr/lib/python2.5/codecs.py", line 817, in open

file = __builtin__.open(filename, mode, buffering)

IOError
:
[Errno 2] No such file or directory: ''

X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 113
  Minor opcode: 0
  Resource id: 0x3e00007
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 10
  Minor opcode: 0
  Resource id: 0x3e00007
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 7
  Minor opcode: 0
  Resource id: 0x3e00007
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 6
  Minor opcode: 0
  Resource id: 0x3e00007
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 25
  Minor opcode: 0
  Resource id: 0x3e00007

nopoles (paul-2byteconsulting) wrote :

The above error is produced when I attempt to use the Display Config in KDE. I'm running 7.10 Beta, recently upgraded from Feisty.

Thank you for reporting this bug and for your efforts to make
Ubuntu better. As Xorg has improved this past year, an unfortunate side
effect of these improvements is that it has rendered several design
assumptions in displayconfig-gtk obsolete. So, starting with Hardy we
are no longer putting displayconfig-gtk forth as a primary configuration
tool, and are putting our development focus into the Screen Resolution
applet. As a result, we do not plan to fix this bug and thus are closing
it.

For more background on this change, please see this page:
https://wiki.ubuntu.com/X/DisplayConfigGtk

Changed in displayconfig-gtk:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers