pyamaze icon indicating copy to clipboard operation
pyamaze copied to clipboard

_tkinter.TclError: bad argument "zoomed": must be normal, iconic, or withdrawn

Open shgo opened this issue 2 years ago • 1 comments

https://github.com/MAN1986/pyamaze/blob/7486dca7c613ef3d4c874ed2a7def01a3e0a56ae/pyamaze/pyamaze.py#L622

When drawing a new maze, tkinter returns an error:

  File "/usr/lib/python3.12/tkinter/__init__.py", line 2295, in wm_state
    return self.tk.call('wm', 'state', self._w, newstate)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tkinter.TclError: bad argument "zoomed": must be normal, iconic, or withdrawn

I could trace it to line 622, that should use normal instead of zoomed.

shgo avatar May 20 '24 19:05 shgo

duplicated.....

shgo avatar May 20 '24 20:05 shgo