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
- #398: Fix UnicodeDecodeError in logs — committed to nvbn/thefuck by nvbn 9 years ago
- #398: Fix UnicodeDecodeError in logs — committed to nvbn/thefuck by nvbn 9 years ago
- #398: Add `PYTHONIOENCODING=utf-8` to shell aliases — committed to nvbn/thefuck by nvbn 9 years ago
- #398 & #408: Support non-ascii IO in Python 2 — committed to scorphus/thefuck by scorphus 9 years ago
- #398: Add `PYTHONIOENCODING=utf-8` to Fish Shell alias — committed to scorphus/thefuck by scorphus 9 years ago
- #398: Test `PYTHONIOENCODING=utf-8` in shell aliases — committed to scorphus/thefuck by scorphus 9 years ago
- #398: Fix UnicodeDecodeError in logs — committed to amtrivedi91/thefuck by amtrivedi91 9 years ago
- #398: Fix UnicodeDecodeError in logs — committed to amtrivedi91/thefuck by amtrivedi91 9 years ago
- #398: Add `PYTHONIOENCODING=utf-8` to shell aliases — committed to amtrivedi91/thefuck by amtrivedi91 9 years ago
- #398 & #408: Support non-ascii IO in Python 2 — committed to amtrivedi91/thefuck by amtrivedi91 9 years ago
- #398: Add `PYTHONIOENCODING=utf-8` to Fish Shell alias — committed to amtrivedi91/thefuck by amtrivedi91 9 years ago
- #398: Test `PYTHONIOENCODING=utf-8` in shell aliases — committed to amtrivedi91/thefuck by amtrivedi91 9 years ago
- #398: Fix UnicodeDecodeError in logs — committed to amtrivedi91/thefuck by amtrivedi91 8 years ago
- #398: Fix UnicodeDecodeError in logs — committed to amtrivedi91/thefuck by amtrivedi91 8 years ago
- #398 & #408: Support non-ascii IO in Python 2 — committed to amtrivedi91/thefuck by amtrivedi91 8 years ago
- #398: Add `PYTHONIOENCODING=utf-8` to Fish Shell alias — committed to amtrivedi91/thefuck by amtrivedi91 8 years ago
- #398: Add `PYTHONIOENCODING=utf-8` to shell aliases — committed to amtrivedi91/thefuck by amtrivedi91 8 years ago
- #398: Test `PYTHONIOENCODING=utf-8` in shell aliases — committed to amtrivedi91/thefuck by amtrivedi91 8 years ago
- #398: Fix UnicodeDecodeError in logs — committed to riley-martine/thefuck by nvbn 9 years ago
- #398: Fix UnicodeDecodeError in logs — committed to riley-martine/thefuck by nvbn 9 years ago
@scorphus works nice now.