This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author obserience
Recipients obserience
Date 2019-12-19.03:25:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576725941.2.0.178684077701.issue39093@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-12-19 03:25:41obseriencesetrecipients: + obserience
2019-12-19 03:25:41obseriencesetmessageid: <1576725941.2.0.178684077701.issue39093@roundup.psfhosted.org>
2019-12-19 03:25:41obseriencelinkissue39093 messages
2019-12-19 03:25:40obseriencecreate