You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
WARNING: QApplication was not created in the main() thread. <- **This line**
Backend Qt5Agg is interactive backend. Turning interactive mode on.
Traceback (most recent call last):
... (the same)
KeyError: 'matplotlib.pyplot'
fabioz
added a commit
to fabioz/ptvsd
that referenced
this issue
Jan 24, 2019
Just provided a fix where the initialization/event loop will only take place in the main thread (processing the event loop out of the main thread is an error and this prevents the racing condition too).
microsoft/vscode-python#2982
I'm guessing there's a race condition, in which case this probably just needs a
try
/except KeyError: pass
block to avoid this issue.The text was updated successfully, but these errors were encountered: