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

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

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/", line 853, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/", line 1055, in run_bzr
    ret = run(*run_argv)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/", line 661, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/", line 665, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/", line 121, in run_simple
    return _do_with_cleanups(
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/", line 1070, in ignore_pipe
    result = func(*args, **kwargs)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/", line 326, in run
    show_pending=(not no_pending), verbose=verbose)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/", line 118, in show_tree_status
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/", line 95, in changes_from
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/", line 140, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/", line 998, in compare
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/", line 230, in _compare_trees
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/", line 3847, in iter_changes
    current_dir_info =
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/", line 1671, in _walkdirs_utf8
    dirblock = sorted(read_dir(relroot, top))
  File "/home/rodnaph/apps/bzr-2.1.0/bzrlib/", 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
  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
    including this traceback and a description of the problem.
bzr: warning: some compiled extensions could not be loaded; see <>

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 <>

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

Other bug subscribers