i am running freecad on manjaro today i update my system<built-in function SoFieldContainer_getField> returned a result with an exception set
21:46:16 Traceback (most recent call last):
File "<string>", line 132, in Activated
File "/usr/lib/freecad/Mod/Draft/draftguitools/gui_snapper.py", line 1635, in show
self.setTrackers()
File "/usr/lib/freecad/Mod/Draft/draftguitools/gui_snapper.py", line 1679, in setTrackers
self.grid = trackers.gridTracker()
File "/usr/lib/freecad/Mod/Draft/draftguitools/gui_trackers.py", line 974, 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)
21:47:20 Persistent toolbars: Snapper toolbar not managed.
21:50:51 Persistent toolbars: Snapper toolbar not managed.
21:51:04 Persistent toolbars: Snapper toolbar not managed.
21:51:04 <built-in function SoFieldContainer_getField> returned a result with an exception set
21:51:04 Traceback (most recent call last):
File "<string>", line 132, in Activated
File "/usr/lib/freecad/Mod/Draft/draftguitools/gui_snapper.py", line 1635, in show
self.setTrackers()
File "/usr/lib/freecad/Mod/Draft/draftguitools/gui_snapper.py", line 1679, in setTrackers
self.grid = trackers.gridTracker()
File "/usr/lib/freecad/Mod/Draft/draftguitools/gui_trackers.py", line 974, 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)
error draft on manjaro
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
error draft on manjaro
when i switch to draft i get this error
-
- Posts: 124
- Joined: Wed Jun 19, 2019 7:44 pm
Re: error draft on manjaro
Your system is probably using python 3.10. Pivy (the Python interface to Coin3D, the library that generates the scene graph) is not yet available for that version of Python.
Re: error draft on manjaro
i downgrade to python3.9 now iam getting this error
freecad: error while loading shared libraries: libpython3.10.so.1.0: cannot open shared object file: No such file or directory
-
- Posts: 124
- Joined: Wed Jun 19, 2019 7:44 pm
Re: error draft on manjaro
This is because the version of FreeCAD you have installed (I suppose it was installed through the package manager) is linked to Python3.10.
To use Python3.9, the program must be linked to Python3.9.
So, or you compile the program again using Python3.9, or you can use an AppImage until the issue between pivy and Python3.10 is resolved.
To use Python3.9, the program must be linked to Python3.9.
So, or you compile the program again using Python3.9, or you can use an AppImage until the issue between pivy and Python3.10 is resolved.
- babaroga
- Posts: 180
- Joined: Sun Aug 14, 2016 6:52 pm
- Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina
Re: error draft on manjaro
Hello,
With pivy built from git , Draft and Arch workbenches load again. Also, there is new Pyside2 5.15.2.1.
After brief testing I didn't get any errors.
With pivy built from git , Draft and Arch workbenches load again. Also, there is new Pyside2 5.15.2.1.
After brief testing I didn't get any errors.
Code: Select all
OS: Manjaro Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.27194 (Git)
Build type: Release
Branch: master
Hash: 1e4da60367a7aa52793c3cc5ee567dcc9bce91ac
Python version: 3.10.1
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United States (en_US)