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']
Could you please try again with the latest / recent version of pyangbing, and the latest YANG module?