Reputation: 1073
I used fresh installation of Robot Framework on my Mac (i repeated this on Mac Air and Mac Pro with the same result) and when I want use example from the official SSHLibrary site with this command which I believe is correct:
robot --loglevel TRACE:TRACE login_tests/ssh.robot
it returns in terminal:
Suite setup failed:
TypeError: _custom_start_client() got an unexpected keyword argument 'timeout'
I can find this in log file:
File "/Library/Python/2.7/site-packages/SSHLibrary/library.py", line 792, in login
return self._login(self.current.login, username, password, delay)
File "/Library/Python/2.7/site-packages/SSHLibrary/library.py", line 832, in _login
login_output = login_method(username, *args)
File "/Library/Python/2.7/site-packages/SSHLibrary/abstractclient.py", line 146, in login
self._login(username, password, look_for_keys=look_for_keys)
File "/Library/Python/2.7/site-packages/SSHLibrary/pythonclient.py", line 69, in _login
timeout=float(self.config.timeout))
File "/Library/Python/2.7/site-packages/paramiko/client.py", line 338, in connect
t.start_client(timeout=timeout)
Python 2.7.10 Robot Framework 3.0 (Python 2.7.10 on darwin)
Image of the screenshot of the log file
Help would be appreciated.
Upvotes: 1
Views: 3826
Reputation: 3737
You probably encountered the issue mentioned on #157 on SSHLibrary, caused by the new version of Paramiko. Try to downgrade Paramiko with:pip install -U paramiko==2.0.2
and retest again.
(If it works, you should then keep an eye on new fixes releases for this issue, either on Paramiko or SSHLibrary)
Upvotes: 3