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

New pypi release needed #17

Open
booxter opened this issue May 9, 2023 · 0 comments
Open

New pypi release needed #17

booxter opened this issue May 9, 2023 · 0 comments

Comments

@booxter
Copy link

booxter commented May 9, 2023

The following patch fixes an important issue: https://github.com/rhos-infra/devnest/pull/15/files

Without it, I get the following trace back when calling devnest list -g network:

Traceback (most recent call last):
  File "/Users/ihrachys/Library/Python/3.10/bin//devnest", line 8, in <module>
    sys.exit(main())
  File "/Users/ihrachys/Library/Python/3.10/lib/python/site-packages/devnest/lib/cli.py", line 702, in main
    JenkinsNodeShell().main(args)
  File "/Users/ihrachys/Library/Python/3.10/lib/python/site-packages/devnest/lib/cli.py", line 405, in main
    jenkins_nodes = jenkins_obj.get_nodes(parser_args.node_regex, group)
  File "/Users/ihrachys/Library/Python/3.10/lib/python/site-packages/devnest/lib/jenkins.py", line 94, in get_nodes
    cur_node = Node(self.jenkins, node, nodes_data)
  File "/Users/ihrachys/Library/Python/3.10/lib/python/site-packages/devnest/lib/node.py", line 290, in __init__
    self.reservation_info = self._get_reservation_info()
  File "/Users/ihrachys/Library/Python/3.10/lib/python/site-packages/devnest/lib/node.py", line 661, in _get_reservation_info
    res_data = json_data.get('reservation')
AttributeError: 'float' object has no attribute 'get'
@booxter booxter changed the title New release needed New pypi release needed May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant