new sso client has issues on utf8 chars

Bug #933632 reported by Sebastien Bacher on 2012-02-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Single Sign On Client
Status tracked in Trunk
Stable-3-0
Undecided
Unassigned
Trunk
Critical
Natalia Bidart
ubuntu-sso-client (Ubuntu)
Undecided
Unassigned

Bug Description

trying 2.99.4 from precise NEW on a french system I get those errors:

"2012-02-16 18:38:25,319:319.415092468 - ubuntu_sso.credentials - INFO - find_credentials: self.app_name dbus.String(u'Ubuntu One'), result is {}? True
2012-02-16 18:38:25,320:320.333003998 - ubuntu_sso.credentials - ERROR - login (app_name: Ubuntu One): Problem while performing login.
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntu-sso-client/ubuntu_sso/credentials.py", line 85, in inner
    result = yield f(self, *a, **kw)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 71: ordinal not in range(128)
2012-02-16 18:38:25,320:320.764064789 - ubuntu_sso.main - ERROR - 'CredentialsManagement': emitting 'CredentialsError' with args (dbus.String(u'Ubuntu One'), UnicodeEncodeError('ascii', u"Ubuntu One requiert un compte Ubuntu. Ce processus vous permettra de cr\xe9er un nouveau compte, si vous n'en poss\xe9dez pas d\xe9j\xe0 un.", 71, 72, 'ordinal not in range(128)')) and kwargs {}
2012-02-16 18:38:29,271:271.748065948 - ubuntu_sso.main - INFO - Shutting down, calling <function shutdown_func at 0x8fb43e4>."

that breaks sso usage...

Related branches

Changed in ubuntu-sso-client:
assignee: nobody → Natalia Bidart (nataliabidart)
importance: Undecided → Critical
status: New → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-sso-client - 2.99.4-0ubuntu2

---------------
ubuntu-sso-client (2.99.4-0ubuntu2) precise; urgency=low

  * debian/control: add a preferred recommended gui for ubuntu-sso-client.
  * debian/patches/01_fix-933632.patch:
    - Make gettext return unicode strings. Also, transform arguments passed to
      the GLib spawnner to bytes (LP: #933632).
 -- Natalia Bidart (nessita) <email address hidden> Fri, 17 Feb 2012 14:09:54 -0300

Changed in ubuntu-sso-client (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers