When trying to utilize the new tool library, I run into an error, both when modifying a tool, and when trying to close the library. This results in no tools in the library the next time I open the library.
When closing the library, I get the following error:
16:06:37 Traceback (most recent call last):
16:06:37 File “C:\Program Files\FreeCAD 0.19Beta\Mod\Path\PathScripts\PathToolBitLibraryGui.py”, line 611, in libraryOk
16:06:37 self.librarySave()
16:06:37 File “C:\Program Files\FreeCAD 0.19Beta\Mod\Path\PathScripts\PathToolBitLibraryGui.py”, line 607, in librarySave
16:06:37 with open(self.path, ‘w’) as fp:
16:06:37 TypeError: expected str, bytes or os.PathLike object, not NoneType
This prevents closing the library, the only way to get it to close is the X in the upper right corner, but this fails to save the library.
Similarly, if I try to create a new bit, it makes a new bit based on an existing shape. I then edit by double-clicking on the bit, adjust the parameters to the new bit desired size, then hit OK and I get this error:
16:12:42 Traceback (most recent call last):
16:12:42 File “C:\Program Files\FreeCAD 0.19Beta\Mod\Path\PathScripts\PathToolBitLibraryGui.py”, line 517, in accept
16:12:42 self.librarySave()
16:12:42 File “C:\Program Files\FreeCAD 0.19Beta\Mod\Path\PathScripts\PathToolBitLibraryGui.py”, line 607, in librarySave
16:12:42 with open(self.path, ‘w’) as fp:
16:12:42 TypeError: expected str, bytes or os.PathLike object, not NoneType
I can cancel out of the tool parameters, and if I double-click the tool again I see it is updated. But, again, if I close the library it is lost.
It appears to me these errors are all to do with the library. I have tried opening existing libraries (none found), and creating new ones.
Thanks
Chuck
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23578 (Git)
Build type: Release
Branch: master
Hash: 50c3cbf00579dc4941ca743c25720d016b0453ce
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)

