I decided to do a .set errorInfo (as one does when one is bored) and got the above in about 5 bots (picked randomly).<Alchera> .set errorInfo
<StarFighter> [21:50] #Alchera# set errorInfo
<StarFighter> Currently: can't read "state(after)": no such element in array
<StarFighter> Currently: while executing
<StarFighter> Currently: "after cancel $state(after)"
Code: Select all
snprintf.c:/* format read states */
snprintf.c: int state;
snprintf.c: state = DP_S_DEFAULT;
snprintf.c: while (state != DP_S_DONE) {
snprintf.c: state = DP_S_DONE;
snprintf.c: switch (state) {
snprintf.c: state = DP_S_FLAGS;
snprintf.c: state = DP_S_MIN;
snprintf.c: state = DP_S_DOT;
snprintf.c: state = DP_S_DOT;
snprintf.c: state = DP_S_MAX;
snprintf.c: state = DP_S_MOD;
snprintf.c: state = DP_S_MOD;
snprintf.c: state = DP_S_MOD;
snprintf.c: state = DP_S_CONV;
snprintf.c: state = DP_S_DEFAULT;
Code: Select all
coredns.c: switch (getheader_rcode(hp)) {
coredns.c: switch (rp->state) { /* Construct expected query reply */
coredns.c: switch (qdatatype) {
coredns.c: switch (datatype) {
coredns.c: switch (rp->state) {
coredns.c: switch (rp->state) {
Code: Select all
catch {after cancel $state(after)}
Hmm..Yeah I do in fact call http::cleanup in my scripts if the geturl produces an error or a timeout.nml375 wrote: If a request would time out and you'd still call httpFinish, there'd be no delayed command to cancel, hence an error condition would arise.. which is why it's "caught"
Code: Select all
if { [::http::status $page] == "timeout" } {
::http::cleanup $page
return "Error - Connection timed out. (1)"
}
Code: Select all
if {[catch {after cancel $state(after)}]} {}