[Bug 758075] Re: 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)

Brian Murray brian at ubuntu.com
Mon May 13 20:55:18 UTC 2013


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 changed from Private to Public

** Changed in: software-properties (Ubuntu)
       Status: Invalid => Confirmed

** Changed in: software-properties (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/758075

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)

Status in “software-properties” package in Ubuntu:
  Confirmed

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:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/758075/+subscriptions




More information about the foundations-bugs mailing list