error when printing error messages with utf8 chars (LANG=pt_PT.utf8)

Bug #567584 reported by João Pinto
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
High
Unassigned
bzr (Ubuntu)
Triaged
High
Unassigned

Bug Description

Binary package hint: bzr

bzr is unable to print the translated error messages containing utf8 encoded chars:

bzr: ERROR: Unprintable exception LockContention: dict={'msg': IOError(11, 'Recurso indispon\xc3\xadvel temporariamente'), 'lock': u'/home/janito/workspace/debfactory/.bzr/checkout/dirstate'}, fmt='Could not acquire lock "%(lock)s": %(msg)s', error=UnicodeDecodeError('ascii', '[Errno 11] Recurso indispon\xc3\xadvel temporariamente', 27, 28, 'ordinal not in range(128)')

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: bzr 2.1.1-1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Tue Apr 20 23:47:27 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 LANGUAGE=pt:pt_BR:en
 PATH=(custom, user)
 LANG=pt_PT.utf8
 SHELL=/bin/bash
SourcePackage: bzr

Revision history for this message
João Pinto (joaopinto) wrote :
Andrew Bennetts (spiv)
Changed in bzr:
importance: Undecided → High
status: New → Confirmed
summary: - error when printing error messages with utf8 chars
+ error when printing error messages with utf8 chars (LANG=pt_PT.utf8)
tags: added: locale
Jelmer Vernooij (jelmer)
Changed in bzr (Ubuntu):
status: New → Confirmed
Revision history for this message
Florian Dorn (florian-dorn) wrote :

If you are using bzr in a terminal, you can run
  export LANG=C
as a workaround.

Jelmer Vernooij (jelmer)
Changed in bzr (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
Jelmer Vernooij (jelmer)
tags: added: terminal-encoding
Revision history for this message
Martin Packman (gz) wrote :

Coalescing related bugs into one for fixing.

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.