FreeCAD Mesh with Arch Linux.

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
keithsloan52
Veteran
Posts: 2756
Joined: Mon Feb 27, 2012 5:31 pm

FreeCAD Mesh with Arch Linux.

Post by keithsloan52 »

I have a user who is having a problem with my GDML workbench using a version of FreeCAD on Arch Linux.

It is failing with

Code: Select all

14:45:25  Running the Python command 'TessellateCommand' failed:
Traceback (most recent call last):
  File "/home/gipert/.FreeCAD/Mod/GDML/freecad/gdml/GDMLCommands.py", line 1139, in Activated
    mesh = MeshPart.meshFromShape(Shape=shape,Fineness=2,\

Wrong arguments
But I am not seeing the same problem on FreeCAD 0.19.2 or 0.19.3 or 0.20 or LinkStage3 Daily all on MacOS

see https://github.com/KeithSloan/GDML/issues/74
User avatar
ipatch
Posts: 112
Joined: Wed Apr 08, 2020 3:40 pm
Location: dfw
Contact:

Re: FreeCAD Mesh with Arch Linux.

Post by ipatch »

i'll take a shot in the dark here.

pretty sure arch linux switched to python 3.10 recently. and freecad has deps that are not compatible with python 3.10 ie. pyside2 to be specific. pyside2 is a heavy runtime dep in freecad, so if freecad calls some functions related to pyside and your user has his system setup to use python 3.10 then things will not work.

you also might want to post the output of the about freecad window. there's a convenient "copy to clipboard" button that may help in diagnosing the specific issue.
keithsloan52
Veteran
Posts: 2756
Joined: Mon Feb 27, 2012 5:31 pm

Re: FreeCAD Mesh with Arch Linux.

Post by keithsloan52 »

ipatch wrote: Sun Jan 16, 2022 5:58 pm i'll take a shot in the dark here.

pretty sure arch linux switched to python 3.10 recently. and freecad has deps that are not compatible with python 3.10 ie. pyside2 to be specific. pyside2 is a heavy runtime dep in freecad, so if freecad calls some functions related to pyside and your user has his system setup to use python 3.10 then things will not work.

you also might want to post the output of the about freecad window. there's a convenient "copy to clipboard" button that may help in diagnosing the specific issue.
The user did post that info to issue#74 but I repeat it here

Code: Select all

OS: Arch Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: makepkg
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
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)
Post Reply