Skip to content

Exception when running memtier_benchmark #13

@shkediy

Description

@shkediy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions