Skip to content

Revert "Release v1.0.12" #76

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

Merged
merged 1 commit into from
Jul 17, 2020
Merged

Revert "Release v1.0.12" #76

merged 1 commit into from
Jul 17, 2020

Conversation

remingtonc
Copy link
Contributor

Reverts #75

hi
thanks
performed an upgrade
now the original client request is failing

log?

cisco-gnmi get -encoding JSON -data_type STATE -os NX-OS -root_certificates gnmi.pem -ssl_target_override ems.cisco.com -xpath "/interfaces/interface[name='eth1/1']" x:x
Username: admin
Password:
ERROR:root:Error during usage!
Traceback (most recent call last):
File "/lib/python3.6/site-packages/cisco_gnmi/cli.py", line 79, in main
rpc_map[args.rpc]()
File "/lib/python3.6/site-packages/cisco_gnmi/cli.py", line 240, in gnmi_get
get_response = client.get_xpaths(args.xpath, **kwargs)
File "/lib/python3.6/site-packages/cisco_gnmi/nx.py", line 201, in get_xpaths
return self.get(gnmi_path, data_type=data_type, encoding=encoding)
File "/lib/python3.6/site-packages/cisco_gnmi/client.py", line 164, in get
request.path.extend(paths)
File "/lib/python3.6/site-packages/cisco_gnmi/nx.py", line 309, in parse_xpath_to_gnmi_path
return super(NXClient, self).parse_xpath_to_gnmi_path(xpath, origin)
NameError: name 'self' is not defined

@remingtonc remingtonc added the bug Something isn't working label Jul 17, 2020
@remingtonc remingtonc self-assigned this Jul 17, 2020
@remingtonc remingtonc merged commit 1b4c0ea into master Jul 17, 2020
@remingtonc remingtonc deleted the revert-75-rel-v1.0.12 branch July 17, 2020 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant