On 02Sep2018 14:29, Steven D'Aprano wrote:
On Sun, Sep 02, 2018 at 10:01:02AM +1000, Cameron Simpson wrote:
On 02Sep2018 00:31, Steven D'Aprano wrote:
>On Sat, Sep 01, 2018 at 11:41:42AM +, krishna chaitanya via Tutor
>wrote:
>>Below is my code, i am frequently hitting timeout issue to log
On Sun, Sep 02, 2018 at 10:01:02AM +1000, Cameron Simpson wrote:
> On 02Sep2018 00:31, Steven D'Aprano wrote:
> >On Sat, Sep 01, 2018 at 11:41:42AM +, krishna chaitanya via Tutor
> >wrote:
> >>Below is my code, i am frequently hitting timeout issue to login to linux
> >>or router.
> >
> >Tim
On 02Sep2018 00:31, Steven D'Aprano wrote:
On Sat, Sep 01, 2018 at 11:41:42AM +, krishna chaitanya via Tutor wrote:
Below is my code, i am frequently hitting timeout issue to login to linux or
router.
Timeout issues are a network problem. Perhaps your network is too busy,
or the cable is
On 01Sep2018 20:33, Alan Gauld wrote:
On 01/09/18 12:41, krishna chaitanya via Tutor wrote:
child = spawn('su x',timeout = 50)
What is the timeout interval? If its in milliseconds
then 50 is much too short, try 5000.
If its in seconds then you have a problem...
How long does it take to c
On 01/09/18 12:41, krishna chaitanya via Tutor wrote:
> Below is my code, i am frequently hitting timeout issue to login to linux or
> router.
Have you tried extending the timeout?
> child = spawn('su x',timeout = 50)
What is the timeout interval? If its in milliseconds
then 50 is much to
On Sat, Sep 01, 2018 at 11:41:42AM +, krishna chaitanya via Tutor wrote:
> Hi Team,
> Below is my code, i am frequently hitting timeout issue to login to linux or
> router.
Timeout issues are a network problem. Perhaps your network is too busy,
or the cable is faulty, or your router is being
Hi Team,
Below is my code, i am frequently hitting timeout issue to login to linux or
router.
import pexpectfrom pexpect import *child = spawn('su x',timeout =
50)child.expect('Password:',timeout =
50)child.sendline('XXX')#child.sendline('ls -l')#chasis =
child.before.decode('utf-8')chi