[rancid] FXOS debugging

heasley heas at shrubbery.net
Fri Nov 30 20:30:45 UTC 2018


Fri, Nov 30, 2018 at 03:47:23PM +0000, Ryan West:
> John,
> 
> Still hitting the same issue and replicated it on a fresh Ubuntu 18.04 LTS with 8.6 expect/tcl loaded on it.
> 
> > invalid command name "^-"
>     while executing
> "^-"
>     invoked from within
> "expect {
>             -re "\b+"                           { exp_continue }
>             -re "^\[^\n\r *]*$reprompt"         { send_user -- "$expect_out(buffer)"
>                                                 }
>             -re "^\[^\n\r]*$reprom..."
>     (procedure "run_commands" line 36)
>     invoked from within
> "run_commands $prompt $command"
>     ("foreach" body line 206)
>     invoked from within
> "foreach router [lrange $argv $i end] {
>     set router [string tolower $router]
>     # attempt at platform switching.
>     set platform ""
>     send_user ..."
>     (file "/home/rwest/bin/fxlogin" line 870)

I do not see the cause in the code or the debug output.  And, I do not
have a device to test against.  running fxlogin against an IOS device
works fine.

maybe start with making sure that you are using the most recent alpha
version of fxlogin.  diffs since rancid 3.7 are attached.

> Thanks,
> 
> -ryan
> 
> -----Original Message-----
> From: heasley <heas at shrubbery.net> 
> Sent: Wednesday, November 28, 2018 5:54 PM
> To: Ryan West <rwest at zyedge.com>
> Cc: heasley <heas at shrubbery.net>; Rancid-discuss at shrubbery.net
> Subject: Re: [rancid] FXOS debugging
> 
> Wed, Nov 28, 2018 at 04:09:40PM +0000, Ryan West:
> > Same error -
> > 
> > Here is the list of installed TCL packages:
> > 
> > libtcl8.5:amd64
> > libtcl8.6:amd64 
> > tcl             
> > tcl-expect:amd64
> > tcl8.5          
> > tcl8.6          
> > 
> > On a 9.6 Debian version.  It's just this script that this throwing errors as well.
> 
> Why (how) do you have tcl 8.5 and 8.6?  Please make sure that expect is linked with 8.6.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fxlogin.in.diff
Type: text/x-diff
Size: 2886 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20181130/2fddafa6/attachment.diff>


More information about the Rancid-discuss mailing list