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

TypeError exception with ietf-netconf-acm #124

Open
mathieu-mercier opened this issue Apr 21, 2017 · 1 comment
Open

TypeError exception with ietf-netconf-acm #124

mathieu-mercier opened this issue Apr 21, 2017 · 1 comment

Comments

@mathieu-mercier
Copy link

I get the following error when I try to generate bindings for http://www.netconfcentral.org/modules/ietf-netconf-acm:

pyang --plugindir $PYBINDPLUGIN -f pybind -o binding.py ietf-netconf-acm.yang
could not find a match for nacm:access-operations-type type -> [u'bits']
Traceback (most recent call last):
File "/usr/local/bin/pyang", line 434, in
run()
File "/usr/local/bin/pyang", line 408, in run
emit_obj.emit(ctx, modules, fd)
File "/usr/local/lib/python2.7/site-packages/pyangbind/plugin/pybind.py", line 217, in emit
build_pybind(ctx, modules, fd)
File "/usr/local/lib/python2.7/site-packages/pyangbind/plugin/pybind.py", line 395, in build_pybind
build_typedefs(ctx, defn['typedef'])
File "/usr/local/lib/python2.7/site-packages/pyangbind/plugin/pybind.py", line 546, in build_typedefs
raise TypeError("could not resolve typedefs %s" % error_ids)
TypeError: could not resolve typedefs [u'nacm:access-operations-type']

@JoseIgnacioTamayo
Copy link
Collaborator

Could you please try again with the latest / recent version of pyangbing, and the latest YANG module?

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

2 participants