We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
tc_wrap.py is using Popen to execute instructions and the output is in bytes, as no encoding being defined in the argument to Popen.
As the output is in bytes, the regex and split on bytes will fail, this requires the output must be decoded before consumption.
https://github.com/Mellanox/mlnx-tools/blob/mlnx_ofed/python/tc_wrap.py#L153
https://github.com/Mellanox/mlnx-tools/blob/mlnx_ofed/python/tc_wrap.py#L56
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
tc_wrap.py is using Popen to execute instructions and the output is in bytes, as no encoding being defined in the argument to Popen.
As the output is in bytes, the regex and split on bytes will fail, this requires the output must be decoded before consumption.
https://github.com/Mellanox/mlnx-tools/blob/mlnx_ofed/python/tc_wrap.py#L153
https://github.com/Mellanox/mlnx-tools/blob/mlnx_ofed/python/tc_wrap.py#L56
The text was updated successfully, but these errors were encountered: