FreeCAD-Gridfinity-Workbench icon indicating copy to clipboard operation
FreeCAD-Gridfinity-Workbench copied to clipboard

Errors saving

Open mhr320 opened this issue 1 year ago • 2 comments

Hello. Excellent Workbench. Thank you so much. I am using it daily. I have noticed after creating the workbench in Freecad 0.21.2 and maybe in the previous release as well, but can't remember for sure, I am receiving errors from Python that "Object of type ViewProvider is not JSON serializable. I have included a screenshot and bought 3 coffee's for your troubles. Again, thank you for making this workbench. I don't know enough yet about Freecad to know if this is an issue with my install. I am using Debian. I will say regardless of the errors, I am able to save in Freecad and export my .stl files without further problems. The errors occur only after I create the gridfinity object. Screenshot from 2024-09-23 13-45-56

mhr320 avatar Sep 23 '24 17:09 mhr320

Thanks for your support it is very much appreciated.

Unfortunately I don't have an answer for this either. There was a previous issue with this a couple of weeks ago, and they said that the problem disappeared after upgrading to 1.0 Release candidate so it should be resolved in the next release.

Seems to just be a bug with that version https://forum.freecad.org/viewtopic.php?t=86423

If you encounter any functionality problems let me know, I will see what I can do but I am not that familiar with that section of code, I borrowed it from the FreeCAD gears workbench.

Stu142 avatar Sep 23 '24 18:09 Stu142

Thanks for getting back to me and I wish I could donate more :). I will keep an eye out for the update.

mhr320 avatar Sep 23 '24 18:09 mhr320

It seems like this is no longer an issue so I am going to close this one, but please feel free to open another if you do encounter it.

Stu142 avatar Jan 12 '25 19:01 Stu142