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

Bug #776059 reported by Romulo Santos
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Incomplete
Undecided
Unassigned
bzr-explorer (Ubuntu)
New
Medium
Unassigned

Bug Description

Binary package hint: bzr

Error happens when trying to ignore files.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: bzr 2.3.1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
BzrDebugFlags: set()
BzrVersion: 2.3.1
CommandLine: ['/usr/bin/bzr', 'explorer']
CrashDb: bzr
Date: Mon May 2 23:01:32 2011
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
InterpreterPath: /usr/bin/python2.7
Locale: pt_BR.UTF-8
PackageArchitecture: all
Platform: Linux-2.6.38-8-generic-pae-i686-athlon-with-Ubuntu-11.04-natty
ProcCmdline: /usr/bin/python /usr/bin/bzr explorer
ProcEnviron:
 LANGUAGE=pt_BR:en
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
PythonVersion: 2.7.1
SourcePackage: bzr
Title: bzr crashed with UnicodeDecodeError in edit_file(): 'ascii' codec can't decode byte 0xc3 in position 26: ordinal not in range(128)
UpgradeStatus: Upgraded to natty on 2011-04-28 (4 days ago)
UserEncoding: UTF-8
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Romulo Santos (romulobr) wrote :
tags: removed: need-duplicate-check
Jelmer Vernooij (jelmer)
affects: bzr (Ubuntu) → bzr-explorer (Ubuntu)
visibility: private → public
Revision history for this message
Alexander Belchenko (bialix) wrote :

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/explorer/lib/wt_browser.py", line 196, in _do_edit_file
    self._action_callback("edit", unicode(path))
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/explorer/lib/explorer.py", line 1385, in _do_view_action
    self.edit_file(target, edit_callback=self.do_refresh)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/explorer/lib/explorer.py", line 1256, in edit_file
    details = unicode(ex)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 26: ordinal not in range(128)

Revision history for this message
Alexander Belchenko (bialix) wrote :

bash_completion /usr/lib/python2.7/dist-packages/bzrlib/plugins/bash_completion [2.3.1]
  bzrtools /usr/lib/python2.7/dist-packages/bzrlib/plugins/bzrtools [2.3.1]
  explorer /usr/lib/python2.7/dist-packages/bzrlib/plugins/explorer [1.1.2]
  launchpad /usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad [2.3.1]
  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]
  push_and_update /home/romulo/.bazaar/plugins/push_and_update [0.2.0dev]
  qbzr /usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr [0.20.0]

Revision history for this message
Alexander Belchenko (bialix) wrote :

Based on version info you got this with bzr-explorer 1.1.2. Does this problem still exists in the latest explorer release?

Changed in bzr-explorer:
status: New → Incomplete
Changed in bzr-explorer (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Romulo Santos (romulobr) wrote : Re: [Bug 776059] Re: bzr crashed with UnicodeDecodeError in edit_file(): 'ascii' codec can't decode byte 0xc3 in position 26: ordinal not in range(128)

Sorry, I just moved to git.

2012/5/30 Ubuntu Foundation's Bug Bot <email address hidden>

> ** Changed in: bzr-explorer (Ubuntu)
> Importance: Undecided => Medium
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/776059
>
> Title:
> bzr crashed with UnicodeDecodeError in edit_file(): 'ascii' codec
> can't decode byte 0xc3 in position 26: ordinal not in range(128)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/bzr-explorer/+bug/776059/+subscriptions
>

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.