I'm developing a unified container interface object, and Py bindings for it.
I've made some progress, and now that I've added Py bindings, I get an assertion fail in Python garbage collector on FreeCAD startup: This happens almost instantly.
If I click Skip twice, FreeCAD starts up, and appears to function normally. The new Py interface, available as App.Containers.Container() seems to function as expected. I get some errors though: TabBar fails to appear, and
The new Py interface isn't used anywhere yet, apart from being added to App, so I'm puzzled as to where it might come from. I have a suspect it may be in master too... I just haven't investigated much yet.Traceback (most recent call last):
File "T:\_vt\dev\PC\Qt\FreeCAD\build-debug\Mod\Tux\PersistentToolbarsGui.py", line 237, in onStart
onWorkbenchActivated()
File "T:\_vt\dev\PC\Qt\FreeCAD\build-debug\Mod\Tux\PersistentToolbarsGui.py", line 225, in onWorkbenchActivated
active = Gui.activeWorkbench().__class__.__name__
AssertionError: No active workbench
Traceback (most recent call last):
File "<string>", line 255, in guiUp
File "<string>", line 246, in getSelectorActionGroup
IndexError: list index out of range
But if anyone has a clue on what's going on, let me know please.
Code:
https://github.com/DeepSOIC/FreeCAD-ell ... e0d8feb14b