Public bug reported: Freecad does not load workbenches like draft and others in Ubuntu 22.04 LTS with Python3 as default. Ubuntu 22.04 has python 3.10 and it appears there is a breaking change there:
https://groups.google.com/g/linux.debian.bugs.dist/c/77OUZs8MJNs?pli=1 The error that is thrown is : <built-in function SoFieldContainer_getField> returned a result with an exception set Traceback (most recent call last): File "<string>", line 433, in Activated File "/usr/share/freecad/Mod/Draft/draftguitools/gui_snapper.py", line 1635, in show self.setTrackers() File "/usr/share/freecad/Mod/Draft/draftguitools/gui_snapper.py", line 1679, in setTrackers self.grid = trackers.gridTracker() File "/usr/share/freecad/Mod/Draft/draftguitools/gui_trackers.py", line 974, 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) Expect to happen : loading draft workbench, no error. Also happens when enabling raster, the raster does not load. The above link show this issue to be fixed : https://github.com/coin3d/pivy/pull/91 and tracked upsgream at https://github.com/coin3d/pivy/issues/88 so likely just needs a freecad upgrade here. ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: freecad 0.19.2+dfsg1-3ubuntu1 ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30 Uname: Linux 5.15.0-25-generic x86_64 NonfreeKernelModules: wl ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Tue Apr 26 11:53:09 2022 InstallationDate: Installed on 2019-12-17 (860 days ago) InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017) PackageArchitecture: all RebootRequiredPkgs: Error: path contained symlinks. SourcePackage: freecad UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: freecad (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug jammy wayland-session -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970396 Title: freecad pivy dependency broken python 3.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/freecad/+bug/1970396/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs