UnicodeEncodeError when rendering /+login

Bug #531710 reported by Besson
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical SSO provider
Fix Released
Medium
Szilveszter Farkas
Ubuntu One Client
Invalid
Undecided
Unassigned
ubuntuone-client (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

QA Notes on bug #577081

Binary package hint: ubuntuone-client

Oops!

Sorry, something just went wrong in Ubuntu Single Sign On.

We’ve recorded what happened, and we’ll fix it as soon as possible. Apologies for the inconvenience.

(Error ID: 1524canistel72)

ProblemType: Bug
.home.besson..cache.ubuntuone.log.oauth.login.log:
 2010-03-02 15:29:39,108:108.932971954 UbuntuOne.Client.Applet 启动 Ubuntu One 客户端版本 1.0.3
 2010-03-04 12:14:34,413:413.937091827 UbuntuOne.Client.Applet 启动 Ubuntu One 客户端版本 1.0.3
.home.besson..config.ubuntuone.syncdaemon.conf:
 [bandwidth_throttling]
 read_limit = 0
 write_limit = 0
 on = False
.home.besson..config.ubuntuone.ubuntuone.client.conf:
 [ubuntuone]
 connected = True
 connect = 0
 show_applet = 1
 bookmarked = True
Architecture: i386
Date: Thu Mar 4 12:17:07 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: ubuntuone-client 1.0.3-0ubuntu1
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=zh_CN.UTF-8
 LANG=zh_CN.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: ubuntuone-client
Uname: Linux 2.6.31-19-generic i686

Related branches

Revision history for this message
Besson (besson1412) wrote :
Revision history for this message
Duane Hinnen (duanedesign) wrote :

Reassigned this to ubuntuone-servers as this appears to be a problem with the website.

Changed in ubuntuone-client (Ubuntu):
status: New → Invalid
John Lenton (chipaca)
affects: ubuntuone-servers → canonical-identity-provider
Changed in canonical-identity-provider:
milestone: none → 2.5.0
Revision history for this message
Anthony Lenton (elachuni) wrote :

Attaching the traceback from the oops report:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/django/core/handlers/base.py", line 86, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.5/site-packages/identityprovider/decorators.py", line 15, in _guest_required_decorator
    return func(request, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/identityprovider/decorators.py", line 20, in _dont_cache_decorator
    response = func(request, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/identityprovider/decorators.py", line 60, in wrapper
    return self.view_wrapper(request, fn, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/identityprovider/decorators.py", line 68, in view_wrapper
    counts = self.get_counters(request).values()
  File "/usr/lib/python2.5/site-packages/identityprovider/decorators.py", line 94, in get_counters
    return self.cache_get_many(self.keys_to_check(request))
  File "/usr/lib/python2.5/site-packages/identityprovider/decorators.py", line 97, in keys_to_check
    extra = self.key_extra(request)
  File "/usr/lib/python2.5/site-packages/identityprovider/decorators.py", line 142, in key_extra
    value = sha1(request.POST.get(self.key_field, '')).hexdigest()
UnicodeEncodeError: 'ascii' codec can't encode character u'\uff20' in position 10: ordinal not in range(128)

Changed in canonical-identity-provider:
status: New → Confirmed
importance: Undecided → Medium
summary: - can not login ubuntu one
+ UnicodeEncodeError when rendering /+login
Changed in canonical-identity-provider:
assignee: nobody → Szilveszter Farkas (phanatic)
Changed in canonical-identity-provider:
status: Confirmed → Fix Committed
Revision history for this message
Julien Funk (jaboing) wrote :

Please add steps to reproduce.

Revision history for this message
Szilveszter Farkas (phanatic) wrote :

QA notes are available in a separate bug report assigned to canonical-isd-qa.

Steps to reproduce: use any CJK (Chinese/Japanese/Korean) character in the email address field when logging in.

Revision history for this message
Dave Morley (davmor2) wrote :

now I know why phanatic added it to the other bug

Changed in ubuntuone-client:
status: New → Invalid
Revision history for this message
Dave Morley (davmor2) wrote :

Passes on staging QA notes are on bug 577081

description: updated
Revision history for this message
Dave Morley (davmor2) wrote :

Works on produce view bug 577081

Danny Tamez (zematynnad)
Changed in canonical-identity-provider:
status: Fix Committed → Fix Released
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.