Hello,
I'm having the following error when trying to open any model:
It may not exist or you do not have permission to read it.
Thrown at Object.cpp:105 in Object().
I've already tried to reinstall the program and I've tested it on version 4.2, but the error remains.
Thanks in advance for the support.
Open Model Error
- Beatriz Hörmanseder
- Posts: 2
- Joined: Fri Jun 05, 2020 9:17 am
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Open Model Error
Hello,
The error line you reported refers to file opening while trying to read a model file. The likely problem is that the file path for the model has non US ascii characters. If you copy the folder "${USER}\Documents\OpenSim\4.2\Models" to a different folder (e.g. "C:/OpenSimFiles/Models") and retry that should take care of the problem. That should hold for all versions of OpenSim.
Instead of copying the folder by hand you can type "installResources()" at the scripting shell and select a folder that has only US ascii characters "e.g. C:/OpenSimFiles/" to place the code and models and proceed from there.
Please let us know how that goes,
-Ayman
The error line you reported refers to file opening while trying to read a model file. The likely problem is that the file path for the model has non US ascii characters. If you copy the folder "${USER}\Documents\OpenSim\4.2\Models" to a different folder (e.g. "C:/OpenSimFiles/Models") and retry that should take care of the problem. That should hold for all versions of OpenSim.
Instead of copying the folder by hand you can type "installResources()" at the scripting shell and select a folder that has only US ascii characters "e.g. C:/OpenSimFiles/" to place the code and models and proceed from there.
Please let us know how that goes,
-Ayman
- Beatriz Hörmanseder
- Posts: 2
- Joined: Fri Jun 05, 2020 9:17 am
Re: Open Model Error
Thank you very much for the support, as soon as I changed the directory folder I was able to open the model.
Best Regards,
Best Regards,