detecttechnologies / Thermal-Image-Analysis

Desktop tool for analysis of SEQ/FFF/RJPG thermographs
MIT License
139 stars 40 forks source link

Crash on Apple M1 #15

Open ldci opened 1 year ago

ldci commented 1 year ago

Python[37635:313673] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SDLApplication macOSVersion]: unrecognized selector sent to instance 0x7fe9ea1dd020'

chriswilley commented 1 year ago

Similar error on Intel Mac with Ventura 13.0.1 (22A400). Full error below:

pygame 2.1.2 (SDL 2.0.18, Python 3.9.4)
Hello from the pygame community. https://www.pygame.org/contribute.html
2023-01-30 14:31:18.709 python[99493:8468643] -[SDLApplication macMinorVersion]: unrecognized selector sent to instance 0x7f840af5f160
2023-01-30 14:31:18.711 python[99493:8468643] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SDLApplication macMinorVersion]: unrecognized selector sent to instance 0x7f840af5f160'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007ff804a8a43b __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x00007ff8045d9e25 objc_exception_throw + 48
    2   CoreFoundation                      0x00007ff804b2156b -[NSObject(NSObject) __retain_OA] + 0
    3   CoreFoundation                      0x00007ff8049f469b ___forwarding___ + 1324
    4   CoreFoundation                      0x00007ff8049f40d8 _CF_forwarding_prep_0 + 120
    5   libtk8.6.dylib                      0x000000010b5c23a9 SetCGColorComponents + 265
    6   libtk8.6.dylib                      0x000000010b5c2c5a TkpGetColor + 250
    7   libtk8.6.dylib                      0x000000010b4fd059 Tk_GetColor + 153
    8   libtk8.6.dylib                      0x000000010b4ecf16 Tk_Get3DBorder + 134
    9   libtk8.6.dylib                      0x000000010b4ecd7f Tk_Alloc3DBorderFromObj + 127
    10  libtk8.6.dylib                      0x000000010b4fe55d DoObjConfig + 941
    11  libtk8.6.dylib                      0x000000010b4fe095 Tk_InitOptions + 357
    12  libtk8.6.dylib                      0x000000010b4fdf75 Tk_InitOptions + 69
    13  libtk8.6.dylib                      0x000000010b52f10c CreateFrame + 1548
    14  libtk8.6.dylib                      0x000000010b52f3e7 TkListCreateFrame + 151
    15  libtk8.6.dylib                      0x000000010b526da8 Initialize + 2168
    16  _tkinter.cpython-39-darwin.so       0x000000010b0ab67b Tcl_AppInit + 91
    17  _tkinter.cpython-39-darwin.so       0x000000010b0ab329 Tkapp_New + 585
    18  _tkinter.cpython-39-darwin.so       0x000000010b0ab0ce _tkinter_create_impl + 222
    19  _tkinter.cpython-39-darwin.so       0x000000010b0aabd6 _tkinter_create + 182
    20  python3.9                           0x000000010a86e983 cfunction_vectorcall_FASTCALL + 99
    21  python3.9                           0x000000010a942b3f call_function + 175
    22  python3.9                           0x000000010a940636 _PyEval_EvalFrameDefault + 44678
    23  python3.9                           0x000000010a933f64 _PyEval_EvalCode + 548
    24  python3.9                           0x000000010a80e7ab _PyFunction_Vectorcall + 427
    25  python3.9                           0x000000010a80d5cd _PyObject_FastCallDictTstate + 109
    26  python3.9                           0x000000010a899d00 slot_tp_init + 192
    27  python3.9                           0x000000010a8a4fd0 type_call + 272
    28  python3.9                           0x000000010a80d308 _PyObject_MakeTpCall + 136
    29  python3.9                           0x000000010a942bd3 call_function + 323
    30  python3.9                           0x000000010a940668 _PyEval_EvalFrameDefault + 44728
    31  python3.9                           0x000000010a80e6f2 _PyFunction_Vectorcall + 242
    32  python3.9                           0x000000010a942b3f call_function + 175
    33  python3.9                           0x000000010a940668 _PyEval_EvalFrameDefault + 44728
    34  python3.9                           0x000000010a933f64 _PyEval_EvalCode + 548
    35  python3.9                           0x000000010a9a6211 pyrun_file + 321
    36  python3.9                           0x000000010a9a5a5c pyrun_simple_file + 412
    37  python3.9                           0x000000010a9a586d PyRun_SimpleFileExFlags + 109
    38  python3.9                           0x000000010a9d16b9 pymain_run_file + 329
    39  python3.9                           0x000000010a9d0da0 pymain_run_python + 992
    40  python3.9                           0x000000010a9d0965 Py_RunMain + 37
    41  python3.9                           0x000000010a9d20d1 pymain_main + 49
    42  python3.9                           0x000000010a79a428 main + 56
    43  dyld                                0x00007ff804606310 start + 2432
)
libc++abi: terminating with uncaught exception of type NSException
Abort trap: 6