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

KeyError: 'label' #60

Closed
ghost opened this issue Oct 29, 2014 · 5 comments
Closed

KeyError: 'label' #60

ghost opened this issue Oct 29, 2014 · 5 comments

Comments

@ghost
Copy link

ghost commented Oct 29, 2014

Hi
Seeing this error when running the script on a few of my servers. I sent the full output to your email as similar to the last issue you helped resolved. Let me know if there are format errors in the file.

File "hpilo_cli", line 312, in
main()
File "hpilo_cli", line 199, in main
results = [getattr(ilo, method)(**params)]
File "hpilo.py", line 897, in get_embedded_health
process=process)
File "hpilo.py", line 644, in _info_tag
return self._process_info_tag(message, returntags or [tagname], process)
File "hpilo.py", line 655, in _process_info_tag
return process(self._element_children_to_dict(message))
File "hpilo.py", line 891, in process
data[category] = dict([(x[tag], x) for x in data[category]])
KeyError: 'label'

@seveas
Copy link
Owner

seveas commented Nov 1, 2014

Thanks, fixed in 6804064. I also noticed that power_supplies output was empty, which is now fixed in 03757ef.

@Eagllus
Copy link
Contributor

Eagllus commented Dec 12, 2014

Will there be a release of this to pypi.python.org soon?

@rusenask
Copy link

would be nice, we are also affected by this issue :(

@seveas
Copy link
Owner

seveas commented Dec 21, 2014

Version 2.10 has now been released.

@seveas seveas closed this as completed Dec 21, 2014
@Eagllus
Copy link
Contributor

Eagllus commented Jan 5, 2015

Thank you

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

3 participants