$ cat application.yaml | yq .
Traceback (most recent call last):
File "c:\python27\lib\runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "c:\python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Python27\Scripts\yq.exe__main.py", line 9, in
File "c:\python27\lib\site-packages\yq__init__.py", line 150, in main
parser.exit(msg.format(program_name, type(e).name__, e))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 23: ordinal not in range(128)
Thanks for reporting. I'm unable to reproduce this. If you could please supply a file for which this happens and the output of yq --version, I can look into this further.
I took just a simple yaml and got this error:
$ cat application.yaml | yq . Traceback (most recent call last): File "c:\python27\lib\runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "c:\python27\lib\runpy.py", line 72, in _run_code exec code in run_globals File "C:\Python27\Scripts\yq.exe__main.py", line 9, in
File "c:\python27\lib\site-packages\yq__init__.py", line 150, in main
parser.exit(msg.format(program_name, type(e). name__, e))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 23: ordinal not in range(128)