Discussion:
[rancid] xlogin possible unbalanced brace in comment
martyMusto
2015-05-13 22:07:53 UTC
Permalink
Hello All,

I am receiving an error on both new(v3.2) and old(v2.3) unmodified RANCID
nlogin and clogin.

"Error: missing close-brace: possible unbalanced brace in comment"

I am running expect 5.45 and Tcl 8.6.

I haven't had a chance to test but I believe I need expect 5.43 and Tcl 8.4
(per shrubbery FTP) to get these scripts running without error.

I didn't see anything of the forums or site about avoiding expect 5.45. The
site only mentions you must use expect >=5.40 with latest RANCID 3.2.

Going to try the shrubbery patched expect+Tcl tomorrow.

Figured it would be worth it to post this.
heasley
2015-05-14 12:55:25 UTC
Permalink
Post by martyMusto
Hello All,
I am receiving an error on both new(v3.2) and old(v2.3) unmodified RANCID
nlogin and clogin.
what is your prompt?
Post by martyMusto
"Error: missing close-brace: possible unbalanced brace in comment"
I am running expect 5.45 and Tcl 8.6.
I haven't had a chance to test but I believe I need expect 5.43 and Tcl 8.4
(per shrubbery FTP) to get these scripts running without error.
I didn't see anything of the forums or site about avoiding expect 5.45. The
site only mentions you must use expect >=5.40 with latest RANCID 3.2.
Going to try the shrubbery patched expect+Tcl tomorrow.
Figured it would be worth it to post this.
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
martyMusto
2015-05-14 16:03:51 UTC
Permalink
Just wanted to update the list before my mind melts from getting this
working...

If the password of your device in cloginrc contains curly braces, the curly
brace password escaping mechanism will break causing clogin and or nlogin
to fail with the aforementioned expect error.

-Marty
Post by martyMusto
Hello All,
I am receiving an error on both new(v3.2) and old(v2.3) unmodified RANCID
nlogin and clogin.
"Error: missing close-brace: possible unbalanced brace in comment"
I am running expect 5.45 and Tcl 8.6.
I haven't had a chance to test but I believe I need expect 5.43 and Tcl
8.4 (per shrubbery FTP) to get these scripts running without error.
I didn't see anything of the forums or site about avoiding expect 5.45.
The site only mentions you must use expect >=5.40 with latest RANCID 3.2.
Going to try the shrubbery patched expect+Tcl tomorrow.
Figured it would be worth it to post this.
Loading...