-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
I followed the alias guide, but I got an error when running thefuck in PowerShell:
Traceback (most recent call last):
File "d:\python36\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "d:\python36\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\Python36\Scripts\thefuck.exe\__main__.py", line 9, in <module>
File "d:\python36\lib\site-packages\thefuck\entrypoints\main.py", line 26, in main
fix_command(known_args)
File "d:\python36\lib\site-packages\thefuck\entrypoints\fix_command.py", line 36, in fix_command
command = types.Command.from_raw_script(raw_command)
File "d:\python36\lib\site-packages\thefuck\types.py", line 82, in from_raw_script
output = get_output(script, expanded)
File "d:\python36\lib\site-packages\thefuck\output_readers\__init__.py", line 20, in get_output
return rerun.get_output(script, expanded)
File "d:\python36\lib\site-packages\thefuck\output_readers\rerun.py", line 62, in get_output
output = result.stdout.read().decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb2 in position 9: invalid start byte