UnicodeDecodeError in _inaccessible_normalized_filename
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Bazaar Git Plugin |
Fix Released
|
Medium
|
Jelmer Vernooij | ||
Breezy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/local/
return the_callable(*args, **kwargs)
File "/usr/local/
ret = run(*run_argv)
File "/usr/local/
return self.run(
File "/usr/local/
source_
File "/usr/local/
hardlink=
File "/usr/local/
accelerator
File "/usr/local/
basis = accelerator_
File "/usr/local/
if revision_id == self.last_
File "/usr/local/
return self._last_
File "/usr/local/
self.
File "/usr/local/
self.
File "/root/
self.
File "/root/
ie = self.add_path(path, kind, file_id, self.add_
File "/usr/local/
ie = make_entry(kind, parts[-1], parent_id, file_id)
File "/usr/local/
name = ensure_
File "/usr/local/
norm_name, can_access = osutils.
File "/usr/local/
normalized = unicodedata.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 25: ordinal not in range(128)
Related branches
summary: |
bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 25: ordinal not in range(128) - Traceback (most recent call last): File - "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line 729, - in exception_to_return_code return the_callable(*args, **kwargs) - File "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line - 924, in run_bzr ret = run(*run_argv) File - "/usr/local/lib/python2.6/site-packages/bzrlib/commands.py", line 560, - in run_argv_aliases return self.run(**all_cmd_args) File - "/usr/local/lib/python2.6/site-packages/bzrlib/builtins.py", line 1143, - in run source_branch=br_from) File "/usr/local/lib/python2.6/site- - packages/bzrlib/bzrdir.py", line 1195, in sprout hardlink=hardlink) - File "/usr/local/lib/python2.6/site-packages/bzrlib/bzrdir.py", line - 1599, in create_workingtree accelerator_tree=accelerator_tree, - hardlink=hardlink) File "/usr/local/lib/python2.6/site- - packages/bzrlib/workingtree_4.py", line 1418, in initialize basis = - accelerator_tree.revision_tree(revision_id) File - "/usr/local/lib/python2.6/site-packages/bzrlib/workingtree.py", line - 2054, in revision_tree if revision_id == self.last_revision(): - File "/usr/local/lib/python2.6/site-packages/bzrlib/workingtree.py", - line 1751, in last_revision return self._last_revision() File - "/usr/local/lib/python2.6/site-packages/bzrlib/decorators.py", line 136, - in read_locked self.lock_read() File - "/usr/local/lib/python2.6/site-packages/bzrlib/workingtree.py", line - 1768, in lock_read self._reset_data() File - "/root/.bazaar/plugins/git/workingtree.py", line 161, in _reset_data - self.repository._git.object_store) File - "/root/.bazaar/plugins/git/inventory.py", line 283, in __init__ ie = - self.add_path(path, kind, file_id, self.add_parents(path)) File - "/usr/local/lib/python2.6/site-packages/bzrlib/inventory.py", line 1288, - in add_path ie = make_entry(kind, parts[-1], parent_id, file_id) - File "/usr/local/lib/python2.6/site-packages/bzrlib/inventory.py", line - 2004, in make_entry name = ensure_normalized_name(name) File - "/usr/local/lib/python2.6/site-packages/bzrlib/inventory.py", line 2023, - in ensure_normalized_name norm_name, can_access = - osutils.normalized_filename(name) File "/usr/local/lib/python2.6/site- - packages/bzrlib/osutils.py", line 1185, in - _inaccessible_normalized_filename normalized = - unicodedata.normalize('NFC', unicode(path)) UnicodeDecodeError: 'ascii' - codec can't decode byte 0xc3 in position 25: ordinal not in range(128) |
summary: |
- bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode - byte 0xc3 in position 25: ordinal not in range(128) + UnicodeDecodeError in _inaccessible_normalized_filename |
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: unicode |
Changed in bzr-git: | |
status: | New → Fix Released |
importance: | Undecided → Medium |
assignee: | nobody → Jelmer Vernooij (jelmer) |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Fix Released |
importance: | Undecided → Medium |
milestone: | none → 3.0.0 |
Can someone who has hit this give steps to reproduce? I am presuming this is related to bzr-git and non-ascii filenames, but trying some things out got bug 587074 rather than this one. I could fix the _inaccessible_ normalized_ filename function, but don't want to fiddle without knowing the root cause.