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

snappi 0.12.1 HttpApi object has no attribute 'transmit_state' #210

Open
plaviz opened this issue Aug 12, 2023 · 0 comments
Open

snappi 0.12.1 HttpApi object has no attribute 'transmit_state' #210

plaviz opened this issue Aug 12, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@plaviz
Copy link

plaviz commented Aug 12, 2023

[snappi version]
pip3 list | grep snappi
snappi 0.12.1
snappi-convergence 0.2.3
snappi-ixnetwork 0.9.1

Create a script hello.py from https://otg.dev/clients/snappi/

~/scripts$ python3 hello.py
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:1015: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
warnings.warn(
Traceback (most recent call last):
File "/home/phille/scripts/hello.py", line 26, in
ts = api.transmit_state()
AttributeError: 'HttpApi' object has no attribute 'transmit_state'

Workaround:
The above script works when downgrading snappi to version 0.11.17

Is there any document that trace the changes in the library?

@arkajyoti-cloud arkajyoti-cloud added the bug Something isn't working label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants