04-13-2020 10:44 AM - edited 04-13-2020 11:37 AM
I'm running a python step in teststand that the only thing that is doing is trying to ssh to a specific IP, if this IP is not present in the network python will give you an error related to "socket.timeout: timed out" which is expected, the problem is when you try to run any python step again you'll get the following message:
Error: Python interpreter session crashed. If a console is displayed, closing the console will crash the interpreter. Complete all the executions, unload all modules and retry executing the sequence file.[Error Code: -17500, Operation Failed. ]
In this case you would need to stop your sequence and unload all the modules to continue running, is there a way to avoid this problem and keep getting any error that could happen in python?
Teststand 2019 and Python 3.7
Thanks
10-05-2020 11:08 AM
Hey JZam,
What are you doing in your module call? Call a Method?
I got the same error and for me it was because I had some "test code" outside my function definition. As soon as I deleted that, it was fine.
Cheer, Niko
03-08-2022 11:18 AM
In my case I found one of the import libraries was not working ok,
Try commenting import lines until you find the one making it crash