obserience <obserie...@gmail.com> added the comment:

A quick google search for "Tcl_AsyncDelete: async handler deleted by the wrong 
thread" yields plenty of users complaining about this error case. Usually 
they're trying add a gui to an existing application. They run it in a thread 
other than main and then leak a reference to a GUI widget into another thread. 
The GUI exits and then some time later, the last reference to a widget 
dissapears but this is triggered by the leaked reference and occurs in another 
thread context. The TK library panics and the application crashes.

https://github.com/matplotlib/matplotlib/issues/12085
https://github.com/gboeing/osmnx/issues/75
https://stackoverflow.com/questions/27073762/tcl-asyncdelete-error-multithreading-python
(and so on)

The response time and time again is just "you can't run tkinter in any thread 
but main". Hopefully if this fix is implemented, that becomes less true.

----------

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

Reply via email to