[has patch] Monitor and Display module won't load correctly in Hungarian install

Bug #70314 reported by Phonteus Nevolius
6
Affects Status Importance Assigned to Milestone
kde-systemsettings (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have had the following problem for a while, in Dapper and now in Edgy too: my system is installed in Hungarian language, and when I go into System settings/Monitor and Display, it gives me an error message, and the actual content of it just doesn't show up. The error message says something like this:
- An error occurred during your last KDE upgrade leaving an orphaned control module
- You have old third-party modules lying around.

I only realized that the problem somehow has to do with the Hungarian setup when I used the Edgy RC version which was in English. There, the display module came up without problems. Later I installed Edgy in English, again, no problems.

I might not remember well but I think I didn't have this issue in Hungarian Breezy.

Tags: kubuntu
Revision history for this message
Simon Edwards (simon-simonzone) wrote :

With your computer set to hungarion, open up a console and run:

    displayconfig

And report any error messages that you see, and we should be able to get this quickly fixed.

Revision history for this message
Phonteus Nevolius (phontanka) wrote : Re: [Bug 70314] Re: Monitor and Display module won't load correctly in Hungarian install

Thank you for your reply. The output of displayconfig was:

phontanka@kubuntu:~$ displayconfig
X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode: 144
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode: 144
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
Traceback (most recent call last):
  File "/usr/bin/displayconfig", line 1707, in ?
    displayapp = DisplayApp()
  File "/usr/bin/displayconfig", line 478, in __init__
    self._loadConfig()
  File "/usr/bin/displayconfig", line 1029, in _loadConfig
    self.targetgamma = self.availabletargetgammas.index(t)
ValueError: list.index(x): x not in list
phontanka@kubuntu:~$

Revision history for this message
Ákos Mattiassich (mattiassicha) wrote : Re: Monitor and Display module won't load correctly in Hungarian install

Here I've found a solution:
http://ubuntuforums.org/showthread.php?t=285266&page=2

"/usr/bin/displayconfig", line 431 sould be changed to this :
self.availabletargetgammas = [unicode(('1.4')),unicode(('1.6')),unicode(('1.8')),unicode(('2.0')),unicode(('2.2')),unicode(('2.4'))]

Revision history for this message
Phonteus Nevolius (phontanka) wrote : Re: [Bug 70314] Re: Monitor and Display module won't load correctly in Hungarian install

This worked, thank you very much. The problem is solved. It would be nice to
see this implemented by default in Kubuntu 7.04.

Revision history for this message
towsonu2003 (towsonu2003) wrote :

has patch: meaning this post https://launchpad.net/distros/ubuntu/+source/kde-systemsettings/+bug/70314/comments/3

It's not really a patch, but it almost is according to the reporter :) Now we need someone to apply it to the said file [and most probably inform the upstream].

Changed in kde-systemsettings:
status: Unconfirmed → Confirmed
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.