bzr crashed with BzrError in get_unicode_argv(): Parameter ''Use Unicode \xcbdegree characters for Celsius/Farenheit'' is unsupported by the current encoding.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Low
|
Martin Packman | ||
bzr (Ubuntu) |
Fix Released
|
Low
|
Jelmer Vernooij |
Bug Description
Binary package hint: bzr
I tried to copy-paste ℃ into the commit message (in the commandline). I deleted something in the string because I got an error.
The editor might have left something that's not a valid Unicode string.
bzr should catch Unicode conversion exceptions and fail gracefully.
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: bzr 2.3.1-1ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-7-generic i686
Architecture: i386
Date: Wed Mar 30 15:26:06 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/bzr
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110326)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/bzr commit -m Use\ Unicode\ �degree\ characters\ for\ Celsius/Farenheit
ProcEnviron:
SHELL=/bin/bash
LANG=C
LANGUAGE=ro_RO:en
PythonArgs: ['/usr/bin/bzr', 'commit', '-m', 'Use Unicode \xcbdegree characters for Celsius/Farenheit']
SourcePackage: bzr
Title: bzr crashed with BzrError in get_unicode_argv(): Parameter ''Use Unicode \xcbdegree characters for Celsius/Farenheit'' is unsupported by the current encoding.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
Traceback (most recent call last):
File "/usr/bin/bzr", line 139, in <module>
exit_val = bzrlib.
File "/usr/lib/
argv = _specified_
File "/usr/lib/
return osutils.
File "/usr/lib/
"encoding." % a))
BzrError: Parameter ''Use Unicode \xcbdegree characters for Celsius/Farenheit'' is unsupported by the current encoding.
Related branches
- Martin Pool: Approve
-
Diff: 145 lines (+27/-28)6 files modifiedbzrlib/commands.py (+4/-3)
bzrlib/osutils.py (+2/-2)
bzrlib/tests/blackbox/test_command_encoding.py (+2/-3)
bzrlib/tests/blackbox/test_commit.py (+0/-20)
bzrlib/tests/blackbox/test_exceptions.py (+16/-0)
doc/en/release-notes/bzr-2.4.txt (+3/-0)
tags: | removed: need-duplicate-check |
visibility: | private → public |
description: | updated |
Changed in bzr: | |
milestone: | none → 2.4b2 |
status: | In Progress → Fix Released |
Changed in bzr (Ubuntu): | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
status: | Confirmed → In Progress |
From the look of it that's not utf8, but I agree you should not get a traceback there.
It's a bit like what was done in <https:/ /code.launchpad .net/~jameinel/ bzr/2.1. 0b4-win32- unsupported_ encoding_ commit_ message/ +merge/ 14603> but apparently that's not enough.