Ronald Oussoren <ronaldousso...@mac.com> added the comment:

Error output when running the script:

2022-02-01 22:15:32.213 Python[5468:5726153] ApplePersistenceIgnoreState: 
Existing state will not be touched. New state will be written to 
/var/folders/d3/rc5nx4v12y96knh2px3bpqsc0000gn/T/org.python.python.savedState
2022-02-01 22:15:32.362 Python[5468:5726153] -[NSApplication macOSVersion]: 
unrecognized selector sent to instance 0x105624bc0
2022-02-01 22:15:32.367 Python[5468:5726153] *** Terminating app due to 
uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplication 
macOSVersion]: unrecognized selector sent to instance 0x105624bc0'
*** First throw call stack:
(
        0   CoreFoundation                      0x000000018b4c01cc 
__exceptionPreprocess + 240
        1   libobjc.A.dylib                     0x000000018b2117b8 
objc_exception_throw + 60
        2   CoreFoundation                      0x000000018b5531a0 
-[NSObject(NSObject) __retain_OA] + 0
        3   CoreFoundation                      0x000000018b420360 
___forwarding___ + 1728
        4   CoreFoundation                      0x000000018b41fbe0 
_CF_forwarding_prep_0 + 96
        5   libtk8.6.dylib                      0x0000000100940a1c GetRGBA + 64
        6   libtk8.6.dylib                      0x00000001009404a8 
SetCGColorComponents + 140
        7   libtk8.6.dylib                      0x00000001009408e0 TkpGetColor 
+ 544
        8   libtk8.6.dylib                      0x00000001008a2454 Tk_GetColor 
+ 220
        9   libtk8.6.dylib                      0x0000000100895aa0 
Tk_Get3DBorder + 204
        10  libtk8.6.dylib                      0x00000001008958ac 
Tk_Alloc3DBorderFromObj + 144
        11  libtk8.6.dylib                      0x00000001008a3810 DoObjConfig 
+ 832
        12  libtk8.6.dylib                      0x00000001008a33cc 
Tk_InitOptions + 348
        13  libtk8.6.dylib                      0x00000001008a32c8 
Tk_InitOptions + 88
        14  libtk8.6.dylib                      0x00000001008cacf0 CreateFrame 
+ 1448
        15  libtk8.6.dylib                      0x00000001008cafe8 
TkListCreateFrame + 156
        16  libtk8.6.dylib                      0x00000001008c3ec0 Initialize + 
1848
        17  _tkinter.cpython-310-darwin.so      0x00000001008762d4 Tcl_AppInit 
+ 92
        18  _tkinter.cpython-310-darwin.so      0x0000000100875f6c Tkapp_New + 
548
        19  _tkinter.cpython-310-darwin.so      0x0000000100875d44 
_tkinter_create_impl + 268
        20  _tkinter.cpython-310-darwin.so      0x000000010087597c 
_tkinter_create + 240
        21  Python                              0x000000010109b1f0 
cfunction_vectorcall_FASTCALL + 88
        22  Python                              0x0000000101169f48 
call_function + 132
        23  Python                              0x0000000101161fac 
_PyEval_EvalFrameDefault + 23072
        24  Python                              0x000000010115ad5c 
_PyEval_Vector + 360
        25  Python                              0x0000000101033dac 
_PyObject_FastCallDictTstate + 96
        26  Python                              0x00000001010c7cbc slot_tp_init 
+ 196
        27  Python                              0x00000001010be950 type_call + 
312
        28  Python                              0x0000000101033af4 
_PyObject_MakeTpCall + 136
        29  Python                              0x000000010116a040 
call_function + 380
        30  Python                              0x0000000101160a18 
_PyEval_EvalFrameDefault + 17548
        31  Python                              0x000000010115ad5c 
_PyEval_Vector + 360
        32  Python                              0x0000000101169f48 
call_function + 132
        33  Python                              0x0000000101160a18 
_PyEval_EvalFrameDefault + 17548
        34  Python                              0x000000010115ad5c 
_PyEval_Vector + 360
        35  Python                              0x0000000101169f48 
call_function + 132
        36  Python                              0x0000000101161404 
_PyEval_EvalFrameDefault + 20088
        37  Python                              0x000000010115ad5c 
_PyEval_Vector + 360
        38  Python                              0x000000010115cb3c 
_PyEval_EvalFrameDefault + 1456
        39  Python                              0x000000010115ad5c 
_PyEval_Vector + 360
        40  Python                              0x0000000101169f48 
call_function + 132
        41  Python                              0x0000000101160a18 
_PyEval_EvalFrameDefault + 17548
        42  Python                              0x000000010115ad5c 
_PyEval_Vector + 360
        43  Python                              0x000000010115cb3c 
_PyEval_EvalFrameDefault + 1456
        44  Python                              0x000000010115ad5c 
_PyEval_Vector + 360
        45  Python                              0x000000010115cb3c 
_PyEval_EvalFrameDefault + 1456
        46  Python                              0x000000010115ad5c 
_PyEval_Vector + 360
        47  Python                              0x0000000101169f48 
call_function + 132
        48  Python                              0x0000000101161404 
_PyEval_EvalFrameDefault + 20088
        49  Python                              0x000000010115ad5c 
_PyEval_Vector + 360
        50  Python                              0x0000000101169f48 
call_function + 132
        51  Python                              0x0000000101161404 
_PyEval_EvalFrameDefault + 20088
        52  Python                              0x000000010115ad5c 
_PyEval_Vector + 360
        53  Python                              0x0000000101169f48 
call_function + 132
        54  Python                              0x0000000101161404 
_PyEval_EvalFrameDefault + 20088
        55  Python                              0x000000010115ad5c 
_PyEval_Vector + 360
        56  Python                              0x0000000101169f48 
call_function + 132
        57  Python                              0x0000000101161fac 
_PyEval_EvalFrameDefault + 23072
        58  Python                              0x000000010115ad5c 
_PyEval_Vector + 360
        59  Python                              0x00000001011c52c8 pyrun_file + 
308
        60  Python                              0x00000001011c4a0c 
_PyRun_SimpleFileObject + 336
        61  Python                              0x00000001011c4058 
_PyRun_AnyFileObject + 216
        62  Python                              0x00000001011f0280 
pymain_run_file_obj + 180
        63  Python                              0x00000001011ef920 
pymain_run_file + 72
        64  Python                              0x00000001011eef08 
pymain_run_python + 300
        65  Python                              0x00000001011eed9c Py_RunMain + 
24
        66  Python                              0x00000001011f0428 pymain_main 
+ 56
        67  Python                              0x00000001011f06ec Py_BytesMain 
+ 40
        68  dyld                                0x00000001005bd0f4 start + 520
)
libc++abi: terminating with uncaught exception of type NSException

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46573>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to