kislyuk / yq

Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
https://kislyuk.github.io/yq/
Apache License 2.0
2.62k stars 84 forks source link

Can't load a standard yaml file #48

Closed rbosse closed 5 years ago

rbosse commented 5 years ago

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)

kislyuk commented 5 years ago

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.

kislyuk commented 5 years ago

Closing due to lack of response.