Harish
10/28/2021, 10:20 PMFile "/home/prefect_user/venv/lib/python3.6/site-packages/prefect/cli/build_register.py", line 495, in build_and_register
click.echo(f" \u2514\u2500\u2500 ID: {flow_id}")
File "/home/prefect_user/venv/lib/python3.6/site-packages/click/utils.py", line 272, in echo
file.write(message)
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 2-4: ordinal not in range(256)
Hi, when I do a register I get this weird error but it registers and all works fine. I'm on python 3.6.9. Has anyone encountered this before?Kevin Kho
Jake Kaplan
10/28/2021, 10:35 PMJake Kaplan
10/28/2021, 10:36 PM└──
is not valid for latin-1 encoding, which Kevin mentioned might have to do with your settingsHarish
10/28/2021, 10:36 PMHarish
10/28/2021, 10:37 PMHarish
10/28/2021, 10:38 PMJake Kaplan
10/28/2021, 10:40 PMimport sys
sys.getdefaultencoding()
Harish
10/28/2021, 10:47 PM>> import sys
>> sys.getdefaultencoding()'utf-8'
Harish
10/28/2021, 10:48 PMHarish
10/28/2021, 10:50 PMJake Kaplan
10/29/2021, 12:03 AM