-
Notifications
You must be signed in to change notification settings - Fork 44
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
PyGNMI proto files collide with PyATS yang.connector gnmi ? #62
Comments
Opened PyATS issue as well - CiscoTestAutomation/pyats#164 |
Hello @dmulyalin , did you install pygnmi and pyats inside the same virtual environment? Best, |
Yes, I did, but the ticket I open for pyats closed, they proposed the workaround that I am yet to try. |
Doing
Seems PyATS yang.connector.gnmi clashes with PyGNMI somehow, as still, uninstalling PyGNMI solves the issue. |
Hey @dmulyalin, First of all, Cisco and open source are two different things. I've looked into their docs and they say:
As such, it is difficult to say what is going wrong. However, by looking into the message above and thinking about the work I've done this week to move to 0.8.0 GNMI specification, it is related indeed to Protobuf library's version. Namely, we used before So please try the latest Best, |
Hey @dmulyalin , Please, re-open the issue if help is still needed. Best, |
Hi @akarneliuk , tried latest Pygnmi releas 0.8.4 still seeing same issue, probably it's just worse concluding that pyats >22.1 can no longer work under same environment with pygnmi being installed and need to be split up. Thank you for looking at this. |
Hello,
After upgrading PyATS/Genie form version 22.1 to version 22.5 started getting this error while running "ping" api for Cisco IOS XE device:
Found this old github issue:
protocolbuffers/protobuf#3002
Turns out I have PyGNMI==0.6.9 installed on the same system and interesting enough after uninstalling PyGNMI package, PyATS api calls start working fine.
Could it be that proto files created by PyGNMI somehow overlap with proto files created by PyATS yang connector, could we implement some sort of shielding mechanism like put all PyGNMI proto files in dedicated directory as per this comment
The text was updated successfully, but these errors were encountered: