You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Model validation exception for duplicates provides an indication of the error, but no indication of what node caused the validation error. Same enhancement should be applied to other validation errors (e.g. duplicate keys in a list).
2017-03-06 09:57:00,427 - ydk.services.crud_service - INFO - READ operation completed
Traceback (most recent call last):
File "./nc-read-xr-ip-rib-ipv4-oper-99-ydk.py", line 78, in <module>
rib = crud.read(provider, rib)
File "/usr/local/lib/python2.7/dist-packages/ydk/services/crud_service.py", line 152, in read
return provider.decode(payload, read_filter)
File "/usr/local/lib/python2.7/dist-packages/ydk/providers/netconf_provider.py", line 91, in decode
return self.sp_instance.decode(payload, read_filter)
File "/usr/local/lib/python2.7/dist-packages/ydk/providers/_provider_plugin.py", line 132, in decode
XmlDecoder._bind_to_object(payload, entity, self._get_capabilities())
File "/usr/local/lib/python2.7/dist-packages/ydk/providers/_decoder.py", line 65, in _bind_to_object
XmlDecoder._bind_to_object_helper(curr_rt, top_entity, active_deviation_tables, pretty_p='|-')
File "/usr/local/lib/python2.7/dist-packages/ydk/providers/_decoder.py", line 91, in _bind_to_object_hel
per
XmlDecoder._bind_to_object_helper(rt[0], instance, deviation_tables, pretty_p + '-|')
File "/usr/local/lib/python2.7/dist-packages/ydk/providers/_decoder.py", line 103, in _bind_to_object_he
lper
XmlDecoder._bind_to_object_helper(rtchild, child, deviation_tables, pretty_p + '-l')
File "/usr/local/lib/python2.7/dist-packages/ydk/providers/_decoder.py", line 91, in _bind_to_object_hel
per
XmlDecoder._bind_to_object_helper(rt[0], instance, deviation_tables, pretty_p + '-|')
File "/usr/local/lib/python2.7/dist-packages/ydk/providers/_decoder.py", line 103, in _bind_to_object_he
lper
XmlDecoder._bind_to_object_helper(rtchild, child, deviation_tables, pretty_p + '-l')
File "/usr/local/lib/python2.7/dist-packages/ydk/providers/_decoder.py", line 103, in _bind_to_object_he
lper
XmlDecoder._bind_to_object_helper(rtchild, child, deviation_tables, pretty_p + '-l')
File "/usr/local/lib/python2.7/dist-packages/ydk/providers/_decoder.py", line 91, in _bind_to_object_hel
per
XmlDecoder._bind_to_object_helper(rt[0], instance, deviation_tables, pretty_p + '-|')
File "/usr/local/lib/python2.7/dist-packages/ydk/providers/_decoder.py", line 103, in _bind_to_object_he
lper
XmlDecoder._bind_to_object_helper(rtchild, child, deviation_tables, pretty_p + '-l')
File "/usr/local/lib/python2.7/dist-packages/ydk/providers/_decoder.py", line 84, in _bind_to_object_hel
per
entity.__dict__[member.presentation_name] = XmlDecoder._to_real_list_type(rt, member, entity)
File "/usr/local/lib/python2.7/dist-packages/ydk/providers/_decoder.py", line 149, in _to_real_list_type
results.append(result)
File "/usr/local/lib/python2.7/dist-packages/ydk/types.py", line 319, in append
raise YPYModelError("{} already in list".format(item))
ydk.errors.YPYModelError: 0 already in list
The text was updated successfully, but these errors were encountered:
Model validation exception for duplicates provides an indication of the error, but no indication of what node caused the validation error. Same enhancement should be applied to other validation errors (e.g. duplicate keys in a list).
The text was updated successfully, but these errors were encountered: