Page 1 of 1

Analyse tool error

Posted: Sun Mar 05, 2017 8:01 pm
by filutza
Hello everyone,
I would like to use OpenSim for my research, and I am reading and trying out all the Examples and Tutorials from OpenSim documentation. I did not have any problems until I start with Analyze tool. I am not experienced in troubleshooting OpenSim and the error below does not let me sleep. Any help/suggestions will be highly appreciated.

Exception:
Storage: ERROR- failed to open file
ResultsStaticOptimization\subject01_StaticOptimization_force.sto
file= C:\Dev\OpenSim321\src\opensim32\OpenSim\Common\Storage.cpp
line= 127

Thank you very much.
Filuta

Re: Analyse tool error

Posted: Mon Mar 06, 2017 2:52 am
by tkuchida
The file could not be opened, probably because it couldn't be found. Here's the code that throws the Exception (Storage.cpp, lines 126–127):

Code: Select all

ifstream *fp = IO::OpenInputFile(aFileName);
if(fp==NULL) throw Exception("Storage: ERROR- failed to open file " + aFileName, __FILE__,__LINE__);
Does it work if you provide a full path to subject01_StaticOptimization_force.sto (e.g., "C:\…") rather than a relative path?

Re: Analyse tool error

Posted: Mon Mar 06, 2017 6:43 am
by filutza
Dear Tom,
Thank you very much for your prompt answer. I have managed to fix the problem following your second suggestion.
Kind rgards,
Filuta