[Bug 50411] Re: displayconfig (KDE) wont open

sebas sebas at kde.org
Wed Jan 3 13:27:06 UTC 2007


Hi Chris,

On Wednesday 27 December 2006 06:32, Chris Thomas wrote:
> Here's the output from kcmshell:
>
> Pythonize constructor -- pid = 5451
> Traceback (most recent call last):
>   File "<string>", line 8, in kcontrol_bridge_create_displayconfig
>   File "/var/lib/python-support/python2.4/displayconfig.py", line 1685, in
> create_displayconfig return DisplayApp(parent, name)
>   File "/var/lib/python-support/python2.4/displayconfig.py", line 441, in
> __init__ self.xsetup = XSetup(self.xconfigpath)
>   File "/var/lib/python-support/python2.4/displayconfigabstraction.py",
> line 387, in __init__ self._finalizeInit()
>   File "/var/lib/python-support/python2.4/displayconfigabstraction.py",
> line 406, in _finalizeInit self.setLayout(gfxcard._getDetectedLayout())
>   File "/var/lib/python-support/python2.4/displayconfigabstraction.py",
> line 954, in setLayout gfxcard.setLayout(XSetup.LAYOUT_CLONE)
>   File "/var/lib/python-support/python2.4/displayconfigabstraction.py",
> line 1162, in setLayout screen._resyncResolution()
>   File "/var/lib/python-support/python2.4/displayconfigabstraction.py",
> line 1801, in _resyncResolution
> self.gfx_card.setup.getPrimaryScreen()._resyncResolution()
>   File "/var/lib/python-support/python2.4/displayconfigabstraction.py",
> line 1757, in _resyncResolution (preferred_width,preferred_height) =
> self.getAvailableResolutions()[self.getResolutionIndex()] IndexError: list
> index out of range
> error: *** runFunction failure

Can you apply the attached patch and show me the output? First thing it does 
is printing the resolutions that have been detected by displayconfig, second 
thing is choosing the highest resolution available in the case of this 
problem (it might still not work if no resolution has been found, but 
provides a sensible path in some cases).

The patch can be applied with 
cd /usr/share/apps/guidance
patch -p0 < /path/to/debug-resolution-index.diff

Thanks in advance,
-- 
sebas

 http://www.kde.org | http://vizZzion.org |  GPG Key ID: 9119 0EF9 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Political language [...] is designed to make lies sound truthful and murder 
respectable, and to give an appearance of solidity to pure wind. - George 
Orwell, 1984

-- 
displayconfig (KDE) wont open
https://launchpad.net/bugs/50411




More information about the kubuntu-bugs mailing list