[submittodebian] UnicodeEncodeError: 'ascii' codec can't encode character u'\u2192' in position 555: ordinal not in range(128)

Bug #1005834 reported by Daniel Holbach
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

submittodebian seems to choke on a '→' character.

daniel@daydream:~/imagemagick-6.6.9.7$ submittodebian
Traceback (most recent call last):
  File "/usr/bin/submittodebian", line 217, in <module>
    main()
  File "/usr/bin/submittodebian", line 204, in main
    fp.write(bug_body)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2192' in position 555: ordinal not in range(128)
daniel@daydream:~/imagemagick-6.6.9.7$

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubuntu-dev-tools 0.141
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
CheckboxSubmission: 2f383a1679e8525d7196eb2518a1921f
CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
Date: Tue May 29 12:16:53 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110817)
PackageArchitecture: all
SourcePackage: ubuntu-dev-tools
UpgradeStatus: Upgraded to precise on 2011-12-02 (178 days ago)

Revision history for this message
Daniel Holbach (dholbach) wrote :
Revision history for this message
Benjamin Drung (bdrung) wrote :

Can you provide a small test case for this bug?

Changed in ubuntu-dev-tools (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Daniel Holbach (dholbach) wrote :

  apt-get source hello
  cd hello-2.7/
  dch -i "Bla something → something"
  submittodebian

Changed in ubuntu-dev-tools (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.143

---------------
ubuntu-dev-tools (0.143) unstable; urgency=low

  [ Iain Lane ]
  * backportpackage: Fix filenames searched when looking for existing
    .orig.tar.foo files (to determine if we need to upload it again or not).
    (LP: #1007908)
  * backportpackage: Unset DEBEMAIL when building source package. Fixes error
    when building backports for packages with no Ubuntu changes.
    (LP: #1007042)

  [ Mathieu Trudel-Lapierre ]
  * mk-sbuild: use and update messages to suggest using the source:$chroot way
    of referring to source chroots instead of $chroot-source; since the latter
    does not work with btrfs snapshot-based chroots. (LP: #1014669)

  [ Lars Düsing ]
  * Corrected brackets in man-page for sponsor-patch.

  [ Stefano Rivera ]
  * pbuilder-dist: Don't try to enable -updates for the current codename
    referring to Debian testing, either (LP: #1011870)
  * Correct spelling mistakes in package description, thanks Logan Rosen for
    the patch (Closes: #678245)
  * Correct metavar for --mirror in backportpackage (LP: #999727)
  * submittodebian: Explitictly UTF-8 encode the bug body (LP: #1005834)
  * backportpackage.1: Document --key and --dont-sign (LP: #1007564)
  * seeded-in-ubuntu: Catch errors in parsing data, and don't keep unreadable
    data cached (LP: #1008783)
  * ubuntutools.archive: Improve error handling around rmadison calls
    (LP: #1010951)
  * submittodebian; Unset DEBEMAIL when building source package.
    (LP: #1015066)

  [ Benjamin Drung ]
  * Add a man page for the reverse-build-depends wrapper script.

 -- Benjamin Drung <email address hidden> Fri, 22 Jun 2012 13:34:43 +0200

Changed in ubuntu-dev-tools (Ubuntu):
status: Fix Committed → Fix Released
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.