[Bug 32915] Re: Display applet does not start

2006-12-14 Thread Andreas Ntaflos
*** This bug is a duplicate of bug 37275 ***

I think I found another incarnation of this error. Running Kubuntu Edgy,
with kde-guidance 0.7.0-0ubuntu4 on my Thinkpad T41p with a Radeon M10
(FireGL T2) and the open source drivers from Xorg.

I don't think it has to do with numbers getting i18n'd wrongly as I set
my system's language to English.

print self.availabletargetgammas outputs: [u'1.4', u'1.6', u'1.8',
u'2.0', u'2.2', u'2.4'] which seems correct. Nonetheless I applied the
fix described by vidak, but I get the following error message:

Pythonize constructor -- pid = 5118
Python interpreter initialized!

Pythonize constructor -- pid = 5118

Traceback (most recent call last):
  File "", line 8, in kcontrol_bridge_create_displayconfig
  File "/var/lib/python-support/python2.4/displayconfig.py", line 1686, in 
create_displayconfig
return DisplayApp(parent, name)
  File "/var/lib/python-support/python2.4/displayconfig.py", line 442, 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
;

Unfortunately I'm not so good with Python backtraces to know where to
look for further possible errors.

-- 
Display applet does not start
https://launchpad.net/bugs/32915

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 32915] Re: Display applet does not start

2006-11-18 Thread vidak
*** This bug is a duplicate of bug 37275 ***

I think I found the problem, at least at my pc. I am using Hungarian 
localization on the machine, and so the numbers are written in eg. 2,5 form 
instead of 2.5 by default. 
So, when the gamma values are given in a list in this form (line 431):
self.availabletargetgammas = 
[unicode(i18n('1.4')),unicode(i18n('1.6')),unicode(i18n('1.8')),unicode(i18n('2.0')),unicode(i18n('2.2')),unicode(i18n('2.4'))]

all the dots are changed to commas because of the localization procedure. In 
line 1028, however the program searches for a simple string, without 
localization:
t = self.config.readEntry("targetgamma","2.0")
and later in line 1034:
t = '2.0'

The problem can be solved either by removing i18n from line 431 or by adding it 
also to lines 1028 and 1034 to get:
t = self.config.readEntry("targetgamma",unicode(i18n("2.0")))
and
t = unicode(i18n('2.0'))
respectively.

-- 
Display applet does not start
https://launchpad.net/bugs/32915

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 32915] Re: Display applet does not start

2006-11-15 Thread vidak
*** This bug is a duplicate of bug 37275 ***

I'm using the same (kde-guidance 0.7.0-0ubuntu4) package, and still
having problems with my i915 card. Tried to edit
/usr/share/apps/guidance/pcitable, but my card was correctly on the
list, so there was nothing to do... The xorg.conf-workaround didn't
help, either.

The module dies with these words:


Traceback (most recent call last):
  File "", 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 478, in 
__init__
self._loadConfig()
  File "/var/lib/python-support/python2.4/displayconfig.py", line 1029, in 
_loadConfig
self.targetgamma = self.availabletargetgammas.index(t)
ValueError: list.index(x): x not in list
error: *** runFunction failure
;

-- 
Display applet does not start
https://launchpad.net/bugs/32915

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 32915] Re: Display applet does not start

2006-10-30 Thread Jared Sutton
*** This bug is a duplicate of bug 37275 ***

This still seems to be an issue on Edgy.  I'm using kde-guidance
0.7.0-0ubuntu4.  I've got a dual-card setup with a integrated Intel
i810-based chipset, and a ATI Rage 128 in a PCI slot.  I was able to
work-around the problem by renaming my xorg.conf and re-generating one
with 'dpkg-reconfigure xserver-xorg.'  However, the problem seems to re-
present itself if I make any modifications to xorg.conf.

-- 
Display applet does not start
https://launchpad.net/bugs/32915

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs