displayconfig doesn't open any more
Hex Star
hexstar at gmail.com
Sun Oct 14 00:54:02 UTC 2007
On 10/12/07, Joan Tur <joantur at cancullet.org> wrote:
>
> Hi,
>
> I'm using Kubuntu 7.10 up to date, upgraded 1 month ago from feisty.
>
> Everything is working fine but displayconfig as it doesn't open; if run
> from
> konsole, it shows the following errors:
>
> -----
> quini at quinilg:~$ displayconfig
> X Error: BadDevice, invalid or uninitialized input device 158
> Major opcode: 146
> Minor opcode: 3
> Resource id: 0x0
> Failed to open device
> X Error: BadDevice, invalid or uninitialized input device 158
> Major opcode: 146
> Minor opcode: 3
> Resource id: 0x0
> Failed to open device
> Traceback (most recent call last):
> File "/usr/bin/displayconfig", line 1720, in <module>
> displayapp = DisplayApp()
> File "/usr/bin/displayconfig", line 478, in __init__
> self._loadConfig()
> File "/usr/bin/displayconfig", line 1031, in _loadConfig
> self.targetgamma = self.availabletargetgammas.index(t)
> ValueError: list.index(x): x not in list
> 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]))
> IndexError: list index out of range
>
> Original exception was:
> Traceback (most recent call last):
> File "/usr/bin/displayconfig", line 1720, in <module>
> displayapp = DisplayApp()
> File "/usr/bin/displayconfig", line 478, in __init__
> self._loadConfig()
> File "/usr/bin/displayconfig", line 1031, in _loadConfig
> self.targetgamma = self.availabletargetgammas.index(t)
> ValueError: list.index(x): x not in list
> -----
>
>
>
>
Try in a terminal session executing the following commands:
sudo apt-get --purge remove displayconfig
sudo apt-get install displayconfig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20071013/4892de4f/attachment.html>
More information about the kubuntu-users
mailing list