Closed yanne closed 10 years ago
Original comment by janne.t....@gmail.com
on Jan 11, 2010.
This is really strange since the attribute referred in the stack trace should never be None. I couldn't reproduce this either.
Do you ever get this error when not using timeouts? Is it possible for you to try to execute this without timeout and see what happens?
Original comment by marczise...@gmail.com
on Apr 16, 2010.
Hi, I have the problem with "Read Until Prompt"
0001 :: Testing Scenario A | FAIL |
0001 :: Pronto correction testing for | FAIL | 1 critical test, 0 passed, 1 failed
Output: /home/marczis/pro/pronto/47226ESPE01/output.xml Report: /home/marczis/pro/pronto/47226ESPE01/report.html Log: /home/marczis/pro/pronto/47226ESPE01/log.html
Original comment by kari.jaa...@gmail.com
on Jun 1, 2010.
Original comment by kari.jaa...@gmail.com
on Jun 1, 2010.
it seems that we are running paramiko lib version 1.7.1 (three years old...) under sshlib&robot and there are several releases after that with quite many bug fixes...
Original comment by kames...@gmail.com
on Sep 20, 2010.
We use Python and we are experiencing the same problem which is sporadic but could see many times failures with below error
AttributeError: 'NoneType' object has no attribute 'exec_command'
Also could see below errors in the output.xml
Any suggestions on how to resolve the issue?
Original comment by janne.t....@gmail.com
on Nov 2, 2010.
Have you managed to log in successfully before the failure? How have you imported the library? Are you using one or multiple connections?
(I am shooting in the dark here, since I have no idea how to reproduce this bug)
Original comment by john.gl...@gmail.com
on Sep 21, 2011.
This looks like user error to me. I think it should be closed. This is the error that happens when you execute a command but haven't establish a connection. At least that's what happens on Mac. This could happen for a couple of reason because you didn't login. Maybe you reversed the commands (they need to be "Open Connection" then "Login". Or perhaps you forgot to copy your sshkey to a directory where RF can see it (needs to be relative to the executable)
Original comment by janne.t....@gmail.com
on Mar 21, 2012.
Closing due to lack of information. If someone is able to reporoduce, please attach a complete Python stacktrace of the failure. This can be enabled by running
pybot --loglevel debug
Hi: I meet a problem several time, when my testcase involve "SSHLibrary.Execute Command", this problem accidental occur, in fact I don't need do any thing, it will be fixed.
I don't sure you can reproduce this problem, but it really puzzle me and my colleague.
Please solve this problem,thanks!
1) Yes,in my testcase, I had open a connetion, and loged in before using
Execute Command
keyword,usually,I will create 2 connetion,and record them session id,and when testcase need use it,then switch to conn.2) I running tests on Python.
3) I work for NSN
This issue was originally opened at Google Code on Dec 27, 2009.