Comment 17 for bug 172383

Revision history for this message
Shigenobu Hirose (shirose) wrote : Re: [Bug 172383] Re: [master] can't cope with NFD Unicode normalization on Mac OS X

Could you tell us how to apply normalized_unicode_filename.bundle?
Thank you.

On Tue, Apr 5, 2011 at 15:58, Katsumi Honda <email address hidden> wrote:
> I tried normalized_unicode_filename.bundle in Japanese (ja_JP.UTF-8) on Snow Leopard(10.6.7).
> It's fine :)
>
> --
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (684002).
> https://bugs.launchpad.net/bugs/172383
>
> Title:
>  [master] can't cope with NFD Unicode normalization on Mac OS X
>
> Status in Bazaar Version Control System:
>  Confirmed
>
> Bug description:
>  The effect of this bug is that unicode filenames do not work (or at
>  least don't generally work) with bzr on OS X, because the OS changes
>  the unicode representation from what was passed in.
>
>  ----
>
>  OS X 10.5.1 (HFS+, case-sensitive, journaled) / bzr 0.92.0, trying to
>  'bzr add' a folder named "süb" fails. This may be related to
>  https://bugs.launchpad.net/bzr/+bug/102935.
>
>  Example:
>
>  stravinsky:test_bzr nathan$ bzr add süb
>  added "süb"
>  added "süb"
>  bzr: ERROR: exceptions.AttributeError: 'NoneType' object has no attribute 'file_id'
>
>  Traceback (most recent call last):
>    File "/Users/nathan/lib/python/bzrlib/commands.py", line 802, in run_bzr_catch_errors
>      return run_bzr(argv)
>    File "/Users/nathan/lib/python/bzrlib/commands.py", line 758, in run_bzr
>      ret = run(*run_argv)
>    File "/Users/nathan/lib/python/bzrlib/commands.py", line 492, in run_argv_aliases
>      return self.run(**all_cmd_args)
>    File "/Users/nathan/lib/python/bzrlib/builtins.py", line 384, in run
>      no_recurse, action=action, save=not dry_run)
>    File "/Users/nathan/lib/python/bzrlib/mutabletree.py", line 51, in tree_write_locked
>      return unbound(self, *args, **kwargs)
>    File "/Users/nathan/lib/python/bzrlib/mutabletree.py", line 384, in smart_add
>      _add_one(self, inv, parent_ie, directory, kind, action)
>    File "/Users/nathan/lib/python/bzrlib/mutabletree.py", line 526, in _add_one
>      entry = inv.make_entry(kind, path.base_path, parent_ie.file_id,
>  AttributeError: 'NoneType' object has no attribute 'file_id'
>
>  bzr 0.92.0 on python 2.5.1.final.0 (darwin)
>  arguments: ['/Users/nathan/bin/bzr', 'add', 'su\xcc\x88b']
>  encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/bzr/+bug/172383/+subscribe
>