Error below:
Exception ignored in: <function Image.del at 0x76e1523ede40>
Traceback (most recent call last):
File "/usr/lib/python3.12/tkinter/init.py", line 4117, in del
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Variable.del at 0x76e152d33560>
Traceback (most recent call last):
File "/usr/lib/python3.12/tkinter/init.py", line 414, in del
if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: main thread is not in main loop
Exception ignored in: <function Variable.del at 0x76e152d33560>
Traceback (most recent call last):
File "/usr/lib/python3.12/tkinter/init.py", line 414, in del
if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: main thread is not in main loop
Exception ignored in: <function Variable.del at 0x76e152d33560>
Traceback (most recent call last):
File "/usr/lib/python3.12/tkinter/init.py", line 414, in del
if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: main thread is not in main loop
Exception ignored in: <function Variable.del at 0x76e152d33560>
Traceback (most recent call last):
File "/usr/lib/python3.12/tkinter/init.py", line 414, in del
if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: main thread is not in main loop
Tcl_AsyncDelete: async handler deleted by the wrong thread
./train.sh: line 3: 3646 Aborted (core dumped) python -u train.py
Error below: Exception ignored in: <function Image.del at 0x76e1523ede40> Traceback (most recent call last): File "/usr/lib/python3.12/tkinter/init.py", line 4117, in del self.tk.call('image', 'delete', self.name) RuntimeError: main thread is not in main loop Exception ignored in: <function Variable.del at 0x76e152d33560> Traceback (most recent call last): File "/usr/lib/python3.12/tkinter/init.py", line 414, in del if self._tk.getboolean(self._tk.call("info", "exists", self._name)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: main thread is not in main loop Exception ignored in: <function Variable.del at 0x76e152d33560> Traceback (most recent call last): File "/usr/lib/python3.12/tkinter/init.py", line 414, in del if self._tk.getboolean(self._tk.call("info", "exists", self._name)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: main thread is not in main loop Exception ignored in: <function Variable.del at 0x76e152d33560> Traceback (most recent call last): File "/usr/lib/python3.12/tkinter/init.py", line 414, in del if self._tk.getboolean(self._tk.call("info", "exists", self._name)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: main thread is not in main loop Exception ignored in: <function Variable.del at 0x76e152d33560> Traceback (most recent call last): File "/usr/lib/python3.12/tkinter/init.py", line 414, in del if self._tk.getboolean(self._tk.call("info", "exists", self._name)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: main thread is not in main loop Tcl_AsyncDelete: async handler deleted by the wrong thread ./train.sh: line 3: 3646 Aborted (core dumped) python -u train.py