ubuntuone-control-panel-qt crashed with UnicodeDecodeError in _handle_finished(): 'ascii' codec can't decode byte 0xc3 in position 3007: ordinal not in range(128)

Bug #974193 reported by JULIAN ROBLES
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ubuntuone-control-panel (Ubuntu)
Confirmed
High
Diego Sarmentero

Bug Description

TEST CASE
1. Launch ubuntuone-control-panel-qt
2. Switch to 'Account Information'

ACTUAL RESULT:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntu-sso-client/ubuntu_sso/utils/webclient/qtnetwork.py", line 202, in _handle_finished
    content = unicode(content)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2071: ordinal not in range(128)

Ubuntu One init crash.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: ubuntuone-control-panel-qt 2.99.92-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
Uname: Linux 3.2.0-22-generic x86_64
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
Date: Thu Apr 5 14:08:25 2012
ExecutablePath: /usr/bin/ubuntuone-control-panel-qt
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120327)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/ubuntuone-control-panel-qt
ProcEnviron:
 PATH=(custom, user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/ubuntuone-control-panel-qt']
SourcePackage: ubuntuone-control-panel
Title: ubuntuone-control-panel-qt crashed with UnicodeDecodeError in _handle_finished(): 'ascii' codec can't decode byte 0xc3 in position 3007: ordinal not in range(128)
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers

Revision history for this message
JULIAN ROBLES (jroblesre) wrote :
tags: removed: need-duplicate-check
Changed in ubuntuone-control-panel (Ubuntu):
importance: Undecided → Medium
visibility: private → public
Changed in ubuntuone-control-panel (Ubuntu):
importance: Medium → High
tags: added: rls-q-incoming
description: updated
tags: added: qa-manual-testing
Revision history for this message
Alejandro J. Cura (alecu) wrote :

The code is assuming that the bytes coming from the network are in the same encoding as the system encoding used by python.
This is wrong, and should be fixed.

Changed in ubuntuone-control-panel (Ubuntu):
assignee: nobody → Diego Sarmentero (diegosarmentero)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntuone-control-panel (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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