You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If remote file contains some unicode characters, utility like mesos-tail fails with:
Traceback (most recent call last):
File "/usr/local/bin/mesos-tail", line 9, in <module>
load_entry_point('mesos.cli==0.1.4', 'console_scripts', 'mesos-tail')()
File "/Library/Python/2.7/site-packages/mesos.cli-0.1.4-py2.7.egg/mesos/cli/cli.py", line 80, in wrapper
return fn(*args, **kwargs)
File "/Library/Python/2.7/site-packages/mesos.cli-0.1.4-py2.7.egg/mesos/cli/log.py", line 44, in timer
return fn(*args, **kwargs)
File "/Library/Python/2.7/site-packages/mesos.cli-0.1.4-py2.7.egg/mesos/cli/cli.py", line 54, in wrapper
return fn(cmd_args, *args, **kwargs)
File "/Library/Python/2.7/site-packages/mesos.cli-0.1.4-py2.7.egg/mesos/cli/cmds/tail.py", line 87, in main
output(last_lines)
File "/Library/Python/2.7/site-packages/mesos.cli-0.1.4-py2.7.egg/mesos/cli/cmds/tail.py", line 85, in output
lines, not args.q, key=fname)
File "/Library/Python/2.7/site-packages/mesos.cli-0.1.4-py2.7.egg/mesos/cli/cli.py", line 130, in output_file
print(line)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 133-136: ordinal not in range(128)
If remote file contains some unicode characters, utility like mesos-tail fails with:
Possible fix is to change this line: https://github.com/mesosphere/mesos-cli/blob/master/mesos/cli/cli.py#L130
to
The text was updated successfully, but these errors were encountered: