Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't read "expect_out(buffer)": no such variable #18

Open
greenpau opened this issue Aug 22, 2018 · 0 comments
Open

can't read "expect_out(buffer)": no such variable #18

greenpau opened this issue Aug 22, 2018 · 0 comments

Comments

@greenpau
Copy link
Owner

When a connection to remote devices times out:

can't read "expect_out(buffer)": no such variable
    while executing
"parse_cli "$expect_out(buffer)""
    invoked from within
"expect {
        timeout {
            puts $session_log "timestamp='[exec date]' transaction_id='$transaction_id' rc=$ERROR_CONNECTION_TIMEOUT timeou..."
    ("while" body line 7)
    invoked from within
"while 1 {
    incr loop_counter;
    if { $loop_counter > 250 } {
        send_status "connected:no";
        ctrl_exit $ERROR_CONNECTION_TIMEOUT;
   ..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant