-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Description
This error message is way too long and confusing and could use some improvement to make it concise and easier for the user for the message to report the issue and help them debug.
File "C:\...\MIT\Python-SDK\src\cript\nodes\core.py", line 74, in __setattr__
raise CRIPTAttributeModificationError(self.node_type, key, value)
cript.nodes.exceptions.CRIPTAttributeModificationError: Attempt to modify an attribute of a node (Process) that wasn't intended to be modified.
Here the non-existing attribute properties of Process was attempted to be modified.
Most likely this is due to a typo in the attribute that was intended to be modified i.e. `project.materials` instead of `project.material`.
To ensure compatibility with the underlying CRIPT data model we do not allow custom attributes.
C:\...\MIT\Python-SDK\src\cript\nodes\primary_nodes\process.p
Metadata
Metadata
Assignees
Labels
No labels