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?
OpenSim 4.5.1 - error when running consecutive Analyze
- Ekaterina Stansfield
- Posts: 10
- Joined: Mon Jul 03, 2017 5:37 am
- Ayman Habib
- Posts: 2252
- Joined: Fri Apr 01, 2005 12:24 pm
Re: OpenSim 4.5.1 - error when running consecutive Analyze
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
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
- Ekaterina Stansfield
- Posts: 10
- Joined: Mon Jul 03, 2017 5:37 am
Re: OpenSim 4.5.1 - error when running consecutive Analyze
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.
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.
- Ayman Habib
- Posts: 2252
- Joined: Fri Apr 01, 2005 12:24 pm
Re: OpenSim 4.5.1 - error when running consecutive Analyze
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
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