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

Simple run on local network produces json key error #72

Open
leeprevost opened this issue Sep 6, 2022 · 0 comments
Open

Simple run on local network produces json key error #72

leeprevost opened this issue Sep 6, 2022 · 0 comments

Comments

@leeprevost
Copy link

leeprevost commented Sep 6, 2022

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'
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