gorilla icon indicating copy to clipboard operation
gorilla copied to clipboard

[bug] Hosted Gorilla: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 9: invalid start byte

Open giuliastro opened this issue 1 year ago • 4 comments

Hello, I get this error when launching Gorilla on a Windows 10 PC:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 9: invalid start byte

It seems like the output works though. Thank you.

giuliastro avatar Aug 07 '23 16:08 giuliastro

Thanks for your kind words, and thanks for flagging this @giuliastro Is this through WSL, or through a powershell, or a different modality?

ShishirPatil avatar Aug 08 '23 09:08 ShishirPatil

Thank you for the great work you are doing. This happens when using w10 cmd shell and powershell.

Thank you in advance.

giuliastro avatar Aug 08 '23 09:08 giuliastro

Ah gotcha. I think the latest PR fixes it. A reinstall from main should fix it!

rm ~/.gorilla-cli-* && pip uninstall gorilla-cli
git clone https://github.com/gorilla-llm/gorilla-cli.git
cd gorilla-cli
pip install -e .

ShishirPatil avatar Aug 08 '23 09:08 ShishirPatil

Thank you. I uninstalled gorilla and cleaned the packages like you suggested. Cloned the repository as you suggested and installed with pip. Unfortunately the error still comes out:

Traceback (most recent call last): File "C:\Users\Giulio\AppData\Local\Programs\Python\Python310\Scripts\gorilla-script.py", line 33, in <module> sys.exit(load_entry_point('gorilla-cli', 'console_scripts', 'gorilla')()) File "d:\software\gorilla-cli\go_cli.py", line 159, in main exit_condition = execute_command(selected_command) File "d:\software\gorilla-cli\go_cli.py", line 124, in execute_command error_msg = process.stderr.decode("utf-8") UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 11: invalid start byte

giuliastro avatar Aug 08 '23 09:08 giuliastro