Python Console Crashing
Hi all,
My python console crashes with the following message:
Process finished with exit code -2147483645
This is the full message:
Exception ignored in: <bound method Image.__del__ of <tkinter.PhotoImage object at 0x000001BCB31A4550>>
Traceback (most recent call last):
File "C:\Users\Aviv\AppData\Local\Programs\Python\Python36\lib\tkinter\__init__.py", line 3507, in __del__
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <bound method Image.__del__ of <tkinter.PhotoImage object at 0x000001BCB54106D8>>
Traceback (most recent call last):
File "C:\Users\Aviv\AppData\Local\Programs\Python\Python36\lib\tkinter\__init__.py", line 3507, in __del__
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <bound method Image.__del__ of <tkinter.PhotoImage object at 0x000001BCB3A02908>>
Traceback (most recent call last):
File "C:\Users\Aviv\AppData\Local\Programs\Python\Python36\lib\tkinter\__init__.py", line 3507, in __del__
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Tcl_AsyncDelete: async handler deleted by the wrong thread
Process finished with exit code -2147483645
It is specifically occuring when I try to view dataframe variable or when I plot.
OS:
Windows 10
Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] on win32
please guide me how to solve this out :)
BR,
Aviv Shamsian
Please sign in to leave a comment.
Hi,
It seems to be related to https://youtrack.jetbrains.com/issue/PY-29872, please vote for it and follow for updates.
You could try the solution which worked for another user https://youtrack.jetbrains.com/issue/PY-29872#focus=streamItem-27-2927779-0-0
Thanks I will try it and update you by tomorrow.