[Bug 686161] Re: conflicts involving unicode paths can't be displayed

Jelmer Vernooij 686161 at bugs.launchpad.net
Thu Jun 16 22:59:44 UTC 2011


** Changed in: bzr (Ubuntu)
       Status: Triaged => In Progress

** Changed in: bzr (Ubuntu)
     Assignee: (unassigned) => Jelmer Vernooij (jelmer)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/686161

Title:
  conflicts involving unicode paths can't be displayed

Status in Bazaar Version Control System:
  Fix Released
Status in “bzr” package in Ubuntu:
  In Progress

Bug description:
  Binary package hint: bzr

  1) Have added file with Russian letters in filename
  2) Removed that file in working copy under Windows environment. Committed changes
  3) Updated to latest version in Linux env
  4) Got message about conflicts
  5) Typed "bzr conficts" to see conflicted files. 
  6) Crash

  I'm not 100% sure, but there are changes in file with Russian file in
  Linux working copy. So, I think conflicted file was file with Russian
  filename

  ProblemType: Crash
  DistroRelease: Ubuntu 10.10
  Package: bzr 2.2.1-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.35-23.41-generic 2.6.35.7
  Uname: Linux 2.6.35-23-generic x86_64
  Architecture: amd64
  BzrDebugFlags: set()
  BzrVersion: 2.2.1
  CheckboxSubmission: 272fa71ee0096ff4d4382780d250f425
  CheckboxSystem: 2954e74ba17fb0e37fc942cd1d9fab4e
  CommandLine: ['/usr/bin/bzr', 'conflicts']
  CrashDb: bzr
  Date: Mon Dec  6 22:37:46 2010
  ExecutablePath: /usr/bin/bzr
  FileSystemEncoding: UTF-8
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  InterpreterPath: /usr/bin/python2.6
  Locale: ru_RU.utf8
  Platform: Linux-2.6.35-23-generic-x86_64-with-Ubuntu-10.10-maverick
  ProcCmdline: /usr/bin/python /usr/bin/bzr conflicts
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=ru_RU.utf8
  PythonVersion: 2.6.6
  SourcePackage: bzr
  Title: bzr crashed with UnicodeEncodeError in run()
  UserEncoding: UTF-8
  UserGroups: adm admin audio cdrom dialout lpadmin netdev plugdev sambashare video

  Traceback (most recent call last):
    File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 912, in exception_to_return_code
      return the_callable(*args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1112, in run_bzr
      ret = run(*run_argv)
    File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 690, in run_argv_aliases
      return self.run(**all_cmd_args)
    File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 705, in run
      return self._operation.run_simple(*args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
      self.cleanups, self.func, *args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
      result = func(*args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/conflicts.py", line 76, in run
      self.outf.write(str(conflict) + '\n')
  UnicodeEncodeError: 'ascii' codec can't encode characters in position 25-30: ordinal not in range(128)

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/686161/+subscriptions




More information about the foundations-bugs mailing list