Comment 3 for bug 429911

Revision history for this message
poulanker (pae) wrote : SV: [Bug 429911] Re: BZR > Explorer > UnicodeDecodeError

Good point ;-)

Actually the editor was not configured (the field was left blank).
This also had the effect that clicking "Settings,Locations" or "Settings,Credentials" produced the same error.
As soon as I entered e.g. Notepad.exe as the editor, the problem disappeared.
May I suggest that you as default open e.g. Notepad, should the user have forgotten to configure an editor?

BTW I think bzr explorer is a great app :-)

Best regards

Poul Anker Ersly

________________________________________
Fra: <email address hidden> [<email address hidden>] P&#229; vegne af Ian Clatworthy [<email address hidden>]
Sendt: 16. september 2009 04:11
Til: Poul Anker Ersly
Emne: [Bug 429911] Re: BZR > Explorer > UnicodeDecodeError

What's the path to your configured editor?

** Changed in: bzr-explorer
   Importance: Undecided => High

--
BZR > Explorer > UnicodeDecodeError
https://bugs.launchpad.net/bugs/429911
You received this bug notification because you are a direct subscriber
of the bug.

Status in Bazaar Explorer: New

Bug description:
clicking on a file in the left window of bzr explorer produces an exception (see traceback below).
clicking on a directory does not produce the error.

Regards
Poul Anker Ersly

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

Traceback (most recent call last):
  File "C:/Programmer/Bazaar/plugins\explorer\lib\html_report_view.py", line 48, in do_link_action
  File "C:/Programmer/Bazaar/plugins\explorer\lib\explorer.py", line 1046, in _do_view_action
  File "C:/Programmer/Bazaar/plugins\explorer\lib\explorer.py", line 979, in edit_file
  File "C:/Programmer/Bazaar/plugins\explorer\lib\explorer.py", line 98, in split_command_options
  File "bzrlib\commands.pyo", line 882, in shlex_split_unicode
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf8 in position 31: ordinal not in range(128)

bzr 1.18.1 on python 2.5.4 (win32)
arguments: ['bzr', 'explorer']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Programmer\Bazaar\plugins\bzrtools [1.18]
  explorer C:\Programmer\Bazaar\plugins\explorer [0.8]
  launchpad C:\Programmer\Bazaar\plugins\launchpad [1.18.1]
  netrc_credential_store C:\Programmer\Bazaar\plugins\netrc_credential_store [1.18.1]
  qbzr C:\Programmer\Bazaar\plugins\qbzr [0.14.1]
  rebase C:\Programmer\Bazaar\plugins\rebase [0.5.3]
  svn C:\Programmer\Bazaar\plugins\svn [0.6.5]