bzr crashed with UnicodeDecodeError in _execute_child(): 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)

Bug #783469 reported by achu on 2011-05-16
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Undecided
Unassigned
bzr-explorer (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: bzr

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

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/explorer/lib/explorer.py", line 1859, in do_bookmarks_edit_my
    edit_callback=self.do_bookmarks_refresh)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/explorer/lib/explorer.py", line 1250, in edit_file
    self.run_app(split_command_options(editor) + [path])
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/explorer/lib/explorer.py", line 1106, in run_app
    self._app_runner.run_app(args, success_callback, use_shell=use_shell)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/explorer/lib/app_runner.py", line 86, in run_app
    subprocess.Popen(args, shell=use_shell)
  File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1213, in _execute_child
    raise child_exception
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)

bzr 2.3.1 on python 2.7.1 (linux2)
arguments: ['/usr/bin/bzr', 'explorer']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bash_completion /usr/lib/python2.7/dist-packages/bzrlib/plugins/bash_completion [2.3.1]
  builddeb /usr/lib/python2.7/dist-packages/bzrlib/plugins/builddeb [2.7.0dev]
  builder /usr/lib/python2.7/dist-packages/bzrlib/plugins/builder [unknown]
  bzrtools /usr/lib/python2.7/dist-packages/bzrlib/plugins/bzrtools [2.3.1]
  cvsps_import /usr/lib/python2.7/dist-packages/bzrlib/plugins/cvsps_import [unknown]
  dbus /usr/lib/python2.7/dist-packages/bzrlib/plugins/dbus [0.1.0dev]
  difftools /home/gtzuser/.bazaar/plugins/difftools [unknown]
  email /usr/lib/python2.7/dist-packages/bzrlib/plugins/email [unknown]
  explorer /usr/lib/python2.7/dist-packages/bzrlib/plugins/explorer [1.1.2]
  fastimport /usr/lib/python2.7/dist-packages/bzrlib/plugins/fastimport [0.11.0dev]
  git /usr/lib/python2.7/dist-packages/bzrlib/plugins/git [0.6.0]
  grep /usr/lib/python2.7/dist-packages/bzrlib/plugins/grep [0.4.0]
  gtk /usr/lib/python2.7/dist-packages/bzrlib/plugins/gtk [0.100.0]
  hg /usr/lib/python2.7/dist-packages/bzrlib/plugins/hg [0.2.0dev]
  launchpad /usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad [2.3.1]
  loom /usr/lib/python2.7/dist-packages/bzrlib/plugins/loom [2.2.1dev]
  netrc_credential_store /usr/lib/python2.7/dist-packages/bzrlib/plugins/netrc_credential_store [2.3.1]
  news_merge /usr/lib/python2.7/dist-packages/bzrlib/plugins/news_merge [2.3.1]
  pipeline /usr/lib/python2.7/dist-packages/bzrlib/plugins/pipeline [1.1.0]
  pqm /usr/lib/python2.7/dist-packages/bzrlib/plugins/pqm [1.4.0dev]
  qbzr /usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr [0.20.1]
  rewrite /usr/lib/python2.7/dist-packages/bzrlib/plugins/rewrite [0.6.2]
  search /usr/lib/python2.7/dist-packages/bzrlib/plugins/search [1.7.0dev]
  stats /usr/lib/python2.7/dist-packages/bzrlib/plugins/stats [0.1.0]
  svn /usr/lib/python2.7/dist-packages/bzrlib/plugins/svn [1.0.5dev]
  upload /usr/lib/python2.7/dist-packages/bzrlib/plugins/upload [1.0.1dev]
  xmloutput /usr/lib/python2.7/dist-packages/bzrlib/plugins/xmloutput [0.8.7]

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: bzr 2.3.1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Uname: Linux 2.6.38-9-generic x86_64
Architecture: amd64
BzrDebugFlags: set()
BzrVersion: 2.3.1
CommandLine: ['/usr/bin/bzr', 'explorer']
CrashDb: bzr
Date: Mon May 16 16:12:00 2011
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
InterpreterPath: /usr/bin/python2.7
Locale: en_US.UTF-8
PackageArchitecture: all
Platform: Linux-2.6.38-9-generic-x86_64-with-Ubuntu-11.04-natty
ProcCmdline: /usr/bin/python /usr/bin/bzr explorer
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonVersion: 2.7.1
SourcePackage: bzr
Title: bzr crashed with UnicodeDecodeError in _execute_child(): 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)
UpgradeStatus: Upgraded to natty on 2011-05-09 (7 days ago)
UserEncoding: UTF-8
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev sambashare tape video

achu (achumesfin) wrote :
tags: removed: need-duplicate-check
Jelmer Vernooij (jelmer) on 2011-06-16
visibility: private → public
affects: bzr (Ubuntu) → bzr-explorer (Ubuntu)
Alexander Belchenko (bialix) wrote :

Based on traceback I think you got this problem while trying to open bookmarks file in your editor. For some reason your Ubuntu crashes with unicode error, maybe because some paths has non-ascii characters? maybe that was your home directory? Anyway there is nothing obviously wrong in bzr-explorer itself.

Changed in bzr-explorer:
status: New → Invalid
Changed in bzr-explorer (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers