Open cutright opened 3 years ago
The following error happens with python 3.7 (and 3.6) on macOS Catalina 10.15.7 when choosing to replace an existing file in a FileDialog. I can find no way to avoid it.
This issue does not happen on macOS Mojave.
2021-03-09 10:40:44.585 Python[40347:3944506] warning: <NSRemoteView: 0x7f8f52645790 com.apple.appkit.xpc.openAndSavePanelService ((null)) NSSavePanelService> ignoring attempt to mutate its subviews ( 0 ViewBridge 0x00007fff6657785d -[NSRemoteView _announceSubviewMutationDisallowed] + 29 1 libwx_osx_cocoau_core-3.1.5.0.0.dyl 0x000000010a8df924 _ZN17wxWidgetCocoaImpl5EmbedEP12wxWidgetImpl + 116 2 libwx_osx_cocoau_core-3.1.5.0.0.dyl 0x000000010a809832 _ZN8wxWindow7SetPeerEP12wxWidgetImpl + 322 3 libwx_osx_cocoau_core-3.1.5.0.0.dyl 0x000000010a808ee8 _ZN8wxWindow6CreateEPS_iRK7wxPointRK6wxSizelRK8wxString + 200 4 libwx_osx_cocoau_core-3.1.5.0.0.dyl 0x000000010a9c2226 _ZN11wxPanelBase6CreateEP8wxWindowiRK7wxPointRK6wxSizelRK8wxString + 22 5 libwx_osx_cocoau_core-3.1.5.0.0.dyl 0x000000010a8bc50c _ZN12wxFileDialog17CreateFilterPanelEP8wxWindow + 124 6 libwx_osx_cocoau_core-3.1.5.0.0.dyl 0x000000010a8bc32e _ZN12wxFileDialog18SetupExtraControlsEP8NSWindow + 126 7 libwx_osx_cocoau_core-3.1.5.0.0.dyl 0x000000010a8bd284 _ZN12wxFileDialog9ShowModalEv + 1076 8 _core.cpython-37m-darwin.so 0x0000000109b59b38 _ZL27meth_wxFileDialog_ShowModalP7_objectS0_ + 104 9 Python 0x00000001096eab8c _PyMethodDef_RawFastCallKeywords + 668 10 Python 0x00000001096e9f9a _PyCFunction_FastCallKeywords + 42 11 Python 0x00000001097a9fb4 call_function + 724 12 Python 0x00000001097a6f8d _PyEval_EvalFrameDefault + 25181 13 Python 0x00000001097aab13 _PyEval_EvalCodeWithName + 2467 14 Python 0x00000001096e9f61 _PyFunction_FastCallKeywords + 257 15 Python 0x00000001097a9fc2 call_function + 738 16 Python 0x00000001097a70d4 _PyEval_EvalFrameDefault + 25508 17 Python 0x00000001097aab13 _PyEval_EvalCodeWithName + 2467 18 Python 0x00000001096e9f61 _PyFunction_FastCallKeywords + 257 19 Python 0x00000001097a9fc2 call_function + 738 20 Python 0x00000001097a70d4 _PyEval_EvalFrameDefault + 25508 21 Python 0x00000001097aab13 _PyEval_EvalCodeWithName + 2467 22 Python 0x00000001096e9b3b _PyFunction_FastCallDict + 523 23 Python 0x00000001096eae7f _PyObject_Call_Prepend + 143 24 Python 0x00000001096ea0c7 PyObject_Call + 135 25 _core.cpython-37m-darwin.so 0x0000000109b43bdb _ZN12wxPyCallback12EventThunkerER7wxEvent + 267 26 libwx_baseu-3.1.5.0.0.dylib 0x000000010b0d7f4d _ZN12wxEvtHandler23SearchDynamicEventTableER7wxEvent + 317 27 libwx_baseu-3.1.5.0.0.dylib 0x000000010b0d7c5b _ZN12wxEvtHandler19ProcessEventLocallyER7wxEvent + 59 28 libwx_baseu-3.1.5.0.0.dylib 0x000000010b0d7b14 _ZN12wxEvtHandler12ProcessEventER7wxEvent + 100 29 _core.cpython-37m-darwin.so 0x0000000109b91dab _ZN10sipwxFrame12ProcessEventER7wxEvent + 107 30 libwx_osx_cocoau_core-3.1.5.0.0.dyl 0x000000010aa072fe _ZN12wxWindowBase8TryAfterER7wxEvent + 222 31 _core.cpython-37m-darwin.so 0x0000000109a89e2b _ZN11sipwxButton8TryAfterER7wxEvent + 107 32 _core.cpython-37m-darwin.so 0x0000000109a89d2b _ZN11sipwxButton12ProcessEventER7wxEvent + 107 33 libwx_baseu-3.1.5.0.0.dylib 0x000000010b0d824c _ZN12wxEvtHandler18SafelyProcessEventER7wxEvent + 12 34 libwx_osx_cocoau_core-3.1.5.0.0.dyl 0x000000010a822e42 _ZN8wxButton16OSXHandleClickedEd + 162 35 libwx_osx_cocoau_core-3.1.5.0.0.dyl 0x000000010a8dcf6a _ZN17wxWidgetCocoaImpl13controlActionEP6NSViewPvS2_ + 42 36 AppKit 0x00007fff30e5e7a7 -[NSApplication(NSResponder) sendAction:to:from:] + 299 37 AppKit 0x00007fff30e5e642 -[NSControl sendAction:to:] + 86 38 AppKit 0x00007fff30e5e574 __26-[NSCell _sendActionFrom:]_block_invoke + 136 39 AppKit 0x00007fff30e5e476 -[NSCell _sendActionFrom:] + 171 40 AppKit 0x00007fff30e5e3bd -[NSButtonCell _sendActionFrom:] + 96 41 AppKit 0x00007fff30e5a69b NSControlTrackMouse + 1745 42 AppKit 0x00007fff30e59fa2 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 130 43 AppKit 0x00007fff30e59e61 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 691 44 AppKit 0x00007fff30e591dd -[NSControl mouseDown:] + 748 45 libwx_osx_cocoau_core-3.1.5.0.0.dyl 0x000000010a8da105 _ZN17wxWidgetCocoaImpl10mouseEventEP7NSEventP6NSViewPv + 261 46 AppKit 0x00007fff30e575f0 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4914 47 AppKit 0x00007fff30dc1e21 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2612 48 AppKit 0x00007fff30dc11c9 -[NSWindow(NSEventRouting) sendEvent:] + 349 49 libwx_osx_cocoau_core-3.1.5.0.0.dyl 0x000000010a8c431b -[wxNSWindow sendEvent:] + 123 50 AppKit 0x00007fff30dbf554 -[NSApplication(NSEvent) sendEvent:] + 352 51 libwx_osx_cocoau_core-3.1.5.0.0.dyl 0x000000010a7fcce2 -[wxNSApplication sendEvent:] + 98 52 AppKit 0x00007fff30c0c5bf -[NSApplication run] + 707 53 libwx_osx_cocoau_core-3.1.5.0.0.dyl 0x000000010a8ba59f _ZN14wxGUIEventLoop8OSXDoRunEv + 207 54 libwx_baseu-3.1.5.0.0.dylib 0x000000010b0a9b51 _ZN13wxCFEventLoop5DoRunEv + 49 55 libwx_baseu-3.1.5.0.0.dylib 0x000000010afec0ae _ZN15wxEventLoopBase3RunEv + 158 56 libwx_baseu-3.1.5.0.0.dylib 0x000000010afb8483 _ZN16wxAppConsoleBase8MainLoopEv + 99 57 _core.cpython-37m-darwin.so 0x0000000109d0de81 _ZL21meth_wxPyApp_MainLoopP7_objectS0_ + 209 58 Python 0x00000001096eab8c _PyMethodDef_RawFastCallKeywords + 668 59 Python 0x00000001096e9f9a _PyCFunction_FastCallKeywords + 42 60 Python 0x00000001097a9fb4 call_function + 724 61 Python 0x00000001097a6f8d _PyEval_EvalFrameDefault + 25181 62 Python 0x00000001096ea3d0 function_code_fastcall + 128 63 Python 0x00000001097a9fc2 call_function + 738 64 Python 0x00000001097a6f73 _PyEval_EvalFrameDefault + 25155 65 Python 0x00000001096ea3d0 function_code_fastcall + 128 66 Python 0x00000001097a9fc2 call_function + 738 67 Python 0x00000001097a6f8d _PyEval_EvalFrameDefault + 25181 68 Python 0x00000001097aab13 _PyEval_EvalCodeWithName + 2467 69 Python 0x00000001097a0c54 PyEval_EvalCode + 100 70 Python 0x00000001097de371 PyRun_FileExFlags + 209 71 Python 0x00000001097ddbea PyRun_SimpleFileExFlags + 890 72 Python 0x00000001097fd073 pymain_main + 6915 73 Python 0x00000001097fd5da _Py_UnixMain + 58 74 libdyld.dylib 0x00007fff6d880cc9 start + 1 ) 2021-03-09 10:40:47.382 Python[40347:3944506] WARNING: <NSSavePanel: 0x7f8f52642a70> found it necessary to prepare implicitly; please prepare panels using NSSavePanel rather than NSApplication or NSWindow. 2021-03-09 10:40:48.407 Python[40347:3944506] WARNING: <NSSavePanel: 0x7f8f52642a70> found it necessary to start implicitly; please start panels using NSSavePanel rather than NSApplication or NSWindow. 2021-03-09 10:40:48.407 Python[40347:3944506] WARNING: <NSSavePanel: 0x7f8f52642a70> running implicitly; please run panels using NSSavePanel rather than NSApplication. 2021-03-09 10:40:48.408 Python[40347:3944506] *** Assertion failure in -[NSSavePanel _attachSandboxExtensions:toURL:orURLs:], /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1894.60.100/Nav.subproj/OpenAndSavePanelRemote/NSVBOpenAndSavePanels.m:718 Fatal Python error: This thread state must be current when releasing
The following error happens with python 3.7 (and 3.6) on macOS Catalina 10.15.7 when choosing to replace an existing file in a FileDialog. I can find no way to avoid it.
This issue does not happen on macOS Mojave.