bzr branch produces UnicodeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
The error is produced with the with the command:
bzr branch lp:tko-install-modules-apps/6.1
This is 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/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
source_
File "/usr/lib/
hardlink=
File "/usr/lib/
accelerator
File "/usr/lib/
delta_
File "/usr/lib/
delta_
File "/usr/lib/
precomputed
File "/usr/lib/
modified_paths = self._apply_
File "/usr/lib/
mover.
File "/usr/lib/
os.
UnicodeEncodeError: 'ascii' codec can't encode characters in position 50-51: ordinal not in range(128)
bzr 2.1.4 on python 2.6.5 (Linux-
arguments: ['/usr/bin/bzr', 'branch', 'lp:tko-install-modules-apps/6.1']
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: 'en_GB'
plugins:
etckeeper /usr/lib/
launchpad /usr/lib/
netrc_
news_merge /usr/lib/
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
You're running without an encoding set, LANG should be 'en_GB.utf-8' not just 'en_GB'. Fixing that will resolve the problem for you. Also, upgrading to bzr 2.5 will do the right thing with utf-8 files even where the locale is not set correctly.