I've started working on an automation script that already had some code in it. When I tried to run it, I noticed it was running for a long time. Upon further investigation using engine.Log(), I found an infinite loop in a function that was being called. After handling that issue and getting rid of the infinite loop, I ran my automation script again and it completed successfully, but when I opened the logs all I could see were the logs from the infinite loop that was running before I fixed it. Now when I run the automation script and try to log something, nothing gets logged.
As you can see the logging is basically stuck for ~2h
Also I'm on a virtual machine connected to a DMA using only Cube. I don't have access to C:\Skyline DataMiner
Hi Ibrahim,
The SLAutomation log has most likely started overwriting the previous log lines due to the large amount of them. You can find the most recent log line by searching for the separator '**********'. (CTRL + F). I would expect that there are two occurrences. One at the bottom of the file and one under the latest line.
Hi Ibrahim,
Could it be the case that the script with the infinite loop is still running?
You can check which scripts are running via SLNetClientTest tool. To see the list of scripts running, you will need to go to Advanced -> Automation -> Running Scripts. If the script is still running you can abort a running automation script.
Hope it helps.
This would be the first thing to check. If you still can’t see the expected lines after that. Check out my response.