Page 1 of 1

Error loading model in OpenSim 4.0 (but it works in 3.3)

Posted: Mon Nov 05, 2018 12:23 am
by peterbishop
Hello all,
I've been moving over from OpenSim 3.3 to 4.0 and have encountered an issue when trying to load my models into v4.0. This problem is not restricted to just one computer; I've hit the issue regardless of the computer I'm using. When I try to open the model, I get the following error:

--------------------------------------------------------------------------------------------
Could not construct a model from [insert model file name here]. Possible reasons: syntax error or unsupported format.

DETAILS:
Component 'Left_carpals+metacarpals' of type Body contains invalid characters of: '\/*+'.
Thrown at component.cpp:173 in finalizeFromProperties().
--------------------------------------------------------------------------------------------


I haven't changed the model at all and they load perfectly fine in 3.3, so at the moment I'm stumped. I've attached the model file in case anybody wants to see if they can repeat the error.

Could anybody please enlighten me on what's going on? Many thanks in advance!

Peter Bishop.

Re: Error loading model in OpenSim 4.0 (but it works in 3.3)

Posted: Mon Nov 05, 2018 12:56 am
by chrisdembia
Unfortunately, you may need to make minor changes to your model file for it to load in 4.0. We no longer allow certain symbols in the names of components. In this case, you have + Left_carpals+metacarpals, and this is no longer permitted.

Re: Error loading model in OpenSim 4.0 (but it works in 3.3)

Posted: Mon Nov 05, 2018 2:59 am
by peterbishop
Ah, got it working now. Thanks!