Re: [BangPypers] problems while using pexpect. pexpect.TIMEOUT always...

2009-06-08 Thread Senthil Kumaran
On Mon, Jun 08, 2009 at 10:39:00PM +0530, Gora Mohanty wrote: > > And here is my pexpect script: > > > > http://paste.pocoo.org/show/121788/ > > I am not very familiar with pexpect, but from what I remember > of Expect, there are a couple of issues here: > o You should be using p.expect() instead

Re: [BangPypers] problems while using pexpect. pexpect.TIMEOUT always...

2009-06-08 Thread Gora Mohanty
On Mon, 8 Jun 2009 21:48:50 +0530 Senthil Kumaran 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. > > Here is my ssh to localhost: > > [21:29:14 senthil]$ssh localhost