Skip to content
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

Exception when running memtier_benchmark #13

Open
shkediy opened this issue Oct 8, 2019 · 0 comments
Open

Exception when running memtier_benchmark #13

shkediy opened this issue Oct 8, 2019 · 0 comments

Comments

@shkediy
Copy link

shkediy commented Oct 8, 2019

I get this exception when starting memtier benchmark:

Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/app/app.py", line 102, in run
    if "[RUN" in curr_output:
TypeError: a bytes-like object is required, not 'str'

Looks like a pyhton2, pyhton3 issue. Changing app.py line 101 to:
curr_output = self._process.stdout.readline().decode()
solves it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant