Skip to content

Credential prompt causes python to quit unexpectedly #281

@doizuc

Description

@doizuc

@juanchossn I tried to use the credential prompt to test the ECMWF model from your recent PR #278 but as soon as HyperCP tries to open the pop-up window for the user to input their credentials HyperCP quit and leaves me with "python quit unexpectedly" (log below). I'm testing the code on macOS 15.0.1 on an Intel mac.

Reset NASA Earth Data credentials
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[QNSApplication macOSVersion]: unrecognized selector sent to instance 0x7fb232894160'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007ff81bc566d6 __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x00007ff81b73dc00 objc_exception_throw + 62
    2   CoreFoundation                      0x00007ff81bcfe15f -[NSObject(NSObject) __retain_OA] + 0
    3   CoreFoundation                      0x00007ff81bbc5edf ___forwarding___ + 1379
    4   CoreFoundation                      0x00007ff81bbc58e8 _CF_forwarding_prep_0 + 120
    5   libtk8.6.dylib                      0x0000000125322d02 GetRGBA + 50
    6   libtk8.6.dylib                      0x0000000125322bf4 TkpGetColor + 484
    7   libtk8.6.dylib                      0x000000012525a629 Tk_GetColor + 153
    8   libtk8.6.dylib                      0x0000000125249c66 Tk_Get3DBorder + 134
    9   libtk8.6.dylib                      0x0000000125249acf Tk_Alloc3DBorderFromObj + 127
    10  libtk8.6.dylib                      0x000000012525bb81 DoObjConfig + 1009
    11  libtk8.6.dylib                      0x000000012525b675 Tk_InitOptions + 357
    12  libtk8.6.dylib                      0x000000012525b555 Tk_InitOptions + 69
    13  libtk8.6.dylib                      0x000000012528c7d5 CreateFrame + 1605
    14  libtk8.6.dylib                      0x000000012528cab7 TkListCreateFrame + 151
    15  libtk8.6.dylib                      0x00000001252845b8 Initialize + 2120
    16  _tkinter.cpython-311-darwin.so      0x000000011187b6fb Tcl_AppInit + 91
    17  _tkinter.cpython-311-darwin.so      0x000000011187b3e9 Tkapp_New + 585
    18  _tkinter.cpython-311-darwin.so      0x000000011187b18e _tkinter_create_impl + 222
    19  _tkinter.cpython-311-darwin.so      0x000000011187ad96 _tkinter_create + 182
    20  python3.11                          0x000000010acf0aad cfunction_vectorcall_FASTCALL + 93
    21  python3.11                          0x000000010ade4ef7 _PyEval_EvalFrameDefault + 238407
    22  python3.11                          0x000000010ac8b89f _PyFunction_Vectorcall + 511
    23  python3.11                          0x000000010ac8df30 _PyObject_Call_Prepend + 192
    24  python3.11                          0x000000010ad20777 slot_tp_init + 183
    25  python3.11                          0x000000010ad1469a type_call + 122
    26  python3.11                          0x000000010ade5095 _PyEval_EvalFrameDefault + 238821
    27  python3.11                          0x000000010ac8b89f _PyFunction_Vectorcall + 511
    28  python3.11                          0x000000010ac917d4 method_vectorcall + 452
    29  QtCore.abi3.so                      0x000000012415a1dd _ZNK8PyQtSlot4callEP7_objectS1_ + 125
    30  QtCore.abi3.so                      0x000000012415a08e _ZNK8PyQtSlot6invokeEPPvP7_objectS0_b + 398
    31  QtCore.abi3.so                      0x000000012415ac85 _ZN13PyQtSlotProxy7unislotEPPv + 85
    32  QtCore.abi3.so                      0x000000012415abfa _ZN13PyQtSlotProxy11qt_metacallEN11QMetaObject4CallEiPPv + 58
    33  libQt5Core.5.15.2.dylib             0x00000001248df903 _ZN11QMetaObject8activateEP7QObjectPKS_iPPv + 2457
)
libc++abi: terminating due to uncaught exception of type NSException

Process finished with exit code 134 (interrupted by signal 6:SIGABRT)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions