-
Notifications
You must be signed in to change notification settings - Fork 121
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
Issue with Generating Python Bindings Using –deviation Flag #352
Comments
For safety, Alternatively, you can fix the models that are being used. |
on the latest EOS version after referencing all the necessary files, e.g.:
we are getting |
I haven't spent enough time root causing this, but the public models do have deprecated leaves that generate bindings just fine. It may be a matter of how this is modeled that is triggering the error. |
Hello,
I am encountering an issue when attempting to generate Python bindings using pyangbind with the --deviation flag. The command runs without errors when generating the tree output, but fails during the binding generation step.
Environment
pyang version: 2.6.1
pyangbind version: 0.8.5
Python version: 3.11.9
Operating System: Ubuntu 22.04.2 LTS
Steps to Reproduce
This command runs without any errors and produces the correct tree output:
This command fails with errors:
Error Message
Here is the error message I receive when attempting to generate the bindings:
Request
I am seeking assistance in understanding why the pyangbind command fails despite no errors being reported in the tree validation step. Any insights or guidance on how to resolve this issue would be greatly appreciated.
Thank you for your help!
The text was updated successfully, but these errors were encountered: