You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
It looks that at least on gevent version I'm using (gevent 1.1.2) is yielding error on Timeout object due to missing attribute (1.1.2 is as I can see from 2016, and with this, commit Timeout.close() was introduced: commit
To Reproduce
Steps to reproduce the behaviour:
...
output = client.run_command(cmd, use_pty=True, read_timeout=2)
for host_out in output:
try:
for line in host_out.stdout:
print(line)
for line in host_out.stderr:
print(line)
except Timeout:
pass
for line in host_out.stdout:
File "/usr/local/lib/python2.7/dist-packages/pssh/clients/base/single.py", line 464, in read_output_buffer
for line in output_buffer:
File "/usr/local/lib/python2.7/dist-packages/pssh/clients/base/single.py", line 434, in _read_output_buffer
timer.close()
AttributeError: 'Timeout' object has no attribute 'close'
Expected behaviour
Well, looking at your requirements and gevent>=1.1, I would expect that issue does not happen.
Describe the bug
It looks that at least on gevent version I'm using (gevent 1.1.2) is yielding error on Timeout object due to missing attribute (1.1.2 is as I can see from 2016, and with this, commit Timeout.close() was introduced: commit
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Well, looking at your requirements and gevent>=1.1, I would expect that issue does not happen.
Actual behaviour
the exception from above
Additional information
The text was updated successfully, but these errors were encountered: