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

TypeError: zip argument #1 must support iteration #22

Closed
webminster opened this issue Sep 17, 2013 · 1 comment
Closed

TypeError: zip argument #1 must support iteration #22

webminster opened this issue Sep 17, 2013 · 1 comment

Comments

@webminster
Copy link

I tried some code as follows against an iLO3 interface, and while it seemed to execute, it threw this error inside hpilo.py (in code below I leave out the specific settings of the arguments):

$ python test.py
/home/sparksa/python-hpilo-2.1/hpilo.py:424: IloWarning: Server being reset.
warnings.warn(child.get('MESSAGE'), IloWarning)
Traceback (most recent call last):
File "test.py", line 18, in
resp = ilo.call_delayed()
File "/home/sparksa/python-hpilo-2.1/hpilo.py", line 608, in call_delayed
for message, processor in zip(message, self._processors):
TypeError: zip argument #1 must support iteration

ilo = hpilo.Ilo(hostname, login=username, password=password,
timeout=5, protocol=hpilo.ILO_HTTP, delayed=True)

ilo.activate_license(license_key)
ilo.insert_virtual_media(device='cdrom', image_url=VM_URL)
ilo.set_vm_status(device='cdrom', boot_option='boot_once')
ilo.reset_server()

resp = ilo.call_delayed()
for r in resp:
print r

@seveas
Copy link
Owner

seveas commented Sep 17, 2013

Thanks for reporting, this is now fixed in 846fca8 / version 2.2.

@seveas seveas closed this as completed Sep 17, 2013
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

2 participants