Cannot open Coreform-Cubit-2022.4 on MacOS 10.15.7

Hello,
I just downloaded the latest Mac version of cubit, did the command line changes:
sudo mkdir “/Library/Application Support/Reprise”
sudo chmod 777 “/Library/Application Support/Reprise”
and I tried to use both my 30-day free trial license or the cubit learn license. I am currently trying this product out to decide if I will purchase a license. However, the product doesn’t even open for me! I changed the security setting in “Settings” as well (that prevent opening apps from unknown developers). But when ever I open CUBIT, the icon flashes for a second on my dock and then just disappears. Nothing opens and I get a system message that only says CUBIT quitted unexpectedly. There are lots of details for this error for which I attached the beginning:
Process: Coreform-Cubit-2022.4 [68019]
Path: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/Coreform-Cubit-2022.4
Identifier: Coreform-Cubit-2022.4
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Coreform-Cubit-2022.4 [68019]
User ID: 502

Date/Time: 2022-05-08 23:45:11.906 -0700
OS Version: Mac OS X 10.15.7 (19H1824)
Report Version: 12
Bridge OS Version: 3.0 (14Y908)
Anonymous UUID: DBFA4803-C306-855A-D450-CD193606A6CB

Sleep/Wake UUID: EEF6C7A9-C351-48C8-8B94-8AF1A529ACAF

Time Awake Since Boot: 210000 seconds
Time Since Wake: 11000 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [68019]

Can anyone help me to understand how to even open this software?

Hi @axelwang, sorry for your trouble. It’s likely that Coreform Cubit is conflicting with other applications that already exist on your system, like another installation of Qt or something similar.

Open up a terminal window, execute the following commands, and report the full output please:

export CUBIT_VERBOSE=5
/Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/Coreform-Cubit-2022.4

Hey Scot,
Thanks for your help! I tried your commands and the output is below.
Your commands did open up a CUBIT window and it stayed there. However, after I closed it and try launching CUBIT again from clicking on the icon, again the initialization window just flashed for a second and disappeared, I am receiving the same system error as mentioned in my original post.

Moreover, I am unable to import the python package. I will be interested in using CUBIT just from python scripts.

Thanks!

[2022-05-09 09:15:25.036] [app_logger] [info] Using gui
[2022-05-09 09:15:25.611] [app_logger] [trace] rlm_dir: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/licenses:/Users/axelwang/Library/Preferences/Coreform/licenses
usb support disabled
[2022-05-09 09:15:25.611] [app_logger] [debug] /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/licenses:/Users/axelwang/Library/Preferences/Coreform/licenses
[2022-05-09 09:15:25.628] [app_logger] [debug] RLM initialized
[2022-05-09 09:15:25.628] [app_logger] [info] RLM session initialized
[2022-05-09 09:15:25.628] [app_logger] [debug] RLM Diagnostics at 05/09/2022 09:15

RLM version: 14.1BL3
RLM platform: x64_m1
OS version: 19.6.0

ISV name: csimsoft
Hostname: SE3-C02VJ0Q7HTDF
User: axelwang
Working directory: /Users/axelwang/Desktop

Environment:

    RLM_CONNECT_TIMEOUT=<not set>
    RLM_EXTENDED_ERROR_MESSAGES=<not set>
    RLM_LICENSE=<not set>
    RLM_NO_UNLIMIT=<not set>
    RLM_PATH_RANDOMIZE=<not set>
    RLM_PROJECT=<not set>
    RLM_QUEUE=<not set>
    RLM_ROAM=<not set>
    RLMSTAT=<not set>
    HTTP_PROXY=<not set>
    HTTP_PROXY_CREDENTIALS=<not set>
    csimsoft_LICENSE=<not set>

RLM hostid list:

    0 uuid=747ab531-182c51b8-bb083273-5bc933fa 8c859054f273 823f7c449c01 823f7c449c00 823f7c449c05 823f7c449c04 ip=10.30.65.10 

License files:
/Users/axelwang/Library/Preferences/Coreform/licenses/56A6165-6F9954-422941-1A33A2-21B43D1.lic

rlm_init() parameters:
1: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/licenses:/Users/axelwang/Library/Preferences/Coreform/licenses
2: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/Coreform-Cubit-2022.4
3:

Local licenses which can be checked out:

Client Cached Licenses (only the highest version # shown):

    <none>


In license file /Users/axelwang/Library/Preferences/Coreform/licenses/56A6165-6F9954-422941-1A33A2-21B43D1.lic
      (no server)

    trelis_fea v2023.5 OK
    trelis_cfd v2023.5 OK
    trelis v2023.5 OK
    trelis_core v2023.5 OK
    cf_gcls v2023.5 OK
    trelis_sculpt v2023.5 OK

Roaming Licenses:

    <none>

[2022-05-09 09:15:27.631] [app_logger] [debug] Pushing fid: 1, trelis
[2022-05-09 09:15:27.631] [app_logger] [debug] Pushing fid: 4, trelis_core
[2022-05-09 09:15:27.631] [app_logger] [debug] Pushing fid: 2, trelis_fea
[2022-05-09 09:15:27.631] [app_logger] [debug] Pushing fid: 3, trelis_cfd
[2022-05-09 09:15:27.631] [app_logger] [debug] Pushing fid: 13, trelis_sculpt
[2022-05-09 09:15:27.631] [app_logger] [debug] Feature trelis status: 0
[2022-05-09 09:15:27.632] [app_logger] [debug] Feature trelis_core status: 0
[2022-05-09 09:15:27.632] [app_logger] [debug] Feature trelis_fea status: 0
[2022-05-09 09:15:27.632] [app_logger] [debug] Feature trelis_cfd status: 0
[2022-05-09 09:15:27.632] [app_logger] [debug] Feature trelis_sculpt status: 0
[2022-05-09 09:15:27.632] [app_logger] [debug] has_feature: feature_id = 1
[2022-05-09 09:15:27.632] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:27.632] [app_logger] [debug] has_feature: feature_id = 4
[2022-05-09 09:15:27.632] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:27.632] [app_logger] [debug] has_feature: feature_id = 2
[2022-05-09 09:15:27.632] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:27.632] [app_logger] [debug] has_feature: feature_id = 1
[2022-05-09 09:15:27.632] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:27.632] [app_logger] [debug] has_feature: feature_id = 4
[2022-05-09 09:15:27.632] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:27.632] [app_logger] [debug] has_feature: feature_id = 2
[2022-05-09 09:15:27.632] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:27.632] [app_logger] [info] Logged in
[2022-05-09 09:15:27.632] [app_logger] [info] Set OPAL_PREFIX to /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/mpi
[2022-05-09 09:15:27.633] [app_logger] [info] Set OPAL_LIBDIR to /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/mpi/lib
[2022-05-09 09:15:27.633] [app_logger] [info] Set OPAL_BINDIR to /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/mpi/bin
[2022-05-09 09:15:27.633] [app_logger] [info] Python version 0 selected
[2022-05-09 09:15:27.634] [app_logger] [info] Looking for Python
[2022-05-09 09:15:27.636] [app_logger] [debug] CubitDynamicLoader: load_library_sys: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/python3/libcubit_python3.so
[2022-05-09 09:15:27.643] [app_logger] [info] Python not already initialized, initializing
[2022-05-09 09:15:27.643] [app_logger] [info] Application directory is /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS
[2022-05-09 09:15:27.643] [app_logger] [info] python_lib path: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/python3/Python.framework/Versions/3.9/Python
[2022-05-09 09:15:27.643] [app_logger] [info] python_dir: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/python3/Python.framework/Versions/3.9
[2022-05-09 09:15:27.643] [app_logger] [info] Found embedded python
[2022-05-09 09:15:27.699] [app_logger] [info] Version 3 interpreter found
[2022-05-09 09:15:27.699] [app_logger] [info] Cubit python initialized
[2022-05-09 09:15:27.699] [app_logger] [info] Starting broker
[2022-05-09 09:15:27.699] [app_logger] [info] Passing control to MachineControl
[2022-05-09 09:15:27.715] [app_logger] [debug] Dealer::restore_settings: loading QSettings from : /Users/axelwang/.config/Coreform/Cubit.ini
[2022-05-09 09:15:27.715] [app_logger] [debug] Dealer::restore_settings: no Python addons
[2022-05-09 09:15:27.715] [app_logger] [debug] Supervisor::Impl::load_plugins: Loading plugins from QCoreApplication::applicationDirPath : /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS
[2022-05-09 09:15:27.715] [app_logger] [info] Loading plugin from path /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS
[2022-05-09 09:15:27.718] [app_logger] [info] Attempting to load: libcfplugincomp.ccl
[2022-05-09 09:15:27.718] [app_logger] [debug] ClaroPlugin::load: loading: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/libcfplugincomp.ccl
[2022-05-09 09:15:29.741] [app_logger] [info] Supervisor::Impl::load_plugins: Loaded component: libcfplugincomp.ccl from directory: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS
Supervisor::Impl::load_plugins: Loaded component: libcfplugincomp.ccl from directory: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS
[2022-05-09 09:15:29.741] [app_logger] [debug] Registering plugin components
[2022-05-09 09:15:29.741] [app_logger] [info] Attempting to load: libcfplugingui.ccg
[2022-05-09 09:15:29.741] [app_logger] [debug] ClaroPlugin::load: loading: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/libcfplugingui.ccg
[2022-05-09 09:15:29.792] [app_logger] [info] Supervisor::Impl::load_plugins: Loaded component: libcfplugingui.ccg from directory: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS
Supervisor::Impl::load_plugins: Loaded component: libcfplugingui.ccg from directory: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS
[2022-05-09 09:15:29.792] [app_logger] [debug] Registering plugin components
[2022-05-09 09:15:29.792] [app_logger] [info] Attempting to load: libcoreformcae.ccg
[2022-05-09 09:15:29.792] [app_logger] [debug] ClaroPlugin::load: loading: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/libcoreformcae.ccg
[2022-05-09 09:15:29.877] [app_logger] [error] dlopen error: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/libcoreformcae.ccg dlopen(/Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/libcoreformcae.ccg, 9): Library not loaded: @rpath/QtWebEngineCore.framework/Versions/5/QtWebEngineCore
Referenced from: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/libcoreformcae.ccg
Reason: image not found
[2022-05-09 09:15:29.877] [app_logger] [error] Error loading component libcoreformcae.ccg:
Error loading component:
libcoreformcae.ccg

[2022-05-09 09:15:29.877] [app_logger] [info] Attempting to load: libcubitcomp.ccl
[2022-05-09 09:15:29.877] [app_logger] [debug] ClaroPlugin::load: loading: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/libcubitcomp.ccl
[2022-05-09 09:15:29.880] [app_logger] [info] Supervisor::Impl::load_plugins: Loaded component: libcubitcomp.ccl from directory: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS
Supervisor::Impl::load_plugins: Loaded component: libcubitcomp.ccl from directory: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS
[2022-05-09 09:15:29.880] [app_logger] [debug] Registering plugin components
[2022-05-09 09:15:29.880] [app_logger] [info] Attempting to load: libcubitcompgui.ccg
[2022-05-09 09:15:29.880] [app_logger] [debug] ClaroPlugin::load: loading: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/libcubitcompgui.ccg
[2022-05-09 09:15:30.062] [app_logger] [info] Supervisor::Impl::load_plugins: Loaded component: libcubitcompgui.ccg from directory: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS
Supervisor::Impl::load_plugins: Loaded component: libcubitcompgui.ccg from directory: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS
[2022-05-09 09:15:30.062] [app_logger] [debug] Registering plugin components
[2022-05-09 09:15:30.562] [app_logger] [debug] Pushing fid: 1, trelis
[2022-05-09 09:15:30.562] [app_logger] [debug] Pushing fid: 4, trelis_core
[2022-05-09 09:15:30.562] [app_logger] [debug] Pushing fid: 2, trelis_fea
[2022-05-09 09:15:30.562] [app_logger] [debug] Pushing fid: 3, trelis_cfd
[2022-05-09 09:15:30.562] [app_logger] [debug] Pushing fid: 13, trelis_sculpt
[2022-05-09 09:15:30.562] [app_logger] [debug] has_feature: feature_id = 1
[2022-05-09 09:15:30.562] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:30.562] [app_logger] [debug] has_feature: feature_id = 4
[2022-05-09 09:15:30.562] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:30.562] [app_logger] [debug] has_feature: feature_id = 2
[2022-05-09 09:15:30.562] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:30.562] [app_logger] [debug] has_feature: feature_id = 1
[2022-05-09 09:15:30.562] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:30.562] [app_logger] [debug] has_feature: feature_id = 4
[2022-05-09 09:15:30.562] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:30.562] [app_logger] [debug] has_feature: feature_id = 2
[2022-05-09 09:15:30.562] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:30.626] [app_logger] [debug] CubitDynamicLoader: load_library_sys: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/plugins/libmaterial_commands.so
[2022-05-09 09:15:30.667] [app_logger] [debug] CubitDynamicLoader: load_library_sys: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/plugins/libcfplugincmd.so
Creating new Workspace session
Initializing LLVM
[2022-05-09 09:15:32.911] [app_logger] [debug] CubitDynamicLoader: load_library_sys: /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/plugins/libworkspacecmd.so
Loading workspace command plugin
[2022-05-09 09:15:33.062] [app_logger] [debug] has_feature: feature_id = 13
[2022-05-09 09:15:33.062] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:33.194] [app_logger] [debug] has_feature: feature_id = 2
[2022-05-09 09:15:33.194] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:33.194] [app_logger] [debug] has_feature: feature_id = 3
[2022-05-09 09:15:33.194] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:33.194] [app_logger] [debug] has_feature: feature_id = 10
[2022-05-09 09:15:33.194] [app_logger] [debug] has_feature: feature_id = 8
[2022-05-09 09:15:33.194] [app_logger] [debug] has_feature: feature_id = 2
[2022-05-09 09:15:33.194] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:33.194] [app_logger] [debug] has_feature: feature_id = 3
[2022-05-09 09:15:33.194] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:33.194] [app_logger] [debug] has_feature: feature_id = 10
[2022-05-09 09:15:33.196] [app_logger] [debug] has_feature: feature_id = 3
[2022-05-09 09:15:33.196] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:33.201] [app_logger] [debug] has_feature: feature_id = 3
[2022-05-09 09:15:33.201] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:33.205] [app_logger] [debug] has_feature: feature_id = 2
[2022-05-09 09:15:33.205] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:33.206] [app_logger] [debug] has_feature: feature_id = 3
[2022-05-09 09:15:33.206] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:33.224] [app_logger] [debug] has_feature: feature_id = 3
[2022-05-09 09:15:33.224] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:33.224] [app_logger] [debug] has_feature: feature_id = 2
[2022-05-09 09:15:33.224] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:33.631] [app_logger] [debug] has_feature: feature_id = 2
[2022-05-09 09:15:33.631] [app_logger] [debug] has_feature: feature_data->valid = 0
[2022-05-09 09:15:33.631] [app_logger] [debug] has_feature: feature_id = 3
[2022-05-09 09:15:33.631] [app_logger] [debug] has_feature: feature_data->valid = 0

