Sujet : Re: too many nested evaluations (infinite loop?)
De : saitology9 (at) *nospam* gmail.com (saito)
Groupes : comp.lang.tclDate : 22. Jun 2025, 18:48:07
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <1039fkp$lhcg$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 6/21/2025 8:17 PM, Jonathan Kelly wrote:
Hi,
for starters, sorry - long post - but does the following trigger anything with someone that suggests what I should be looking for in my script?
Hard to say without a more complete code snippet and lots of time. I suspect your "after" callbacks are interfering with each other, perhaps over the log file access. You already have two in the sample code, and there may be more, in ClearExpired, saveSeen, etc. How large does the log file get?
Also note that the two errors do not seem to be related or due to the same root cause. The second one with http errors, do you have any handlers in there if the api is late in responding? You will need to add code to limit it (like max 5 tries or so) and then just give up on that call.