MAN1986 / pyamaze

MIT License
75 stars 82 forks source link

Error running on linux #8

Open eduwxyz opened 1 year ago

eduwxyz commented 1 year ago

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)
hasanraj3100 commented 7 months ago

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!!