Crashes on MacOS: NSWindow drag regions should only be invalidated on the...
Raspberry Pi GPIO Emulator (Python)
Brought to you by:
vellarod
Hi, first off thanks for the emulator, works nicely on Windows!
However it causes this error on Mac and doesn't launch the emulator.
2020-10-29 12:06:21.722 Python[68652:6183112] WARNING: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
0 AppKit 0x00007fff2c74e629 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 371
1 AppKit 0x00007fff2c736052 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1416
2 AppKit 0x00007fff2c735ac3 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
3 libtk8.6.dylib 0x00000001076dca55 TkMacOSXMakeRealWindowExist + 729
4 libtk8.6.dylib 0x00000001076dc68a TkWmMapWindow + 56
5 libtk8.6.dylib 0x000000010763f788 Tk_MapWindow + 69
6 libtk8.6.dylib 0x0000000107648a15 MapFrame + 59
7 libtcl8.6.dylib 0x0000000107582570 TclServiceIdle + 87
8 libtcl8.6.dylib 0x0000000107565d27 Tcl_DoOneEvent + 349
9 _tkinter.cpython-39-darwin.so 0x000000010749140e _tkinter_tkapp_mainloop + 382
10 Python 0x000000010710811f method_vectorcall_FASTCALL + 335
11 Python 0x00000001071d586c call_function + 732
12 Python 0x00000001071d2d72 _PyEval_EvalFrameDefault + 25186
13 Python 0x00000001071d6563 _PyEval_EvalCode + 2611
14 Python 0x00000001070ff9b1 _PyFunction_Vectorcall + 289
15 Python 0x0000000107101a6a method_vectorcall + 202
16 Python 0x00000001071d586c call_function + 732
17 Python 0x00000001071d2d93 _PyEval_EvalFrameDefault + 25219
18 Python 0x00000001070ffa28 function_code_fastcall + 104
19 Python 0x00000001071d586c call_function + 732
20 Python 0x00000001071d2d72 _PyEval_EvalFrameDefault + 25186
21 Python 0x00000001070ffa28 function_code_fastcall + 104
22 Python 0x00000001071d586c call_function + 732
23 Python 0x00000001071d2d72 _PyEval_EvalFrameDefault + 25186
24 Python 0x00000001070ffa28 function_code_fastcall + 104
25 Python 0x0000000107101ab2 method_vectorcall + 274
26 Python 0x000000010727a336 t_bootstrap + 70
27 Python 0x000000010722ba39 pythread_wrapper + 25
28 libsystem_pthread.dylib 0x00007fff6971f109 _pthread_start + 148
29 libsystem_pthread.dylib 0x00007fff6971ab8b thread_start + 15
)
Do you have an idea on how to fix this?