Skip to content

Simple run on local network produces json key error #72

@leeprevost

Description

@leeprevost

On linux/raspi/bullseye with latest python

in python, i set server_hostname to a local IP and then client.run()

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/IPython/core/interactiveshell.py", line 3398, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-44-be7fe9e82b4a>", line 1, in <cell line: 1>
    client.run()
  File "/usr/local/lib/python3.9/dist-packages/iperf3/iperf3.py", line 634, in run
    return TestResult(data)
  File "/usr/local/lib/python3.9/dist-packages/iperf3/iperf3.py", line 793, in __init__
    self.time = self.json['start']['timestamp']['time']
KeyError: 'timestamp'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions