Flair crashes when clicking on Geometry tab

Dear all,

I am encountering an issue with the Geometry module of Flair. In particular, I can open the Geometry module when I launch Flair without loading an input file and it works correctly. However, if I load any input files, Flair crashes as soon as I click on the Geometry tab.

I followed the instructions provided here but they did not solve the problem.

Attached you can find the different error messages I get when Flair crashes.
bash_error.txt (1.1 KB)
python_error_report.txt (82.4 KB)

I am running macOS Monterey v.12.6. The python3 version selected with port is the 3.7.16. The port version is the 2.8.0. The port select --summary output is:

Name       Selected  Options
====       ========  =======
cython     none      cython37 cython38 none
fonttools  none      fonttools-37 fonttools-38 none
gcc        mp-gcc11  mp-gcc11 none
mypy       none      mypy37 none
pip        pip39     pip3-apple pip37 none
pip2       none      none
pip3       pip39     pip3-apple pip37 none
python     python37  python310 python37 python38 python39 none
python3    python37  python310 python37 python38 python39 none
wxWidgets  none      wxWidgets-3.0 none

The c++ -v output is:

Apple clang version 13.1.6 (clang-1316.
Target: x86_64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Thanks in advance for your help,


Hello @papisano ,

I tested on a Mac (Intel processor) with your same setup and I am not able to reproduced your crash.
The only difference is that I have Command Line Tools v14 installed.

I would recommend to reinstall both the Command Line Tools and MacPorts: sometimes the installation may be corrupted.

If you have no Xcode installed, you can proceed with the following commands to remove/install the CLT:

> sudo rm -rf /Library/Developer/CommandLineTools
> xcode-select --install

For MacPorts, the instructions are available on the website.

Let us know if you fix your problem.

Cheers Luigi

Dear all,

I have the same problem! Follow below my error:

./flair: line 14: 1870 Segmentation fault: 11 {PYTHON} -O -W ignore {DIR}/flair.py “$@”.

I have followed the step-to-step solutions mentioned here, however, the problem still occurs. Some more options?

Best regards,

Dear @messias ,

have you checked this thread?

I hope this can help.
Cheers Luigi