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

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Peter Bishop
Posts: 21
Joined: Thu Aug 28, 2014 10:47 pm

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

Post by Peter Bishop » Mon Nov 05, 2018 12:23 am

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.
Attachments
Varanus_varius_forelimb_var1.osim
(109.77 KiB) Downloaded 6 times

Tags:

User avatar
Christopher Dembia
Posts: 506
Joined: Fri Oct 12, 2012 4:09 pm

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

Post by Christopher Dembia » Mon Nov 05, 2018 12:56 am

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.

User avatar
Peter Bishop
Posts: 21
Joined: Thu Aug 28, 2014 10:47 pm

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

Post by Peter Bishop » Mon Nov 05, 2018 2:59 am

Ah, got it working now. Thanks!

POST REPLY