Skip to content
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

Cannot save OD file using GUI Objdictedit when trying to remove a RPDO #50

Open
BriacLR opened this issue Oct 8, 2024 · 0 comments
Open

Comments

@BriacLR
Copy link

BriacLR commented Oct 8, 2024

I am trying to remove one object and its associated RPDO from the OD using the GUI, but cannot save the file. Here is the error message:


Traceback (most recent call last):
File "C:\git\python-objdictgen\venv\Lib\site-packages\objdictgen\ui\objdictedit.py", line 461, in Save
result = self.Manager.SaveCurrentInFile(sort=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\git\python-objdictgen\venv\Lib\site-packages\objdictgen\nodemanager.py", line 298, in SaveCurrentInFile
node.DumpFile(filepath, filetype=ext, **kwargs)
File "C:\git\python-objdictgen\venv\Lib\site-packages\objdictgen\node.py", line 224, in DumpFile
jdata = self.DumpJson(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\git\python-objdictgen\venv\Lib\site-packages\objdictgen\node.py", line 239, in DumpJson
return jsonod.generate_jsonc(
^^^^^^^^^^^^^^^^^^^^^^
File "C:\git\python-objdictgen\venv\Lib\site-packages\objdictgen\jsonod.py", line 356, in generate_jsonc
jd, objtypes_s2i = node_todict(
^^^^^^^^^^^^
File "C:\git\python-objdictgen\venv\Lib\site-packages\objdictgen\jsonod.py", line 488, in node_todict
validate_indexentry(ientry)
File "C:\git\python-objdictgen\venv\Lib\site-packages\objdictgen\jsonod.py", line 870, in validate_indexentry
raise ValidationError(f"Excessive params, or too few dictionary values: {excessive}")
objdictgen.jsonod.ValidationError: Index 0x1401 (5121): Excessive params, or too few dictionary values: {1: {'comment': 'From the headtilt jawthrust module (0x12)'}}


For context, I am trying to remove some objects related to something called "headtilt jawthrust", and the RPDO to remove was at address 0x1401.

Thanks for your help,
Briac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant