UnicodeError if Explorer unable open file for editing

Bug #821693 reported by Mariot Tsitoara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Fix Released
Medium
Alexander Belchenko

Bug Description

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

Traceback (most recent call last):
  File "F:/Program Files/Bazaar/plugins\explorer\lib\wt_browser.py", line 196, in _do_edit_file
  File "F:/Program Files/Bazaar/plugins\explorer\lib\explorer.py", line 1418, in _do_view_action
  File "F:/Program Files/Bazaar/plugins\explorer\lib\explorer.py", line 1268, in edit_file
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 23: ordinal not in range(128)

bzr 2.3.4 on python 2.6.6 (win32)
arguments: ['F:\\Program Files\\Bazaar\\bzrw.exe', 'explorer']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools F:\Program Files\Bazaar\plugins\bzrtools [2.3.1]
  colo F:\Program Files\Bazaar\plugins\colo [0.2.1]
  explorer F:\Program Files\Bazaar\plugins\explorer [1.1.4]
  fastimport F:\Program Files\Bazaar\plugins\fastimport [0.10.0]
  launchpad F:\Program Files\Bazaar\plugins\launchpad [2.3.4]
  loom F:\Program Files\Bazaar\plugins\loom [2.2.1dev]
  netrc_credential_store F:\Program Files\Bazaar\plugins\netrc_credential_store [2.3.4]
  news_merge F:\Program Files\Bazaar\plugins\news_merge [2.3.4]
  pipeline F:\Program Files\Bazaar\plugins\pipeline [1.1.0]
  qbzr F:\Program Files\Bazaar\plugins\qbzr [0.20.1]
  rewrite F:\Program Files\Bazaar\plugins\rewrite [0.6.2dev]
  svn F:\Program Files\Bazaar\plugins\svn [1.0.5dev]
  upload F:\Program Files\Bazaar\plugins\upload [1.0.0]
  xmloutput F:\Program Files\Bazaar\plugins\xmloutput [0.8.7.dev]

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

It seems you're trying to edit file with non-ascii filename, or maybe your editor configured to be non-ascii path. Anyway, Bazaar Explorer has failed to inform you that it can't open the required file in your editor for some reason.

Check the settings of your editor.

Changed in bzr-explorer:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Alexander Belchenko (bialix) wrote :

Fix committed to lp:bzr-explorer/1.1 branch. It will be available in the next release.

Changed in bzr-explorer:
status: Confirmed → Fix Released
summary: - File editing in Bazaar crashes
+ UnicodeError if Explorer unable open file for editing
Changed in bzr-explorer:
assignee: nobody → Alexander Belchenko (bialix)
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.