[Hardy] Monitor and Display systems settings is broken (displayconfig)

Bug #190805 reported by Sven Boden
2
Affects Status Importance Assigned to Milestone
kde-guidance (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-qt3

After the bug https://bugs.launchpad.net/ubuntu/+source/meta-kde/+bug/179763 has been solved, or the workaround has been applied, "Monitor and Display" under System Settings shows a new error:

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 "/usr/share/python-support/kde-guidance/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 "/var/lib/python-support/python2.5/displayconfig.py", line 1720, in <module>
    displayapp = DisplayApp()
  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 510, in _buildGUI
    self.SizePage = SizeOrientationPage(sopage,self.xsetup,self.compact_mode)
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1140, in __init__
    self._syncGUI()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1149, in _syncGUI
    self._syncGUIScreen()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1182, in _syncGUIScreen
    self.resize_slider.setScreen(self.current_screen)
  File "/usr/share/python-support/kde-guidance/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 "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 42, in apport_excepthook
    binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
IndexError: list index out of range

Original exception was:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1720, in <module>
    displayapp = DisplayApp()
  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 510, in _buildGUI
    self.SizePage = SizeOrientationPage(sopage,self.xsetup,self.compact_mode)
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1140, in __init__
    self._syncGUI()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1149, in _syncGUI
    self._syncGUIScreen()
  File "/var/lib/python-support/python2.5/displayconfig.py", line 1182, in _syncGUIScreen
    self.resize_slider.setScreen(self.current_screen)
  File "/usr/share/python-support/kde-guidance/displayconfigwidgets.py", line 46, in setScreen
    self.screensizeslider.setMaxValue(len(screen.getAvailableResolutions())-1)
AttributeError: 'NoneType' object has no attribute 'getAvailableResolutions'

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.