add-apt-repository crashed with UnicodeDecodeError in expand_ppa_line(): 'ascii' codec can't decode byte 0xc3 in position 57: ordinal not in range(128)

Bug #758075 reported by alberto6017@yahoo.it
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: python-software-properties

From terminal giving command : sudo add-apt-repository ppa:ubuntu-desktop/gnome3-builds

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: python-software-properties 0.80.7
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Mon Apr 11 22:54:37 2011
ExecutablePath: /usr/bin/add-apt-repository
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta 1 i386 (20110329.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/add-apt-repository ppa:ubuntu-desktop/gnome3-buildsù
ProcEnviron:
 PATH=(custom, no user)
 LANG=it_IT.UTF-8
 LANGUAGE=it_IT:es:C:en
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/add-apt-repository', 'ppa:ubuntu-desktop/gnome3-builds\xc3\xb9']
SourcePackage: software-properties
Title: add-apt-repository crashed with UnicodeDecodeError in expand_ppa_line(): 'ascii' codec can't decode byte 0xc3 in position 57: ordinal not in range(128)
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
alberto6017@yahoo.it (alberto6017) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Robert Roth (evfool) wrote :

Thank you for taking the time to report this bug to improve Ubuntu.
There is a typo in the PPA name you have specified in the command line: ppa:ubuntu-desktop/gnome3-buildsù, the last character should not be there, PPA names should not contain accented characters as far as I know. I am marking this as Invalid. Feel free to reopen this bug, if you encounter any PPAs having accented characters in their name, or if you get the same problem with another PPA too.

Changed in software-properties (Ubuntu):
status: New → Invalid
Revision history for this message
Brian Murray (brian-murray) wrote :

While this does seem invalid it seems to occur somewhat regularly as indicated by the ~46 crashes at https://errors.ubuntu.com/bucket/?id=/usr/bin/add-apt-repository%3AUnicodeDecodeError%3A%3Cmodule%3E%3Aadd_source_from_line%3Aexpand_ppa_line.

Perhaps add-apt-repository should check the sourceline for unicode characters.

information type: Private → Public
Changed in software-properties (Ubuntu):
status: Invalid → Confirmed
importance: Undecided → Medium
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.