[Pkg-bazaar-maint] Bug#741335: bzr: " 'latin-1' codec can't encode characters" on branch command

Mike Dupont jamesmikedupont at googlemail.com
Tue Mar 11 11:34:24 UTC 2014


Subject: bzr: " 'latin-1' codec can't encode characters" on branch command
Package: bzr
Version: 2.6.0+bzr6591-1
Severity: important

 bzr branch lp:a11ytesting
bzr: ERROR: exceptions.UnicodeEncodeError: 'latin-1' codec can't encode
characters in position 90-95: ordinal not in range(256)

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in
exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in
run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in
run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in
run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in
run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in
_do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 1507, in
run
    source_branch=br_from)
  File "/usr/lib/python2.7/dist-packages/bzrlib/bzrdir.py", line 367, in
sprout
    create_tree_if_local=create_tree_if_local)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 132, in
run
    self.cleanups, self.func, self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in
_do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/bzrdir.py", line 435, in
_sprout
    hardlink=hardlink, from_branch=result_branch)
  File "/usr/lib/python2.7/dist-packages/bzrlib/bzrdir.py", line 907, in
create_workingtree
    accelerator_tree=accelerator_tree, hardlink=hardlink)
  File "/usr/lib/python2.7/dist-packages/bzrlib/workingtree_4.py", line
1565, in initialize
    delta_from_tree=delta_from_tree)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transform.py", line 2543,
in build_tree
    delta_from_tree)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transform.py", line 2661,
in _build_tree
    tt.finalize()
  File "/usr/lib/python2.7/dist-packages/bzrlib/transform.py", line 1214,
in finalize
    delete_any(path)
  File "/usr/lib/python2.7/dist-packages/bzrlib/osutils.py", line 1156, in
delete_any
    _delete_file_or_dir(path)
  File "/usr/lib/python2.7/dist-packages/bzrlib/osutils.py", line 1175, in
_delete_file_or_dir
    if isdir(path): # Takes care of symlinks
  File "/usr/lib/python2.7/dist-packages/bzrlib/osutils.py", line 621, in
isdir
    return stat.S_ISDIR(os.lstat(f)[stat.ST_MODE])
UnicodeEncodeError: 'latin-1' codec can't encode characters in position
90-95: ordinal not in range(256)

bzr 2.7.0dev1 on python 2.7.6 (Linux-3.10-1-amd64-x86_64-with-
    LinuxMint-10-julia)
arguments: ['/usr/bin/bzr', 'branch', 'lp:a11ytesting']
plugins: bash_completion[2.7.0dev1], changelog_merge[2.7.0dev1],
    grep[2.7.0dev1], launchpad[2.7.0dev1],
netrc_credential_store[2.7.0dev1],
    news_merge[2.7.0dev1], po_merge[2.7.0dev1], weave_fmt[2.7.0dev1]
encoding: 'iso8859-1', fsenc: 'ISO-8859-1', lang: 'en_US'

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

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages bzr depends on:
ii  python-bzrlib  2.6.0+bzr6591-1
pn  python:any     <none>

Versions of packages bzr recommends:
ii  python-gpgme  0.2-3

Versions of packages bzr suggests:
pn  bzr-doc              <none>
pn  bzr-svn              <none>
pn  bzrtools             <none>
pn  python-bzrlib.tests  <none>

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-bazaar-maint/attachments/20140311/cf7eaa11/attachment.html>


More information about the Pkg-bazaar-maint mailing list