bzr crash on 'bzr st' (unicode problem?)

Bug #526263 reported by naph on 2010-02-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Undecided
Unassigned

Bug Description

Just running bzr st in my branch, no strange setup I can think of...

# bzr st
bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 58: ordinal not in range(128)

Traceback (most recent call last):
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/commands.py", line 853, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/commands.py", line 1055, in run_bzr
    ret = run(*run_argv)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/commands.py", line 661, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/commands.py", line 665, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/cleanup.py", line 121, in run_simple
    return _do_with_cleanups(
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/cleanup.py", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/commands.py", line 1070, in ignore_pipe
    result = func(*args, **kwargs)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/builtins.py", line 326, in run
    show_pending=(not no_pending), verbose=verbose)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/status.py", line 118, in show_tree_status
    want_unversioned=want_unversioned)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/tree.py", line 95, in changes_from
    want_unversioned=want_unversioned,
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/decorators.py", line 140, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/tree.py", line 998, in compare
    want_unversioned=want_unversioned)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/delta.py", line 230, in _compare_trees
    want_unversioned=want_unversioned):
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/dirstate.py", line 3847, in iter_changes
    current_dir_info = dir_iterator.next()
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/osutils.py", line 1671, in _walkdirs_utf8
    dirblock = sorted(read_dir(relroot, top))
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/osutils.py", line 1717, in read_dir
    for name in sorted(_listdir(top)):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 58: ordinal not in range(128)

bzr 2.1.0 on python 2.4.3 (Linux-2.6.18-164.6.1.el5PAE-i686-with-glibc2.0)
arguments: ['/home/rodnaph/apps/bzr/bzr', 'st']
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
plugins:
  launchpad /home/rodnaph/apps/bzr-2.1.0/bzrlib/plugins/launchpad [2.1.0]
  netrc_credential_store /home/rodnaph/apps/bzr-2.1.0/bzrlib/plugins/netrc_credential_store [2.1.0]
  news_merge /home/rodnaph/apps/bzr-2.1.0/bzrlib/plugins/news_merge [2.1.0]

*** 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://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.
bzr: warning: some compiled extensions could not be loaded; see <https://answers.launchpad.net/bzr/+faq/703>
r

This probably means you have a non-ascii filename in your working tree
or in its parents, and your machine is configured to expect filenames
to be in ascii.

--
Martin <http://launchpad.net/~mbp/>

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers