If Salome fails during parameterized case update with a different parameter value or if you are not able to run a case made from STEP files which have been sent to you, the Salome file might be corrupted.
In this article we will go over the steps needed to resolve the issue with corrupted Salome case.
1. Dump Study
Open your case in Salome and use function File → Dump Study, then save python file.
2. Correct the case
Depending on the case you need to make one or both corrections to your python file.
If you cannot run a case which has been sent to you and was made from STEP files, you need to manually change the paths to these files to the absolute paths on your comupter. Open the python file in editor such as Notepad++ and change the original paths to STEP files to absolute paths on your computer.
IMPORTANT: Pay attention to the slash direction in your path, it should include "/", not "\".
Sometimes the Dump Study function will create faulty python files. Check if your python file contains lines which starts with [ , , , , , , , , , , ] and delete them.
IMPORTANT: This can occur for both sent cases and parameterized cases.
3. Close case
In Salome open a new study by clicking File → New. You now have a new study opened in Salome.
4. Load script
Load the case with correct paths by clicking File →Load Script. Select the python file you created in Step 1, and load the case.
Now you can run the case on your computer!