Script Factory Java Error

Chris Thode
Chris Thode Altair Community Member
edited November 2023 in Community Q&A

Hello,

I am interested in using script factory to automate some tests in FluxMotor 2022.3. I have exported the motor to a script, but when I open in script factory and try to run, I get the error shown below. Is there something in the settings that is preventing the program from running this java.exe?

Thanks,

Chris

Exception in thread "main" com.altair.fluxmotor.motorcommon.common.error.FmHidenException: System error#12 	at com.altair.fluxmotor.motorcommon.common/com.altair.fluxmotor.motorcommon.common.error.FmErrorManager.setThrowable(FmErrorManager.java:416) 	at com.altair.fluxmotor.motorcommon.common/com.altair.fluxmotor.motorcommon.common.error.FmErrorManager.setException(FmErrorManager.java:368) 	at com.altair.fluxmotor.motorcommon.common/com.altair.fluxmotor.motorcommon.common.error.FmErrorManager.catchAndThrowException(FmErrorManager.java:884) 	at com.altair.fluxmotor.motorcommon.pythonexecution/com.altair.fluxmotor.motorcommon.pythonexecution.wrapper.FluxMotorPythonWrapperScript.execfile(FluxMotorPythonWrapperScript.java:80) 	at com.altair.fluxmotor.fluxmotorstarter/com.altair.fluxmotor.fluxmotorstarter.FluxMotorBatch.launch(FluxMotorBatch.java:96) 	at com.altair.fluxmotor.fluxmotorstarter/com.altair.fluxmotor.fluxmotorstarter.FluxMotorBoot.main(FluxMotorBoot.java:57) Error to execute C:\Program Files\Altair\2022.3\flux\FluxMotor\Third_party\jre11\win64\bin\java: Operation not permitted 
Tagged:

Answers

  • Farid zidat_20516
    Farid zidat_20516
    Altair Employee
    edited November 2023

    Hello Chris;

     

    We are already iterating on this request, once we fixed it i will post here what goes wrong. For the moment the script can be launched in our side without any issue. Let's have a meeting and discuss.

     

    Regards

  • Farid zidat_20516
    Farid zidat_20516
    Altair Employee
    edited November 2023

    Hello Chris;

     

    As discussed during our last meeting, i put a comment here to let the communuty know that the issue was due to space character in the directory paths, this will be fixed for next version.

     

    Regards