08-18-2024 11:58 PM
Error Message:Error in 'ModuleDir'. 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: -17311]
08-19-2024 10:48 PM
Any help on fixing this would be greatly appreciated. Thank you
08-23-2024 01:20 AM
These Python calls are for methods with Selenium automation and the parameter I am passing across these various calls is the python webdriver element which returned from my previous calls. Here I see the first 2 calls are successful and from the 3rd method call onwards there is Python interpreter crash. My selenium version is 4.22 and Python version is 3.10. I have tried it with both test stand 2020 and 2021. Also tested with Chrome browser and Edge browser. Other python method calls which does not include Selenium works absolutely fine. Any help on this will be highly appreciated. Data type used for webdriver element in test stand is "Object reference"
05-21-2025 12:30 AM
I have the same Problem -more or less. I deleted my Python Call and created again that worked. But If I ran another Python File I got the same Problem again. So maybe it helps you.
Could you fix it ?
05-21-2025 12:58 AM
I couldn't really solve the problem. In my case, I was seeing this error as long I was passing the Python Object as parameter. I handle this with a work around. I am still looking for a solution
05-21-2025 02:02 AM
I think that is a Teststand bug.
I got 3 Projects where I use different Python Classes, but I call them all the same way.
In 2 of those Projects everything just works fine, but in 1 I got this error all the time.
After I used a GUI...
(Teststand 2019 32Bit; Python 3.6 32 Bit)
06-18-2025 01:11 AM
I’ve solved the problem. I was using a CSV file with a relative path, but it only works when I use an absolute path.