FS#25296 - Gnome-Tweak-Tool crashes with Turkish locale

Attached to Project: Arch Linux
Opened by Benny Hult (bioterror) - Thursday, 28 July 2011, 18:44 GMT
Last edited by Ionut Biru (wonder) - Friday, 29 July 2011, 12:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When using Gnome3 with Turkish language on desktop and locale, Gnome-Tweak-Tool crashes on application launch

Additional info:
extra/gnome-tweak-tool 3.0.5-1 [installed]

$ gnome-tweak-tool
Traceback (most recent call last):
File "/usr/bin/gnome-tweak-tool", line 27, in <module>
from gtweak.tweakview import TweakView
File "/usr/lib/python2.7/site-packages/gtweak/tweakview.py", line 20, in <module>
from gi.repository import Gtk, Gdk, GObject
File "/usr/lib/python2.7/site-packages/gi/importer.py", line 76, in load_module
dynamic_module._load()
File "/usr/lib/python2.7/site-packages/gi/module.py", line 242, in _load
overrides_modules = __import__('gi.overrides', fromlist=[self._namespace])
File "/usr/lib/python2.7/site-packages/gi/overrides/Gdk.py", line 114, in <module>
class Event(Gdk.Event):
File "/usr/lib/python2.7/site-packages/gi/overrides/Gdk.py", line 119, in Event
Gdk.EventType.MOTION_NOTIFY: 'motion',
AttributeError: type object 'GdkEventType' has no attribute 'MOTION_NOTIFY'

Steps to reproduce:
edit /etc/locale.gen
uncomment tr_TR.UTF-8 UTF-8
run 'locale-gen' with root permission.
Change your language to turkish from 'System settings'> Region and Language.
Re-login with Turkish locale and run 'gnome-tweak-tool'
This task depends upon

Closed by  Ionut Biru (wonder)
Friday, 29 July 2011, 12:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  pygobject 2.28.6-1