UnicodeEncodeError on unrepresentable filename in cmd_ls.run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
I use Bazaar with redmine, and when i try to open subfolder, i have an error.
The Traceback
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
data, consumed = self.encode(object, self.errors)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 73: ordinal not in range(128)
bzr 1.17 on python 2.5.3 (linux2)
arguments: ['/usr/bin/bzr', 'ls', '-v', '--show-ids', 'http://
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: 'C'
plugins:
bzrtools /usr/lib/
launchpad /usr/lib/
netrc_
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
Your locale is set to C and we can't represent that filename in ascii. We should give a better error for this. But to get it working, you should be able to set LANG=fr_FR@UTF-8 or similar.