Display configuration does not work

Bug #181453 reported by tmp
2
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

In Kubuntu/Hardy it is not possible to change display settings as the module cannot be loaded and it is therefore impossible to configure a dual screen with an extra monitor to a laptop.

Actually, attaching a secondary screen to a laptop has always been a pain and practically impossible for all non-geeks which - as I - finds it a complete "no go" to edit xorg.conf manually. Now, with xorg7.3 in Hardy it should (theoretically) be easy for the user to plug in a new monitor to his laptop in order to obtain an extended desktop AND plug it out again when he leaves the office. (AND plug in another and *different* monitor with a different resolution as he arrives at a new place, e.g. at home).
So in future alpha/beta-releases, please please please make an effort to at least make sure the display config is available, so we can test it.

The displayed error in System Settings > Monitor & Display is:

   »Library Files for "libpython2.5.so" not found in paths.«

Revision history for this message
tmp (skrald) wrote :

The bug persist in alpha 3

Revision history for this message
Allen.McIntosh (mcintosh) wrote :

See also Bug #179763

Revision history for this message
Michael Blakeley (mike+ubuntu) wrote :
Download full text (5.2 KiB)

$ kcmshell displayconfig

Pythonize constructor -- pid = 792
Python interpreter initialized!

Pythonize constructor -- pid = 792
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/displayconfig.py", line 19, in <module>
    from qt import *
ImportError: /usr/lib/python2.5/site-packages/qt.so: undefined symbol: PyUnicode_Type
Error in sys.excepthook:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/apport_python_hook.py", line 36, in apport_excepthook
    from cStringIO import StringIO
ImportError: /usr/lib/python2.5/lib-dynload/cStringIO.so: undefined symbol: _Py_ZeroStruct

Original exception was:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/displayconfig.py", line 19, in <module>
    from qt import *
ImportError: /usr/lib/python2.5/site-packages/qt.so: undefined symbol: PyUnicode_Type
error: ***failed to import module

Partial workaround: install python2.5-dev

This gets past the about error message, but hits a new issue that also keeps the display config from working:

Pythonize constructor -- pid = 9650
Python interpreter initialized!

Pythonize constructor -- pid = 9650
*** Error: couldn't find any ServerLayout sections
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1483, in slotSecondMonitorToggled
    self._syncGUIScreen()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1182, in _syncGUIScreen
    self.resize_slider.setScreen(self.current_screen)
  File "/var/lib/python-support/python2.5/displayconfigwidgets.py", line 46, in setScreen
    self.screensizeslider.setMaxValue(len(screen.getAvailableResolutions())-1)
AttributeError: 'NoneType' object has no attribute 'getAvailableResolutions'
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 "/var/lib/python-support/python2.5/displayconfig.py", line 1483, in slotSecondMonitorToggled
    self._syncGUIScreen()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1182, in _syncGUIScreen
    self.resize_slider.setScreen(self.current_screen)
  File "/var/lib/python-support/python2.5/displayconfigwidgets.py", line 46, in setScreen
    self.screensizeslider.setMaxValue(len(screen.getAvailableResolutions())-1)
AttributeError: 'NoneType' object has no attribute 'getAvailableResolutions'
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 448, in __init__
    self._buildGUI()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 512, in _buildGUI
    self.SizePage = SizeOrientationPage(tabcontrol,self.xsetup,self.compact_m...

Read more...

Revision history for this message
tmp (skrald) wrote :

The error is *still* here in alpha 4.
How can this (important) bug persist in four alpha releases? Aren't you guys interested in letting us test screen configuration at all? This is a very unfortunate prioritisation IMHO.

Revision history for this message
tmp (skrald) wrote :

Why has this bug been marked as duplicate when it is not the same bug as #173768?
The problem in this bug is that libpython2.5.so isn't found. This is not the case in #173768.

Revision history for this message
Marco Cimmino (cimmo) wrote :

tmp:
no this is a bug only in the display configuration module and is unrelated to missing symlink, see the python error and you will see I'm right

the symlink bug is present in a lot of modules and not only in disaply and configuration.

Revision history for this message
Marco Cimmino (cimmo) wrote :

tmp:

sorry you are right I was completely lost due to totally OT comment by Michael Blakeley

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.