Re: problems while using pexpect: pexcept.TIMEOUT always

2009-06-08 Thread Senthil Kumaran
On Jun 8, 10:19 pm, "R. David Murray" wrote: > I would suggest using the 'setlog' method of child to get > more debugging information from pexpect.  I've found that the > best way to diagnose the source of a timeout. > setlog method seems to be deprecated and 'not allowed' too as the help says. B

problems while using pexpect: pexcept.TIMEOUT always

2009-06-08 Thread R. David Murray
Phoe6 wrote: > I have been trying to use pexpect and I am failing with > pexpect.TIMEOUT for all my attempts. In order to troubleshoot, I > decided to go with simplest possible one. > [...] > > Can someone help me what I am doing wrong here? > Why is not working for such a simple thing as ssh to

problems while using pexpect: pexcept.TIMEOUT always

2009-06-08 Thread Phoe6
I have been trying to use pexpect and I am failing with pexpect.TIMEOUT for all my attempts. In order to troubleshoot, I decided to go with simplest possible one. Here is my ssh to localhost: [21:29:14 senthil]$ssh localhost -l senthil sent...@localhost's password: sent...@ubuntu:~$ And here is