Skip to main content
Solved

When I wanted to run the Standardalone file link Zemax in Python, this error message popped up when I created the StandardAlone Application.

  • August 31, 2022
  • 1 reply
  • 56 views

pumpkin

failed to launch C:\Users\86137\Documents\Zemax\ZOS-API Projects\PythonStandaloneApplication\PythonStandaloneApplication.sln:the operation was canceled by user

And when I run the  file get. I meet the error like this.

I wonder if there is something missing or something wrong.

Best answer by MichaelH

This is weird since it looks like you’re getting a Windows error and not a Python error.

From a quick search of “ANOMALY: use of REX.w is meaningless”, this appears to be a corrupt low-level JAVA issue; it’s common that this is as either a hardware driver issue or an anti-virus issue.  It appears that AMD GPU’s and TrendMicro AV are common culprits...since ZOS doesn’t rely on GPU, I would suspect it's maybe an anti-virus issue.  However, other low level JAVA programs could also cause this issue.  Can you temporarily disable your AV and see if you can get it to run? 

View original
Did this topic help you find an answer to your question?

1 reply

MichaelH
Ansys Staff
Forum|alt.badge.img+2
  • Ansys Staff
  • 348 replies
  • Answer
  • August 31, 2022

This is weird since it looks like you’re getting a Windows error and not a Python error.

From a quick search of “ANOMALY: use of REX.w is meaningless”, this appears to be a corrupt low-level JAVA issue; it’s common that this is as either a hardware driver issue or an anti-virus issue.  It appears that AMD GPU’s and TrendMicro AV are common culprits...since ZOS doesn’t rely on GPU, I would suspect it's maybe an anti-virus issue.  However, other low level JAVA programs could also cause this issue.  Can you temporarily disable your AV and see if you can get it to run? 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings