add-apt-repository crashed with UnicodeEncodeError in __main__: 'ascii' codec can't encode characters in position 1392-1394: ordinal not in range(128)

Bug #827355 reported by avaddon on 2011-08-16
32
This bug affects 4 people
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Undecided
Robert Roth

Bug Description

Appeared on adding ppa:chromium-daily/dev

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: python-software-properties 0.81.6
ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
Uname: Linux 3.0.0-8-generic i686
Architecture: i386
Date: Tue Aug 16 17:25:29 2011
ExecutablePath: /usr/bin/add-apt-repository
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/add-apt-repository ppa:chromium-daily/dev
PythonArgs: ['/usr/bin/add-apt-repository', 'ppa:chromium-daily/dev']
SourcePackage: software-properties
Title: add-apt-repository crashed with UnicodeEncodeError in __main__: 'ascii' codec can't encode characters in position 1392-1394: ordinal not in range(128)
Traceback:
 Traceback (most recent call last):
   File "/usr/bin/add-apt-repository", line 77, in <module>
     print " %s" % (ppa_info["description"] or "")
 UnicodeEncodeError: 'ascii' codec can't encode characters in position 1392-1394: ordinal not in range(128)
UpgradeStatus: Upgraded to oneiric on 2011-08-16 (0 days ago)
UserGroups:

Related branches

avaddon (alexandr-domrachev) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Changed in software-properties (Ubuntu):
status: New → Confirmed
Robert Roth (evfool) on 2011-10-18
Changed in software-properties (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Robert Roth (evfool)
Robert Roth (evfool) on 2011-10-26
Changed in software-properties (Ubuntu):
status: In Progress → Fix Committed

Hello avaddon, or anyone else affected,

Accepted software-properties into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-properties - 0.81.13.1

---------------
software-properties (0.81.13.1) oneiric-proposed; urgency=low

  [ Michael Vogt ]
  * debian/control:
    - add missing build-depends to dh-translations

  [ Philip Muskovac ]
  * lp:~yofel/software-properties/lp-819793:
    - Fix for bug 819793 as disable_child_source() now need the template
      name as parameter, not the template itself )LP: #819793

  [ Robert Roth ]
  * Fix warnings logged to terminal about inexistent handlers by checking
    if the handlers exist
  * Reset the popcon checkbox value if changed, but auth failed (LP: #874759)
  * Apt-add-repository --remove changed to also remove the debsrc
    line (LP: #838507)
  * Update the manpage of apt-add-repository with the available
    options. (LP: #697546)
  * Reset the text on the mirror testing dialog after closing/canceling
    it (LP: #875679)
  * Unicode encode PPA description and displaynam to avoid
    UnicodeDecodeErrors (LP: #827355)
  * Do not expand the server combobox (LP: #875131)

software-properties (0.81.13) oneiric-proposed; urgency=low

  * lp:~kelemeng/software-properties/bug853231:
    - Build with dh_translations, to localize the .policy file at
      runtime. LP: #853231
    - Add missing files to POTFILES.in (LP: #853231)
      Many thanks to Gabor Kelemen
 -- Michael Vogt <email address hidden> Thu, 20 Oct 2011 13:46:08 +0200

Changed in software-properties (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers