Re: [Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-05-01 Thread Ayan Öztürk
Problem is solved with latest fix for me. Special characters looks fine
too

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  Turkish issue: gnome-language-selector crashes after a fresh install

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


[Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-30 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/language-selector/lp-747796

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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


[Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-30 Thread Gunnar Hjalmarsson
I propose a language-selector fix, after all - see linked merge
proposal. Have a feeling it's a workaround, though - your call, Martin.
If it's acceptable for now, I assume it should go to Nattu as an SRU.

It would be great if those who are affected by this problem can test the
fix. You can simply replace
/usr/share/pyshared/LanguageSelector/gtk/GtkLanguageSelector.py with the
modified file in the linked branch.

** Changed in: language-selector (Ubuntu)
   Status: Invalid = In Progress

** Changed in: language-selector (Ubuntu)
 Assignee: (unassigned) = Gunnar Hjalmarsson (gunnarhj)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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


[Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-30 Thread Erdem
I downloaded GtkLanguageSelector.py from here:

http://bazaar.launchpad.net/~gunnarhj/language-
selector/lp-747796/files/head:/LanguageSelector/gtk/

And replaced with the old one. This time it doesn't crashes. But fonts
are not displayed correctly this time. There are ?? symbols etc..


** Attachment added: pythonlanguageselector.png
   
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/747796/+attachment/2101218/+files/pythonlanguageselector.png

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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


[Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-30 Thread Gunnar Hjalmarsson
Aha, I hadn't tested with Turkish as the selected language; thanks for
catching that.

Improved the fix. To prevent regression risk, it now applies only when a
Turkish regional formats setting is in effect.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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


[Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-29 Thread Erdem
$ apt-cache policy gir1.2-gtk-2.0
gir1.2-gtk-2.0:
  Kurulu: 2.24.4-0ubuntu2
  Aday:   2.24.4-0ubuntu2
  Sürüm tablosu:
 *** 2.24.4-0ubuntu2 0
500 http://tr.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
100 /var/lib/dpkg/status

The problem continues after reinstalling gir1.2-gtk-2.0.

And I suspect the real problem may be that Cengiz points out. For
example in English uppercase of i is I. But in Turkish uppercase of ı is
I and uppercase of i is İ.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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

[Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-28 Thread Cengiz Can
I have exact same module/package versions with Erdem, and reinstalling
the package didn't help with anything.

The problem appears to be the letter uppercase dotted I, which is a Turkish 
only character.
http://en.wikipedia.org/wiki/Help:Turkish_characters

So instead of DIALOG, the icon identifier has a 1 letter shifted name
with DiALOG.

The alphabet has two letter I in Turkish, first one is universal I and
the following is I with dot above.

Anyway, we need a manual way to fix this.

At least please tell how to revert to en_US locate alltogether.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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


[Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-28 Thread Cengiz Can
EXTRA:

Removing language-pack-*-tr / language-pack-tr-* series packs from
synapic resolves many problems with applications using python libraries.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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


Re: [Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-27 Thread Ayan Öztürk
it is still happening to me too. I'm at work right now, i will send these
outputs tonight.

On Wed, Apr 27, 2011 at 00:18, Martin Pitt martin.p...@ubuntu.com
wrote:

 Erdem,

 please also give me the installed version of python-gobject, with

  dpkg -l python-gobject|grep ^i

 and the output of

  python -c 'from gi.repository import Gtk; print Gtk.IconSize,
 dir(Gtk.IconSize)'

 Thanks!

 --
 You received this bug notification because you are a direct subscriber
 of the bug.
 https://bugs.launchpad.net/bugs/747796

 Title:
  gnome-language-selector crashes after a fresh install

 To unsubscribe from this bug, go to:

 https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/747796/+subscribe



-- 
*Ayan Öztürk**
*www.ayanozturk.com

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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

[Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-27 Thread Erdem
Here's the output requested:

$ dpkg -l python-gobject|grep ^i

ii  python-gobject2.28.3-1ubuntu1
Python bindings for the GObject library

$ python -c 'from gi.repository import Gtk; print Gtk.IconSize,
dir(Gtk.IconSize)'

class 'gi.repository.Gtk.GtkIconSize' ['BUTTON', 'DND', 'DiALOG',
'LARGE_TOOLBAR', 'MENU', 'SMALL_TOOLBAR', '__abs__', '__add__',
'__and__', '__class__', '__cmp__', '__coerce__', '__delattr__',
'__dict__', '__div__', '__divmod__', '__doc__', '__enum_values__',
'__eq__', '__float__', '__floordiv__', '__format__', '__ge__',
'__getattribute__', '__getnewargs__', '__gt__', '__gtype__', '__hash__',
'__hex__', '__index__', '__info__', '__init__', '__int__', '__invert__',
'__le__', '__long__', '__lshift__', '__lt__', '__mod__', '__module__',
'__mul__', '__ne__', '__neg__', '__new__', '__nonzero__', '__oct__',
'__or__', '__pos__', '__pow__', '__radd__', '__rand__', '__rdiv__',
'__rdivmod__', '__reduce__', '__reduce_ex__', '__repr__',
'__rfloordiv__', '__rlshift__', '__rmod__', '__rmul__', '__ror__',
'__rpow__', '__rrshift__', '__rshift__', '__rsub__', '__rtruediv__',
'__rxor__', '__setattr__', '__sizeof__', '__str__', '__sub__',
'__subclasshook__', '__truediv__', '__trunc__', '__weakref__',
'__xor__', 'bit_length', 'conjugate', 'denominator', 'iNVALiD', 'imag',
'numerator', 'real', 'value_name', 'value_nick']

Thanks ..

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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


Re: [Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-27 Thread Martin Pitt
Erdem [2011-04-27 16:35 -]:
 class 'gi.repository.Gtk.GtkIconSize' ['BUTTON', 'DND', 'DiALOG',

What the heck? This almost looks like an April's fool..

Can you please give me the output of

  apt-cache policy gir1.2-gtk-2.0

and try

  sudo apt-get install --reinstall gir1.2-gtk-2.0

?
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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


[Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-26 Thread Martin Pitt
I cannot reproduce this on current natty. Does it still happen to you?

If so, can you please copypaste the output of these commands:

  python -c 'from gi.repository import Gtk; print Gtk.IconSize.DIALOG'
  dpkg -l gir1.2-gtk*|grep ^i

Thanks!


** Changed in: pygobject (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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


[Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-26 Thread Erdem
Sure :)

$ python -c 'from gi.repository import Gtk; print Gtk.IconSize.DIALOG'
Traceback (most recent call last):
  File string, line 1, in module
AttributeError: type object 'GtkIconSize' has no attribute 'DIALOG'

$ dpkg -l gir1.2-gtk*|grep ^i
ii  gir1.2-gtk-2.02.24.4-0ubuntu2   
 The GTK+ graphical user interface library -- gir bindings

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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


[Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-26 Thread Erdem
Yes it still happens to me. With tr_TR.UTF-8 locale.

 I installed this version of Natty from a daily repository. Does it
matter. And also 32 bit version is installed.

** Changed in: pygobject (Ubuntu)
   Status: Incomplete = New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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


[Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-26 Thread Martin Pitt
Erdem,

please also give me the installed version of python-gobject, with

  dpkg -l python-gobject|grep ^i

and the output of

  python -c 'from gi.repository import Gtk; print Gtk.IconSize,
dir(Gtk.IconSize)'

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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


[Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-25 Thread Sebastian Heinlein
Please update your system. Seems to be an issue in python gtk

** Package changed: aptdaemon (Ubuntu) = pygobject (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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


[Bug 747796] Re: gnome-language-selector crashes after a fresh install

2011-04-25 Thread Erdem
Hi I meant tr_TR.UTF-8 as locale name. Also my system is already set to
tr_TR.UTF-8 locale.

$ locale
LANG=tr_TR.UTF-8
LANGUAGE=tr_TR:en
LC_CTYPE=tr_TR.UTF-8
LC_NUMERIC=tr_TR.UTF-8
LC_TIME=tr_TR.UTF-8
LC_COLLATE=tr_TR.UTF-8
LC_MONETARY=tr_TR.UTF-8
LC_MESSAGES=tr_TR.UTF-8
LC_PAPER=tr_TR.UTF-8
LC_NAME=tr_TR.UTF-8
LC_ADDRESS=tr_TR.UTF-8
LC_TELEPHONE=tr_TR.UTF-8
LC_MEASUREMENT=tr_TR.UTF-8
LC_IDENTIFICATION=tr_TR.UTF-8
LC_ALL=

I updated my system as you mentioned. But the problem still exists.

$ LANG=tr_TR.UTF-8 /usr/bin/gnome-language-selector 
Traceback (most recent call last):
  File /usr/bin/gnome-language-selector, line 8, in module
from LanguageSelector.gtk.GtkLanguageSelector import GtkLanguageSelector
  File 
/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py, 
line 34, in module
from aptdaemon.gtk3widgets import AptProgressDialog
  File /usr/lib/python2.7/dist-packages/aptdaemon/gtk3widgets.py, line 61, in 
module
class AptStatusIcon(Gtk.Image):
  File /usr/lib/python2.7/dist-packages/aptdaemon/gtk3widgets.py, line 66, in 
AptStatusIcon
def __init__(self, transaction=None, size=Gtk.IconSize.DIALOG):
AttributeError: type object 'GtkIconSize' has no attribute 'DIALOG'

And I think I don't need to set locale with a command line parameter.
Because my default locale is already set to tr_TR.UTF-8.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/747796

Title:
  gnome-language-selector crashes after a fresh install

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