Re: [Expect] Error in Expect "spawn id exp5 not open"
by Larry W. Virden other posts by this author
Aug 9 2007 12:05PM messages near this date
view in the new Beta List Site
Re: [Expect] Error in Expect "spawn id exp5 not open"
|
Re: [Expect] Error in Expect "spawn id exp5 not open"
I think we are making progress. Certainly attention can be better
focused at this time. Let's see, what else do we need to know...
We know the OS and the version of tcl. Unfortunately, I don't have this
combination, so I can test things here to see if I see anything
different.
Hey - what do you get when in the tcl console you type:
% package require Expect
5.43.0
% spawn telnet
23240
% expect 23240
telnet> %
Of course, that 23240 will be some other value for you, and the output
from the package require Expect might be different as well. Tell us what
you get.
This will tell us at least that expect is starting the application
properly.
--
<URL: http://wiki.tcl.tk/ >
Even if explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.
<URL: mailto:lvirden@[...].com > <URL: http://www.purl.org/NET/lvirden/
>
________________________________
From: Suresh Sundararaman
When i run "telnet" from the command prompt and "telnet" from the tcl
prompt, i get MS's telnet.
Now from the tcl prompt when i use "spawn telnet 192.168.x.x" i get
error the following error:
expect: does "" (spawn_id exp5) match glob pattern "login: "? no
expect: read eof
expect: set expect_out(spawn_id) "exp5"
I really feel that the spawn command itself is not working in my windows
environment. Can anyone tell me what i need to do to make it work in my
windows pc.
I even tried using spawn ping 192.168.x.y and spawn telnet 192.168.x.y
where i used a different device and i face the same issue and error.
The version of the windows PC which i use is as follows:
System : Microsoft Windows XP Professional, Version 2002, Service Pack 2
If anyone can help me out in solving this error, i will be very very
happy, as it is giving me a real hard and tough time.
I am using the new "dbghelp.dll" file of version 6.6.7.5.
Thread:
Suresh Sundararaman
Stephen Cattaneo
Suresh Sundararaman
Suresh Sundararaman
Aaron P. Perez
Aaron P. Perez
Suresh Sundararaman
Aaron P. Perez
Suresh Sundararaman
Aaron P. Perez
Suresh Sundararaman
Larry W. Virden
Suresh Sundararaman
Larry W. Virden
Suresh Sundararaman
Larry W. Virden
Aaron P. Perez
Suresh Sundararaman
Rufus Smith
|