[Bug 930919] Re: UnicodeEncodeError from `bzr help` when localisation is enabled

Martin Packman martin.packman at canonical.com
Mon Mar 12 18:09:01 UTC 2012


** Changed in: bzr
    Milestone: 2.5.1 => 2.6b1

** Also affects: bzr/2.5
   Importance: Undecided
       Status: New

** Changed in: bzr/2.5
   Importance: Undecided => High

** Changed in: bzr/2.5
       Status: New => Fix Released

** Changed in: bzr/2.5
    Milestone: None => 2.5.1

** Changed in: bzr/2.5
     Assignee: (unassigned) => Martin Packman (gz)

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

Title:
  UnicodeEncodeError from `bzr help` when localisation is enabled

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

Bug description:
  Bzr crashed when I ran "bzr help push".

  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 919, in exception_to_return_code
      return the_callable(*args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1124, in run_bzr
      ret = run(*run_argv)
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 672, in run_argv_aliases
      return self.run(**all_cmd_args)
    File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 694, 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/commands.py", line 1141, in ignore_pipe
      result = func(*args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 4725, in run
      bzrlib.help.help(topic)
    File "/usr/lib/python2.7/dist-packages/bzrlib/help.py", line 53, in help
      outfile.write(source.get_help_text(shadowed_terms))
  UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-9: ordinal not in range(128)

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: bzr 2.5.0~beta5-3ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-15.24-generic 3.2.5
  Uname: Linux 3.2.0-15-generic i686
  ApportVersion: 1.91-0ubuntu1
  Architecture: i386
  BzrDebugFlags: set()
  BzrVersion: 2.5b5
  CommandLine: ['/usr/bin/bzr', 'help', 'push']
  CrashDb: bzr
  Date: Sun Feb 12 14:40:47 2012
  ExecutablePath: /usr/bin/bzr
  FileSystemEncoding: UTF-8
  InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
  InterpreterPath: /usr/bin/python2.7
  Locale: ru_RU.UTF-8
  PackageArchitecture: all
  Platform: Linux-3.2.0-15-generic-i686-with-Ubuntu-12.04-precise
  ProcCmdline: /usr/bin/python /usr/bin/bzr help push
  PythonVersion: 2.7.2
  SourcePackage: bzr
  Title: bzr crashed with UnicodeEncodeError in help(): 'ascii' codec can't encode characters in position 0-9: ordinal not in range(128)
  UpgradeStatus: Upgraded to precise on 2012-02-10 (1 days ago)
  UserEncoding: utf-8
  UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev nopasswdlogin plugdev sambashare tape video

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




More information about the foundations-bugs mailing list