Vishnu
Ansys Employee

When you have referred a python file path in your python code object ,the python file is copied to your working directory like below

image

One test  is check if the python file exist in the working directory

 

and check if the solver file refers the path right like below:

Export XML file (DFSXML) and 

image

check for the python code path in the file

image

My suspicion is there could be some copy rights violations going on and its not able to find that python file from path.

Also check if path is something abnormal (Too long, or some special charecters and so on)