Upon installing BIM addon via Addon manager, upon opening FC reports the following:
Code: Select all
07:59:54 Init: Initializing /home/user5/.local/share/FreeCAD/Mod/BIM/./... done
07:59:54 Failed to get handle to BIM -- no icon can be generated, check classname in package.xml
07:59:54 Init: Initializing /home/user5/.local/share/FreeCAD/Mod/BIM.backup1663099179.6010296(InitGui.py not found)... ignore
FC attempts to initialise this backup folder but fails because there's nothing in it.
To test further, I uninstalled BIM, deleted the local folders left in /home/user5/.local/share/FreeCAD/Mod and cleanly re-installed it via the AddOn Manager with similar results.
Secondly, it appears that the definition of <classname> in package.xml ("BIM") does not match the given classname in InitGui.py ("BIMWorkbench").
This difference in <classname> contradicts that as given for package.xml as detailed https://wiki.freecadweb.org/Package_Metadata.
Temporarily changing the <classname> locally in package.xml to "BIMWorkbench" gets rid of this issue.
As always the machine details at the bleeding edge:
Code: Select all
OS: Linux Mint 20.3 (X-Cinnamon/cinnamon2d)
Word size of FreeCAD: 64-bit
Version: 0.21.30362 (Git)
Build type: Release
Branch: master
Hash: 061ec7f7b4b77f26c17e11c4fb0f83d3e0f95fe8
Python 3.8.10, Qt 5.12.8, Coin 4.0.1, Vtk 7.1.1, OCC 7.3.0
Locale: English/New Zealand (en_NZ)
Installed mods:
* BIM 2021.12.0
* BIM.backup1663099179.6010296