Binary package hint: language-selector
Hello, I'm under Ubuntu Maverick Meerkat with kernel 2.6.35-5-generic and with language-selector 0.6.0. When I apply languages system-wide, it never stops.
fran@Charmmy-Kitty:~$ sudo /usr/bin/gnome-language-selector
** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)
/usr/lib/python2.6/dist-packages/apt/cache.py:123: DeprecationWarning: Deprecated, please use 'op' instead
self._cache = apt_pkg.Cache(progress)
/usr/lib/python2.6/dist-packages/apt/cache.py:123: DeprecationWarning: Deprecated, please use 'subop' instead
self._cache = apt_pkg.Cache(progress)
/usr/lib/python2.6/dist-packages/LanguageSelector/LangCache.py:84: DeprecationWarning: Attribute 'BrokenCount' of the 'apt_pkg.DepCache' object is deprecated, use 'broken_count' instead.
if self._depcache.BrokenCount > 0:
/usr/lib/python2.6/dist-packages/LanguageSelector/LangCache.py:42: DeprecationWarning: Deprecated, please use 'is_installed' instead
langpkg_status.installed = cache[pkgname].isInstalled
/usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py:763: GtkWarning: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed
cell = combo.get_child().get_cell_renderers()[0]
/usr/lib/python2.6/dist-packages/LanguageSelector/LangCache.py:193: DeprecationWarning: Attribute 'List' of the 'apt_pkg.SourceList' object is deprecated, use 'list' instead.
for metaindex in self._list.List:
/usr/lib/python2.6/dist-packages/LanguageSelector/LangCache.py:194: DeprecationWarning: Attribute 'IndexFiles' of the 'apt_pkg.MetaIndex' object is deprecated, use 'index_files' instead.
for indexfile in metaindex.IndexFiles:
/usr/lib/python2.6/dist-packages/LanguageSelector/LangCache.py:195: DeprecationWarning: Attribute 'ArchiveURI' of the 'apt_pkg.IndexFile' object is deprecated, use 'archive_uri' instead.
if indexfile.ArchiveURI("").startswith("cdrom:"):
/usr/lib/python2.6/dist-packages/LanguageSelector/LangCache.py:197: DeprecationWarning: Attribute 'ArchiveURI' of the 'apt_pkg.IndexFile' object is deprecated, use 'archive_uri' instead.
if indexfile.ArchiveURI("").startswith("http://security.ubuntu.com"):
/usr/lib/python2.6/dist-packages/LanguageSelector/LangCache.py:199: DeprecationWarning: Attribute 'Label' of the 'apt_pkg.IndexFile' object is deprecated, use 'label' instead.
if indexfile.Label != "Debian Package Index":
/usr/lib/python2.6/dist-packages/LanguageSelector/LangCache.py:201: DeprecationWarning: Attribute 'Exists' of the 'apt_pkg.IndexFile' object is deprecated, use 'exists' instead.
if indexfile.Exists and indexfile.HasPackages:
/usr/lib/python2.6/dist-packages/LanguageSelector/LangCache.py:201: DeprecationWarning: Attribute 'HasPackages' of the 'apt_pkg.IndexFile' object is deprecated, use 'has_packages' instead.
if indexfile.Exists and indexfile.HasPackages:
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:55: DeprecationWarning: Deprecated, please use 'is_installed' instead
(self._cache[trans_package].isInstalled or \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:56: DeprecationWarning: Deprecated, please use 'marked_install' instead
self._cache[trans_package].markedInstall or \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:57: DeprecationWarning: Deprecated, please use 'marked_upgrade' instead
self._cache[trans_package].markedUpgrade) and \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:78: DeprecationWarning: Deprecated, please use 'is_installed' instead
(self._cache[trans_package].isInstalled or \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:79: DeprecationWarning: Deprecated, please use 'marked_install' instead
self._cache[trans_package].markedInstall or \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:80: DeprecationWarning: Deprecated, please use 'marked_upgrade' instead
self._cache[trans_package].markedUpgrade)):
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:58: DeprecationWarning: Deprecated, please use 'marked_delete' instead
not self._cache[trans_package].markedDelete):
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:64: DeprecationWarning: Deprecated, please use 'is_installed' instead
(self._cache[pkg].isInstalled or \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:65: DeprecationWarning: Deprecated, please use 'marked_install' instead
self._cache[pkg].markedInstall or \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:66: DeprecationWarning: Deprecated, please use 'marked_upgrade' instead
self._cache[pkg].markedUpgrade) and \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:67: DeprecationWarning: Deprecated, please use 'marked_delete' instead
not self._cache[pkg].markedDelete and \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:69: DeprecationWarning: Deprecated, please use 'is_installed' instead
((not self._cache[translation].isInstalled and \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:72: DeprecationWarning: Deprecated, please use 'marked_delete' instead
self._cache[translation].markedDelete) and \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:102: DeprecationWarning: Deprecated, please use 'is_installed' instead
(self._cache[pkg].isInstalled or \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:105: DeprecationWarning: Deprecated, please use 'marked_delete' instead
not self._cache[pkg].markedDelete and \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:107: DeprecationWarning: Deprecated, please use 'is_installed' instead
((not self._cache[pull_pkg].isInstalled and \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:110: DeprecationWarning: Deprecated, please use 'marked_delete' instead
self._cache[pull_pkg].markedDelete) and \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:128: DeprecationWarning: Deprecated, please use 'is_installed' instead
not self._cache[trans_package].isInstalled):
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:137: DeprecationWarning: Deprecated, please use 'is_installed' instead
not self._cache[support_package].isInstalled):
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:159: DeprecationWarning: Deprecated, please use 'is_installed' instead
(self._cache[pkg].isInstalled or \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:162: DeprecationWarning: Deprecated, please use 'marked_delete' instead
not self._cache[pkg].markedDelete and \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:164: DeprecationWarning: Deprecated, please use 'is_installed' instead
((not self._cache[pull_pkg].isInstalled and \
/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py:167: DeprecationWarning: Deprecated, please use 'marked_delete' instead
self._cache[pull_pkg].markedDelete) and \
ERROR:dbus.proxies:Introspect error on :1.48:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.47" (uid=0 pid=1734 comm="/usr/bin/python) interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination=":1.48" (uid=0 pid=1902 comm="/usr/bin/python))
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 76, in wrapper
res = f(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 88, in wrapper
res = f(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 1049, in on_button_apply_system_wide_languages_clicked
self.writeSystemLanguage(self.userEnvLanguage)
File "/usr/lib/python2.6/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 744, in writeSystemLanguage
self.writeSysLanguageSetting(sysLanguage=languageString)
File "/usr/lib/python2.6/dist-packages/LanguageSelector/LanguageSelector.py", line 185, in writeSysLanguageSetting
iface.SetSystemDefaultLanguageEnv(sysLanguage)
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
I've attached a fix which should get rid of some of the deprecated variable messages