You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to make an array out of a linked part in an assembly and try to save, I get the error:
20:36:37 PropertyPythonObject::toString(): failed for <class 'Asm4_objects.ExpressionArray'> 20:36:37 Traceback (most recent call last): File "C:\Program Files\FreeCAD 0.21\bin\lib\json\__init__.py", line 231, in dumps return _default_encoder.encode(obj) File "C:\Program Files\FreeCAD 0.21\bin\lib\json\encoder.py", line 199, in encode chunks = self.iterencode(o, _one_shot=True) File "C:\Program Files\FreeCAD 0.21\bin\lib\json\encoder.py", line 257, in iterencode return _iterencode(o, 0) File "C:\Program Files\FreeCAD 0.21\bin\lib\json\encoder.py", line 179, in default raise TypeError(f'Object of type {o.__class__.__name__} ' <class 'TypeError'>: Object of type FeaturePython is not JSON serializable 20:36:37 PropertyPythonObject::toString(): failed for <class 'Asm4_objects.ViewProviderArray'> 20:36:37 Traceback (most recent call last): File "C:\Program Files\FreeCAD 0.21\bin\lib\json\__init__.py", line 231, in dumps return _default_encoder.encode(obj) File "C:\Program Files\FreeCAD 0.21\bin\lib\json\encoder.py", line 199, in encode chunks = self.iterencode(o, _one_shot=True) File "C:\Program Files\FreeCAD 0.21\bin\lib\json\encoder.py", line 257, in iterencode return _iterencode(o, 0) File "C:\Program Files\FreeCAD 0.21\bin\lib\json\encoder.py", line 179, in default raise TypeError(f'Object of type {o.__class__.__name__} ' <class 'TypeError'>: Object of type ViewProviderLink is not JSON serializable
When trying to make an array out of a linked part in an assembly and try to save, I get the error:
20:36:37 PropertyPythonObject::toString(): failed for <class 'Asm4_objects.ExpressionArray'> 20:36:37 Traceback (most recent call last): File "C:\Program Files\FreeCAD 0.21\bin\lib\json\__init__.py", line 231, in dumps return _default_encoder.encode(obj) File "C:\Program Files\FreeCAD 0.21\bin\lib\json\encoder.py", line 199, in encode chunks = self.iterencode(o, _one_shot=True) File "C:\Program Files\FreeCAD 0.21\bin\lib\json\encoder.py", line 257, in iterencode return _iterencode(o, 0) File "C:\Program Files\FreeCAD 0.21\bin\lib\json\encoder.py", line 179, in default raise TypeError(f'Object of type {o.__class__.__name__} ' <class 'TypeError'>: Object of type FeaturePython is not JSON serializable 20:36:37 PropertyPythonObject::toString(): failed for <class 'Asm4_objects.ViewProviderArray'> 20:36:37 Traceback (most recent call last): File "C:\Program Files\FreeCAD 0.21\bin\lib\json\__init__.py", line 231, in dumps return _default_encoder.encode(obj) File "C:\Program Files\FreeCAD 0.21\bin\lib\json\encoder.py", line 199, in encode chunks = self.iterencode(o, _one_shot=True) File "C:\Program Files\FreeCAD 0.21\bin\lib\json\encoder.py", line 257, in iterencode return _iterencode(o, 0) File "C:\Program Files\FreeCAD 0.21\bin\lib\json\encoder.py", line 179, in default raise TypeError(f'Object of type {o.__class__.__name__} ' <class 'TypeError'>: Object of type ViewProviderLink is not JSON serializable
Freecad version: 0.21.2
Running on commit 83c713e
(Same error happens to v0.50.7)
The text was updated successfully, but these errors were encountered: