Skip to content

BUG: measurement_client.py #41

@DeshaPerera

Description

@DeshaPerera

I tried to use the measurement client with round_trip example but there is an error.
I just replaced the ZeroMQClient with

client = MeasurementClient(args.server_host, common.ZEROMQ_PORT,
opencv_adapter.get_producer_wrappers(),
opencv_adapter.consumer)

Error message: The list object is passed to websocket_client.py as an integer.

File "/Users/amal/Projects/gabriel-new/poc/examples/round_trip/websocket_client.py", line 59, in init
self.input_producers = set(input_producers)
^^^^^^^^^^^^^^^^^^^^
TypeError: 'int' object is not iterable

BUG:

Measurement_client.py hast a bug. The order of the parameters is wrong.
"""Initialize the measurement client."""
super().init(host, port, producer_wrappers, consumer)

swap port and producer_wrappers

"""Initialize the measurement client."""
super().__init__(host, producer_wrappers, consumer, port)

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