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

Incorrect exception name in YDK-Py #668

Closed
111pontes opened this issue Jan 18, 2018 · 0 comments
Closed

Incorrect exception name in YDK-Py #668

111pontes opened this issue Jan 18, 2018 · 0 comments
Labels

Comments

@111pontes
Copy link
Collaborator

YDK-Py 0.6.3 exception name references C++:

$ netconf edit-config --config xr-clock-cfg-create.xml user@host
Traceback (most recent call last):
  File "/home/user/.virtualenvs/netconf-client3/bin/netconf", line 11, in <module>
    sys.exit(main())
  File "/home/user/.virtualenvs/netconf-client3/lib/python3.5/site-packages/netconf_client/cli.py", line 13, in main
    client.main()
  File "/home/user/.virtualenvs/netconf-client3/lib/python3.5/site-packages/netconf_client/netconf_client.py", line 390, in main
    data = rpc.send()
  File "/home/user/.virtualenvs/netconf-client3/lib/python3.5/site-packages/netconf_client/logger.py", line 24, in wrapper
    return_val = func(*args, **kwargs)
  File "/home/user/.virtualenvs/netconf-client3/lib/python3.5/site-packages/netconf_client/commands/rpc_logger.py", line 27, in wrapper
    return_val = func(*args, **kwargs)
  File "/home/user/.virtualenvs/netconf-client3/lib/python3.5/site-packages/netconf_client/commands/rpc.py", line 20, in send
    return self.rpc(self.provider)
RuntimeError: YCPPServiceProviderError: <?xml version="1.0"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
  <rpc-error>
    <error-type>application</error-type>
    <error-tag>data-exists</error-tag>
    <error-severity>error</error-severity>
    <error-path xmlns:ns1="http://cisco.com/ns/yang/Cisco-IOS-XR-infra-infra-clock-linux-cfg">ns1:clock/ns1:time-zone</error-path>
  </rpc-error>
</rpc-reply>

$ 
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant