pyamaze icon indicating copy to clipboard operation
pyamaze copied to clipboard

Error running on linux

Open eduwxyz opened this issue 1 year ago • 1 comments

While trying to generate the maze in the linux operating system, I am getting the error: _tkinter. TclError: bad argument "zoomed": must be normal, iconic, or withdrawn

This is happening because zoomed works only for windows.

I tried to open a pull request with the changes but you blocked it. Below is what I suggest doing to stop giving error.

try:
            self._win.state("zoomed")
            self._win.title("PYTHON MAZE WORLD by Learning Orbis")
except:
            self._win.title("PYTHON MAZE WORLD by Learning Orbis")
            self._win.attributes("-fullscreen", True)

eduwxyz avatar Apr 10 '23 14:04 eduwxyz

Hey, I faced the same error. Then I installed this library in a virtual environment and performed the modification you suggested. Now it's totally working. Thanks man!!

hasanraj3100 avatar Feb 28 '24 16:02 hasanraj3100