I am running into an issue where Mech-Vision has seemed to be latched onto an older version of a python script I made and will not update to the newest one. When running the scripts separately outside of Mech-Vision to test and debug, everything is working as intended, but not when I run it inside of Mech-Vision.
Here is what I have tried so far to fix the issue:
Shut down and restarted Mech-Vision
Shut down and restarted my laptop
Checked the “Reload File” Execution Flag for the Calc Results by Python step
Removed the Calc Results by Python step and added a new one, connecting it with the necessary steps and python script
Checked the file path for the correct python script
I do not know what else to test or try with this and it is very problematic for what I need it to do.
Any support on this issue would be greatly appreciated!
I am not getting an error message at all. I am only finding this out due to running the code in a separate IDE with test data and can see that it is working properly. However, when running the same code in Mech-Vision’s “Calc Results by Python” step, it is acting as if it is using an old version of the code. My code is supposed to be annotating the image based on specific data coming in, but it is still handling it as it did with an older version of a script I made a while ago.
I am wondering how to make sure it is using the most recent and up-to-date version of my Python code. Is there a cache I can clear so I know it is not holding onto an older version?
I found the issue I was having. It was a slight difference in the numerical values I was working with from the Mech-Vision data and my test data. Once that was figured out, everything is working as intended now.
Thank you for responding and being willing to help!