Closed sprhawk closed 5 months ago
I did see that "toString(): failed" when saving doc. I dont know that it broke but looks saving works. Can you fix that error?
I did see that "toString(): failed" when saving doc. I dont know that it broke but looks saving works. Can you fix that error?
I'm still not familiar with FreeCAD plugin dev, I need to learn why use FeaturePython, then can give a solution for that.
I did see that "toString(): failed" when saving doc. I dont know that it broke but looks saving works. Can you fix that error?
I have no clue to debug it. It seems set a property to JointProxy or ViewProviderDocumentObject with TypeError
, but I don't know which is.
This JSON serialization is something new and I still need to figure out how to solve it. Help welcome!
@galou Looks like it is related to https://forum.freecad.org/viewtopic.php?t=84305 and can be solve by change FC version to 0.21.1 or latest_dev_build or 0.21.3 (in future).
User of FreeCAD <= 0.21.1 should use https://github.com/galou/freecad.cross/releases/tag/fc_v0.21.1.
A few more commits may be compatible but I'm going to remove the __setstate__
and __getstate__
functions.
https://github.com/galou/freecad.cross/blob/a138f1aa482b3da99e6ccb096891cf947f72e65a/freecad/cross/robot_proxy.py#L668