Description
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow should only be instantiated on the main thread!'
*** First throw call stack:
(
0 CoreFoundation 0x0000000189464540 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x0000000188f55eb4 objc_exception_throw + 60
2 CoreFoundation 0x000000018948988c _CFBundleGetValueForInfoKey + 0
3 AppKit 0x000000018cbdd7c0 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 188
4 AppKit 0x000000018cbdd6f8 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 48
5 _macosx.cpython-311-darwin.so 0x00000002ee7e84fc -[Window initWithContentRect:styleMask:backing:defer:withManager:] + 52
6 _macosx.cpython-311-darwin.so 0x00000
554B
002ee7eb498 FigureManager_init + 224
7 python3.11 0x00000001049e27b8 wrap_init + 20
8 python3.11 0x0000000104960e08 wrapperdescr_call + 636
9 python3.11 0x0000000104a956c4 _PyEval_EvalFrameDefault + 192680
10 python3.11 0x0000000104951c78 _PyFunction_Vectorcall + 476
11 python3.11 0x00000001049540b4 _PyObject_Call_Prepend + 164
12 python3.11 0x00000001049e2584 slot_tp_init + 212
13 python3.11 0x00000001049d7e3c type_call + 136
14 python3.11 0x0000000104a956c4 _PyEval_EvalFrameDefault + 192680
15 python3.11 0x0000000104951c78 _PyFunction_Vectorcall + 476
16 python3.11 0x00000001049573a8 method_vectorcall + 296
17 python3.11 0x0000000104a99d5c _PyEval_EvalFrameDefault + 210752
18 python3.11 0x0000000104951c78 _PyFunction_Vectorcall + 476
19 python3.11 0x0000000104a99d5c _PyEval_EvalFrameDefault + 210752
20 python3.11 0x0000000104951c78 _PyFunction_Vectorcall + 476
21 python3.11 0x00000001049573a8 method_vectorcall + 296
22 python3.11 0x0000000104a99d5c _PyEval_EvalFrameDefault + 210752
23 python3.11 0x0000000104951c78 _PyFunction_Vectorcall + 476
24 python3.11 0x0000000104957324 method_vectorcall + 164
25 python3.11 0x0000000104a99984 _PyEval_EvalFrameDefault + 209768
26 python3.11 0x0000000104951c78 _PyFunction_Vectorcall + 476
27 python3.11 0x0000000104a99984 _PyEval_EvalFrameDefault + 209768
28 python3.11 0x0000000104951c78 _PyFunction_Vectorcall + 476
29 python3.11 0x00000001049573ec method_vectorcall + 364
30 python3.11 0x0000000104b804b8 thread_run + 228
31 python3.11 0x0000000104b0b15c pythread_wrapper + 48
32 libsystem_pthread.dylib 0x0000000189312034 _pthread_start + 136
33 libsystem_pthread.dylib 0x000000018930ce3c thread_start + 8
)
libc++abi: terminating due to uncaught exception of type NSException
zsh: abort python main.py