[master] bzr can't handle files with filenames that can't be decoded to unicode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned | ||
bzr (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Bazaar treats file names as Unicode, not as byte strings. If you have files in the working tree whose name is not valid in the filesystem encoding, they cause problems.
----
I try to use bazaar to track changes in a wine directory. i have problems with some folder name when I try to add it.
$ bzr status
added:
drive_
$ bzr ci -m 'try to add Mes vidéos'
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/
reporter=
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
committed_id = Commit().commit( working_tree=self, revprops=revprops,
File "/usr/lib/
self.
File "/usr/lib/
path, self.work_tree)
File "/usr/lib/
ie.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
return os.readlink(
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 61: ordinal not in range(128)
bzr 0.10.0 on python 2.4.4.candidate.0 (linux2)
arguments: ['/usr/
** please send this report to <email address hidden>
$ bzr --version
Bazaar (bzr) 0.10.0
Using python interpreter: /usr/bin/python
Using python standard library: /usr/lib/python2.4
Using bzrlib: /usr/lib/
Copyright 2005, 2006 Canonical Development Ltd.
http://
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
summary: |
- exceptions.UnicodeEncodeError: 'ascii' codec can't encode character + [master] bzr can't handle files with filenames that can't be decoded to + unicode |
description: | updated |
tags: | added: unicode |
tags: | added: duplicate-master |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Could you please tell me what the 'locale' command shows or what your $LANG environment variable is set to? I think you're set to an ASCII locale where these characters aren't supported.
With LANG=en_AU.UTF-8 this works for me.