Page 1 of 1

Cannot open .osim models

Posted: Thu Mar 26, 2020 5:49 pm
by charleskhazoom
Hi,

I am using OpenSim4.1. I am having trouble opensim .osim model files downloaded. The project was originally from OpenSim 3.3. The error message says : Cannot open file PATH_TO_FILE. It may not exist or you do not have the permission to read it. Thrown at object.cpp: 105 in Object(). Is there a workaround to this issue ? Should I downgrade to Opensim 3.3 ?

Thank you for your help,

Charles

Re: Cannot open .osim models

Posted: Thu Mar 26, 2020 5:56 pm
by aymanh
Hello,

The message suggests the file can't be opened which is different from issues while parsing the file or processing the model.

If using Matlab or scripting, make sure you're either using the full absolute path to the model file or that your current directory contains the model file.
Other possible issues:
- File path contains non us-ascii characters.
- Path is too long, copy the osim file near the root folder of the drive and retry.

Please let us know how that goes,
-Ayman