We’ve reproduced the error internally, and we’re investigating it, thanks for the report. As for the Python import, have you tried following the instructions on this page?
https://coreform.com/manuals/latest/cubit_reference/importing_cubit_into_python.html

Hey Scot,
Thanks for looking into this issue, and I look forward to hearing back a solution as soon as possible!
I just tried to follow the steps in the link you provided to import the python package. But when I reached “import cubit”, I still get “ModuleNotFoundError: No module named ‘cubit’”. This really makes me think that somehow cubit is not installed properly on my machine.

Thanks,
Axel

Can you post your Python script here? It’s important to add the Coreform-Cubit-2022.4.app/Contents/MacOS directory to sys.path. It’s also recommended to use the version of python that ships with Cubit, it’s at /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS/python3/Python.framework/Versions/3.9/bin/python3. That way it makes sure that all libraries loaded are compatible with Cubit.

Hey Scot,
Here is what I just tried:

>>> import sys

>>> print(sys.path)

['', '/opt/anaconda3/lib/python37.zip', '/opt/anaconda3/lib/python3.7', '/opt/anaconda3/lib/python3.7/lib-dynload', '/opt/anaconda3/lib/python3.7/site-packages', '/opt/anaconda3/lib/python3.7/site-packages/aeosa']

>>> sys.path.append('Coreform-Cubit-2022.4.app/Contents/MacOS')

>>> print(sys.path)

['', '/opt/anaconda3/lib/python37.zip', '/opt/anaconda3/lib/python3.7', '/opt/anaconda3/lib/python3.7/lib-dynload', '/opt/anaconda3/lib/python3.7/site-packages', '/opt/anaconda3/lib/python3.7/site-packages/aeosa', 'Coreform-Cubit-2022.4.app/Contents/MacOS']

>>> import cubit

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

ModuleNotFoundError: No module named 'cubit'

>>> print(sys.path)

['', '/opt/anaconda3/lib/python37.zip', '/opt/anaconda3/lib/python3.7', '/opt/anaconda3/lib/python3.7/lib-dynload', '/opt/anaconda3/lib/python3.7/site-packages', '/opt/anaconda3/lib/python3.7/site-packages/aeosa', 'Coreform-Cubit-2022.4.app/Contents/MacOS']

It still is not finding cubit.

Is there any update on launching the GUI?

Thanks!

We now have a fix for the crash when opening Coreform Cubit from Finder, please go to Coreform Product Downloads and download the latest Development Build for Mac.

You should append the full, absolute path to the Contents/MacOS folder to sys.path. So that would be /Applications/Coreform-Cubit-2022.4.app/Contents/MacOS.