Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decode error when launching editor with wrong editor settings #298

Closed
Vdragon opened this issue Jun 11, 2014 · 0 comments
Closed

Decode error when launching editor with wrong editor settings #298

Vdragon opened this issue Jun 11, 2014 · 0 comments

Comments

@Vdragon
Copy link
Contributor

Vdragon commented Jun 11, 2014

Reproduce steps

  1. set a not exist text editor
  2. LANGUAGE=zh_TW git cola in a Git repository
  3. make some changes in the working tree
  4. press 'Enter' in the Diff panel textbox

Traceback

Traceback (most recent call last):

  File "/usr/local/share/git-cola/lib/cola/cmds.py", line 1321, in do_cmd
    return cmd.do()

  File "/usr/local/share/git-cola/lib/cola/cmds.py", line 544, in do
    Interaction.critical(N_('Error Editing File'), message, ustr(e))

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 10: ordinal not in range(128)

Environment

git-cola

commit 9431eb8

@davvid davvid closed this as completed in c3f6658 Jun 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant