Created
December 15, 2018 00:07
-
-
Save eagleEggs/6fb254180c8167333959cb2ee152cd45 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Need to investigate these errors (happens rarely and usually after running threaded tests): | |
Traceback (most recent call last): | |
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\tkinter\__init__.py", line 329, in __del__ | |
if self._tk.getboolean(self._tk.call("info", "exists", self._name)): | |
RuntimeError: main thread is not in main loop | |
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\tkinter\__init__.py", line 1992, in wm_withdraw | |
return self.tk.call('wm', 'withdraw', self._w) | |
_tkinter.TclError: bad window path name ".!toplevel17" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\tkinter_init_.py", line 1992, in wm_withdraw
return self.tk.call('wm', 'withdraw', self._w)
_tkinter.TclError: bad window path name ".!toplevel17"
- resolved by changing all unique window reads to their own unique values.
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\tkinter_init_.py", line 329, in del
if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
RuntimeError: main thread is not in main loop
- this, doesn't happen anymore...