[requestsync] crashed with UnicodeEncodeError in edit_report()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Low
|
Stefano Rivera |
Bug Description
Binary package hint: ubuntu-dev-tools
Here's the whole console output:
requestsync phpmyadmin lucid unstable
Do you have upload permissions for the 'universe' component or the package 'phpmyadmin' in Ubuntu lucid?
If in doubt answer 'n'. [y/N]?
Please check on https:/
for duplicate sync requests before continuing.
Press [Enter] to continue or [Ctrl-C] to abort.
Traceback (most recent call last):
File "/usr/bin/
(title, report) = edit_report(title, report, changes_required = need_interaction)
File "/usr/lib/
print 'Currently the report looks as follows:\n%s' % report
UnicodeEncodeError: 'ascii' codec can't encode character u'\u010c' in position 652: ordinal not in range(128)
ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: ubuntu-dev-tools 0.96
ProcVersionSign
Uname: Linux 2.6.32-18-generic x86_64
Architecture: amd64
Date: Fri Apr 2 00:07:01 2010
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.6
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANG=C
PythonArgs: ['/usr/
SourcePackage: ubuntu-dev-tools
Title: requestsync crashed with UnicodeEncodeError in edit_report()
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin netdev plugdev sambashare vboxusers video
tags: | removed: need-duplicate-check |
summary: |
- requestsync crashed with UnicodeEncodeError in edit_report() + [requestsync] crashed with UnicodeEncodeError in edit_report() |
I could reproduce this with "LANG=C requestsync ...". It works with a UTF-8 locale.
I guess requestsync needs to check if it's running in a UTF-8 locale and exit otherwise. Else it can't display the report with the UTF-8 encoded changelog.