-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Model fails to load: bouncing_block.osim #68
Comments
Check if it opens on master, if yes then likely this has been fixed in core, will test after upgrading if not then open an issue for opensim-core. Thanks @tkuchida |
The following works on master: auto Model = model("bouncing_block.osim");
model.finalizeFromProperties(); //throws exception if this line is omitted
model.printSubcomponentInfo(); |
The GUI workflow invokes initSystem (which implicitly calls finalizeFromProperties), the change to require the new call finalizeFromProperties was not in the alpha code base, so I'd expect the issue to go away with upgrading API. Would be great though to try opening other models from the GUI-alpha distribution using master so that any necessary fixes are incorporated into the API core beta. Thanks much @tkuchida for investigating 🥇 |
All models in Test code auto model = Model(filename);
model.finalizeFromProperties();
model.printSubcomponentInfo(); Model files tested |
Awesome, excellent job @tkuchida 👍 |
Moved to "needs verifying" list for testing in the next GUI build |
Still unable to open bouncing_block.osim with opensim_devWin64_060217.zip (same dialog box as @aymanhab noted on Apr 3 post, above). |
Tested again using opensim_win64_070517_2.zip on Windows 7. Error message is identical to what Ayman posted above (Apr 3). Contents of Messages window: ModelVisualizer ignoring 'Unassigned'; only .vtp .stl and .obj files currently supported. ModelVisualizer ignoring 'Unassigned'; only .vtp .stl and .obj files currently supported. ModelVisualizer ignoring 'Unassigned'; only .vtp .stl and .obj files currently supported. ModelVisualizer ignoring 'Unassigned'; only .vtp .stl and .obj files currently supported. ModelVisualizer ignoring 'Unassigned'; only .vtp .stl and .obj files currently supported. ModelVisualizer ignoring 'Unassigned'; only .vtp .stl and .obj files currently supported. ModelVisualizer ignoring 'Unassigned'; only .vtp .stl and .obj files currently supported. Updating Model file from 20303 to latest format... Loaded model toy_with_forces from file C:\Users\tkuchida\GitHub - GUI 4.0 alpha04\opensim\Models\BouncingBlock\bouncing_block.osim |
This obviously isn't a GUI issue until corresponding API issue is resolved |
Issue moved to opensim-org/opensim-core #1856 via ZenHub |
Platform: Win 7 Pro 64-bit
Version: opensimWin64Alpha01.zip
OPENSIM_HOME environment variable: Points to 3.3 directory
Error message
![err1](https://cloud.githubusercontent.com/assets/4203505/23527487/fd13bb74-ff4a-11e6-8827-a93955b360d3.png)
"Messages" window
The text was updated successfully, but these errors were encountered: