Hello community,
I was working on a model and was trying to add certain body segments to the model and when I compiled my XML file it gave this error can somebody help me here?
XML error
- Mahshida hamid
- Posts: 31
- Joined: Sun Jan 30, 2022 10:49 am
XML error
- Attachments
-
- Screenshot 2024-01-05 150439.png (62 KiB) Viewed 951 times
-
- Screenshot 2024-01-05 145657.png (10.89 KiB) Viewed 951 times
Tags:
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: XML error
It's difficult to diagnose the issue without more information about how to reproduce the error. If you are attempting to add body segments by modifying an existing osim file manually (e.g., in Notepad++), then there may be an error in one or more of the Socket paths. If you are attempting to add body segments using a script, then you may be missing a call to add a new ModelComponent to the Model, or you may be missing a call to initSystem(). Perhaps take a look at some of the example scripts for building models (e.g., buildWalker_Complete.m: https://github.com/opensim-org/opensim- ... Complete.m) or provide more information.
- Mahshida hamid
- Posts: 31
- Joined: Sun Jan 30, 2022 10:49 am
Re: XML error
hello professor,
I was modifying an osim file manually using notepad, i even fixed the socket paths but it is still showing the same error.
I was modifying an osim file manually using notepad, i even fixed the socket paths but it is still showing the same error.
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: XML error
This is not a recommended method for building models, particularly for OpenSim version 4.0 and later, since it is difficult to get all the details (syntax, component paths, etc.) correct. You might want to use the scripting interface (https://simtk-confluence.stanford.edu:8 ... evelopment). OpenSim Creator is another option (https://opensimcreator.com/).I was modifying an osim file manually using notepad