Open VincentFrangi opened 2 years ago
Not exactly sure about the cause, but maybe you can try to recompile pivy the Coin3D python binding.
Hi, same here on Archlinux when I try to open Draft WB
09:46:12 Traceback (most recent call last):
File "<string>", line 147, in Activated
File "/usr/lib/freecad/Mod/Draft/draftguitools/gui_snapper.py", line 1637, in show
self.setTrackers()
File "/usr/lib/freecad/Mod/Draft/draftguitools/gui_snapper.py", line 1681, in setTrackers
self.grid = trackers.gridTracker()
File "/usr/lib/freecad/Mod/Draft/draftguitools/gui_trackers.py", line 987, in __init__
pick.style.setValue(coin.SoPickStyle.UNPICKABLE)
File "/usr/lib/python3.10/site-packages/pivy/coin.py", line 3989, in __getattr__
field = self.getField(name)
File "/usr/lib/python3.10/site-packages/pivy/coin.py", line 3873, in getField
return _coin.SoFieldContainer_getField(self, name)
09:46:12 <built-in function SoFieldContainer_getField> returned a result with an exception set
Draft wb not working at all. Coin3D recompiled from Yours git, pivy compiled from official git.
Freecad
OS: Arch Linux (GNOME/gnome)
Word size of FreeCAD: 64-bit
Version: 0.20.30728 (Git)
Build type: Release
Branch: makepkg
Hash: f952471510afa085537918569f6298ba3fceb565
Python version: 3.10.1
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: Polish/Poland (pl_PL)
Looks like FreeCAD is not ready for Python 3.10 yet, mostly due to lack of support in third-party libraries. See here.
Exactly, it is related to this issue coin3d/pivy#88 I hope someone will take care of it, because lot of arch and fedora users seems unable to use FreeCad now
There is a snap package for @realthunder fork as well as two packages for mainstream version. https://snapcraft.io/freecad-realthunder
It took me about 5 minutes to install freecad from here (I'm arch linux user) and it works great.
Privy 0.6.7 supports python 3.10 https://github.com/coin3d/pivy/issues/88#issuecomment-1140696850
I just upgrade my system and got now Python 3.10.1
After recompiling FreeCAD LinkDaily got theses error in the report view on editing my projects:
Here when I try the draft line tool:
FreeCAD
Thanks, Vincent