After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 624837 - translated default keyring names lead to crashes
translated default keyring names lead to crashes
Status: RESOLVED FIXED
Product: libgnome-keyring
Classification: Core
Component: General
2.30.x
Other Linux
: Normal critical
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
: 624839 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-07-20 14:38 UTC by Sebastien Bacher
Modified: 2019-02-22 11:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2010-07-20 14:38:52 UTC
The issue has been described on https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/553759

Basically running any python-gnomekeyring client using a french locale on a new installation will lead to crashes:

"Traceback (most recent call last):
  • File "/usr/bin/ubuntuone-preferences", line 62 in <module>
    from desktopcouch.replication_services import ubuntuone as dcouch
  • File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 20 in <module>
    from desktopcouch.start_local_couchdb import process_is_couchdb, read_pidfile
  • File "/usr/lib/python2.6/dist-packages/desktopcouch/start_local_couchdb.py", line 38 in <module>
    from desktopcouch import local_files
  • File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 292 in <module>
    xdg_base_dirs.save_config_path("desktop-couch"))
  • File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 232 in __init__
    self.configuration = _Configuration(self)
  • File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 100 in __init__
    ":".join([admin_username, admin_password]), True) NoSuchKeyringError"

The "Default" translation in french is "Par défaut" and the non-utf8 char seems to be an issue for gnome-keyring clients. Not sure if the name should we written untranslated or if the library should handle UTF8 chars in the names
Comment 1 Sebastien Bacher 2010-07-20 14:48:04 UTC
duplicate bug
Comment 2 Sebastien Bacher 2010-07-20 14:49:09 UTC
*** Bug 624839 has been marked as a duplicate of this bug. ***
Comment 3 Sebastien Bacher 2010-07-20 14:50:00 UTC
sorry closed the other bug as duplicate
Comment 4 Sebastien Bacher 2010-07-20 14:55:34 UTC
you can trigger the bug using keyring.py in gnome-python-desktop on a GNOME 2.30 installation
Comment 5 Stef Walter 2010-08-03 06:08:13 UTC
Fixed this a little while ago:

commit 9072f847743e22eb6a96c70d1cac8bf506df8902
Author: Stef Walter <stef@memberwebs.com>
Date:   Tue Jul 27 10:23:52 2010 +0200

    [dbus] Fix encoding problems with keyring names and foreign characters.
    
     * Creating keyrings with a label that contained non-ascii charaters
       was broken.