thefuck: Can't use with out of range(128) characters

I was using a branch with in the name. When I git push I correct it so that it’ll push with the git suggested prompt. It doesn’t work.

Traceback (most recent call last):
  File "/usr/local/Cellar/thefuck/3.1/libexec/bin/thefuck", line 9, in <module>
    load_entry_point('thefuck==3.1', 'console_scripts', 'thefuck')()
  File "/usr/local/Cellar/thefuck/3.1/libexec/lib/python2.7/site-packages/thefuck/main.py", line 77, in main
    fix_command()
  File "/usr/local/Cellar/thefuck/3.1/libexec/lib/python2.7/site-packages/thefuck/main.py", line 28, in fix_command
    selected_command = select_command(corrected_commands)
  File "/usr/local/Cellar/thefuck/3.1/libexec/lib/python2.7/site-packages/thefuck/ui.py", line 106, in select_command
    logs.confirm_text(selector.value)
  File "/usr/local/Cellar/thefuck/3.1/libexec/lib/python2.7/site-packages/thefuck/logs.py", line 61, in confirm_text
    blue=color(colorama.Fore.BLUE)))
UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in position 36: ordinal not in range(128)

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 20 (10 by maintainers)

Commits related to this issue

Most upvoted comments

@scorphus works nice now.