Skip to content

TypeError exception with ietf-netconf-acm #124

Description

@mathieu-mercier

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']

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions