language-selector don't finish task

Bug #598619 reported by Del Socorro Françoise
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
language-selector (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

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)

Tags: maverick

Related branches

Revision history for this message
David Stansby (dstansby-deactivatedaccount) wrote :

I've attached a fix which should get rid of some of the deprecated variable messages

Revision history for this message
Arne Goetje (arnegoetje) wrote :

Thanks for the bug report and your branch, but before applying that I'd like to find out why this is happening in the first place.

Arne Goetje (arnegoetje)
tags: added: maverick
Arne Goetje (arnegoetje)
Changed in language-selector (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Arne Goetje (arnegoetje)
Changed in language-selector (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package language-selector - 0.6.1

---------------
language-selector (0.6.1) maverick; urgency=low

  [ Michael Vogt ]
  * fix dialog returning too early (issue with latest aptdaemon)
  * fix deprecation warning
  * build with include-links
  * dbus_backend/ls-dbus-backend: move dbus.mainloop.glib integration way up
    to avoid crash on startup (LP: #598619) (LP: #596603)

  [ Arne Goetje ]
  * clean up data/pkg-depends:
    - remove enigmail-locale- (LP: #588254)
    - remove obsolete kde-i18n- and koffice-i18n- entries, packages have
      been removed from archive in Lucid.
  * update fontconfig/69-language-selector-ja-jp.conf: change binding to
    'strong' (LP: #569442)
  * LocaleInfo.py: check for file permissions (LP: #598802)
  * fix depreciation warnings
  * debian/control: add pyqt4-dev-tools to Build-Depends
 -- Arne Goetje <email address hidden> Fri, 02 Jul 2010 17:21:08 +0800

Changed in language-selector (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Del Socorro Françoise (waterreedshimmer) wrote :

Thank you a lot !!!

It works perfectly !!!

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/LanguageSelector/gtk/GtkLanguageSelector.py:777: GtkWarning: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed
  cell = combo.get_child().get_cell_renderers()[0]
fr:pt_BR:pt:en_US:en
fr:pt_BR:pt:en_US:en_GB:en
fr:pt_BR:pt:en_US:en_GB:el:en
fr:pt_BR:pt_PT:pt:en_US:en_GB:el:en
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.62" (uid=0 pid=5027 comm="/usr/bin/python) interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination=":1.48" (uid=0 pid=2380 comm="/usr/bin/python))

fran@Charmmy-Kitty:~$ sudo aptitude show language-selector | grep -i version
Version : 0.6.1

Revision history for this message
Arne Goetje (arnegoetje) wrote : Re: [Bug 598619] Re: language-selector don't finish task

On 07/05/2010 06:08 PM, Del Socorro Françoise wrote:
> Thank you a lot !!!
>
> It works perfectly !!!
>
> fran@Charmmy-Kitty:~$ sudo /usr/bin/gnome-language-selector

Does it work when you run gnome-language-selector as a normal user
without sudo?

Revision history for this message
Del Socorro Françoise (waterreedshimmer) wrote :

Well, the problem now it's not sudo, it translates the operating system (OS) from any language to any language when I restart, but it only doesn't translate into english language (US/GB). I can have OS in Brazilian, but not in US English when several languages are selected. OS stays in last language when en_US is up.

fran@Charmmy-Kitty:~$ /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/LanguageSelector/gtk/GtkLanguageSelector.py:777: GtkWarning: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed
  cell = combo.get_child().get_cell_renderers()[0]
en_US:pt_BR:pt_PT:en_GB:fr:fr_FR:fr_CA:pt:el:en
en_US:en_GB:pt_BR:pt_PT:fr:fr_FR:fr_CA:pt:el:en

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.