I use FreeCAD for a year or so. I love it.
Used 0.18 (from official Ubuntu repo I think) for a bit, then upgraded to 0.19 (from FreeCAD PPA repo). On 0.19 I've noticed that I can't use Arch workbench as I was getting some errors (I can't remember how it was on 0.18). Kind of forgot about it as I normally don't use Arch.
A few days ago updated it to 0.20.1 from official Ubuntu repo and now Arch and Draft are not working.
Draft workbench would be useful from time to time.
Straight after selecting one of these two workbenches I get the errors as below:
Error pop-up with message:
Workbench failure
<built-in function SoFieldContainer_getField> returned a result with an exception set
And Report view:
Code: Select all
22:08:59 Persistent toolbars: Snapper toolbar not managed.
22:08:59 <built-in function SoFieldContainer_getField> returned a result with an exception set
22:08:59 Traceback (most recent call last):
File "<string>", line 219, in Activated
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_snapper.py", line 1629, in show
self.setTrackers()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_snapper.py", line 1673, in setTrackers
self.grid = trackers.gridTracker()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_trackers.py", line 972, in __init__
pick.style.setValue(coin.SoPickStyle.UNPICKABLE)
File "/usr/lib/python3/dist-packages/pivy/coin.py", line 3989, in __getattr__
field = self.getField(name)
File "/usr/lib/python3/dist-packages/pivy/coin.py", line 3873, in getField
return _coin.SoFieldContainer_getField(self, name)
Code: Select all
22:41:50 Running the Python command 'Arch_Wall' failed:
Traceback (most recent call last):
File "/usr/share/freecad/Mod/Arch/ArchWall.py", line 337, in Activated
self.tracker = DraftTrackers.boxTracker()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_trackers.py", line 1249, in __init__
m.transparency.setValue(0.8)
File "/usr/lib/python3/dist-packages/pivy/coin.py", line 3989, in __getattr__
field = self.getField(name)
File "/usr/lib/python3/dist-packages/pivy/coin.py", line 3873, in getField
return _coin.SoFieldContainer_getField(self, name)
<built-in function SoFieldContainer_getField> returned a result with an exception set
Is anyone able to help fixing Arch and Draft workbenches please?
I remember 0.19 was working fine on my work PC with Windows 10. I recently upgraded that also to 0.20.1, so will check if that still works fine after the weekend.
My FreeCAD details are as below:
Code: Select all
OS: Ubuntu 22.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.1.
Build type: Release
Branch: unknown
Hash: 22f524c0c755003c12234fab1bad6a9f696b661a
Python 3.10.6, Qt 5.15.3, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.1
Locale: English/United Kingdom (en_GB)
Installed mods:
* kicadStepUpMod 10.16.5
* ExtremeProLight 1.1.3
* lattice2 1.0.0
* Defeaturing 1.2.0
* ExplodedAssembly
* fasteners 0.4.19