quickly can't work with UTF-8 Launchpad user names

Bug #1017763 reported by Serhiy
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
quickly (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

$ quickly share
...
Traceback (most recent call last):
  File "/usr/share/quickly/templates/ubuntu-application/share.py", line 127, in <module>
    print(_("%s does not exist. Please create it on launchpad if you want to push a package to it. %s has the following ppas available:") % (e, ppa_user.name))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 3: ordinal not in range(128)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: quickly 12.04-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic-pae 3.2.18
Uname: Linux 3.2.0-25-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
Date: Tue Jun 26 04:24:38 2012
PackageArchitecture: all
QuicklyDataPath: /usr/share/quickly
QuicklyTemplates:
 /usr/share/quickly/templates/ubuntu-application
 /usr/share/quickly/templates/ubuntu-flash-game
 /usr/share/quickly/templates/ubuntu-cli
QuicklyTemplatesDirectories: /usr/share/quickly/templates/
SourcePackage: quickly
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Serhiy (xintx-ua) wrote :
Revision history for this message
Serhiy (xintx-ua) wrote :

str(ppa_user.name)
fixes the problem

Changed in quickly (Ubuntu):
assignee: nobody → Сергій Загорія (xintx-ua)
Revision history for this message
Serhiy (xintx-ua) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "quickly_1017763_ppa_user_name_str.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in quickly (Ubuntu):
status: New → Confirmed
Revision history for this message
Samuel Dolt (samuel-dolt) wrote :

This patch working for me.

Serhiy (xintx-ua)
Changed in quickly (Ubuntu):
assignee: Сергій Загорія (xintx-ua) → nobody
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.