traceback running merge involving non-ascii filenames with ascii locale set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
traceback
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
possible_
File "/usr/lib/
return self._update_
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
change_
File "/usr/lib/
return merger.do_merge()
File "/usr/lib/
self.
File "/usr/lib/
merge.
File "/usr/lib/
self.
File "/usr/lib/
file_status = self.merge_
File "/usr/lib/
self.
File "/usr/lib/
tt.
File "/usr/lib/
f = open(name, 'wb')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 54-62: ordinal not in range(128)
bzr 1.7 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'update']
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
plugins:
bzrtools /usr/lib/
*** 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.
Changed in bzr: | |
importance: | Undecided → Low |
status: | New → Triaged |
summary: |
- bzr v1.7.0 crashes on 'bzr update' + traceback running merge involving non-ascii filenames with ascii locale + set |
Changed in bzr: | |
status: | Triaged → Confirmed |
tags: | added: encoding merge |
tags: | added: check-for-breezy |
Your system is telling us that paths are encoded in "ASCII", but you are trying to checkout a file which is not ASCII.
Probably it is just a configuration issue. I don't know your preferred language, but doing something like:
export LANG=en_US.UTF-8
bzr update
will cause it to work. As that tells us that things are actually encoded in UTF-8, and thus we can handle non-ascii characters.