-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reading log from stdin hits error on str.decode() in Python 3 #658
Comments
@twblamer Thanks for the bug report! Do you have the same issue piping output to Does this occur with all log files? Would you be able to provide a sample snippet of log file to test with? Thanks, |
It happens with I think it happens with any log file. You can use |
@twblamer Are you still experiencing this issue or were you able to find a solution? I wasn't able to trivially reproduce this with Python 3.6 and there haven't been any subsequent bug reports. If you are still interested in helping investigate, can you provide the output of:
Thanks, |
@stennie, I tried on a fresh install of mtools from pip and I still see the same issue. This is using the python3 package in Fedora 28.
|
Expected behavior
According to the docs and code,
mlogvis
is designed to read from stdin. However, doing so seems to hit code inlogfile.py
that works in Python 2, but fails in Python 3.Actual/current behavior
Steps to reproduce the actual/current behavior
Environment
The text was updated successfully, but these errors were encountered: