Page 1 of 1
OpenSim 4.5.1 - error when running consecutive Analyze
Posted: Tue Aug 27, 2024 11:03 am
by ebulygin
Hello,
I am using OpenSim with Python. Previousely, I was able to run several Static Optimization analyses using the Analyze tool consecutively. It is no longer possible in the new OpenSim 4.5 Python package. When moving on to the next trial, the Kernel crashes with the following error:
"SWIG director method error. Error detected when calling 'LogSink.sinkImpl''
Is it a known problem?
Does a fix exist?
Re: OpenSim 4.5.1 - error when running consecutive Analyze
Posted: Tue Aug 27, 2024 12:06 pm
by aymanh
Hi Ekaterina,
Thanks for reporting, looking at the change log nothing stands out as potential reason for this change of behavior other than possibly using a different python version/environment.
Please open an issue and provide a description of your environment (Python distribution/version, IDE if any etc.) and a short script to reproduce the problem and we'll investigate.
Is there a reason to think this is model specific or environment specific?
Thank you,
-Ayman
Re: OpenSim 4.5.1 - error when running consecutive Analyze
Posted: Fri Aug 30, 2024 6:53 am
by ebulygin
Hello Ayman -- I do not seem to have the permission to open an issue. How do I get it?
Meanwhile, I tried running MocoInverse. It which crashes with
Disposing session as kernel process died ExitCode: 3221225477, Reason: Warning: intermediate_callback is disfunctional in your installation. You will only be able to use stats(). See
https://github.com/casadi/casadi/wiki/e ... ptCallback to enable it.
Unfortunately, the link provided by the error message is not helpful to a non-specialist.
I created a fresh python 3.11 environment with OpenSim 4.5.1.
Re: OpenSim 4.5.1 - error when running consecutive Analyze
Posted: Fri Aug 30, 2024 9:04 am
by aymanh
Hi Ekaterina,
If you have the application installed, you can go to the help->Report a bug option, just make sure to describe the environment you're using and include any model/data/minimal code files necessary to reproduce.
If you're on github you can open a new issue on the repository
https://github.com/opensim-org/opensim-core/
You may need to be logged in to create the issue/bug-report.
-Ayman