Mekolaos / Aternos-On-Discord

A Discord Bot to manage a minecraft server on Aternos.
GNU General Public License v3.0
102 stars 92 forks source link

Error when executing Bot.py #76

Open AnimeTeddy opened 2 years ago

AnimeTeddy commented 2 years ago

I use Debian 11 and have the newest version of python installed (3.9). After cloning I executed Bot.py and this error came. I hope you can help me. Thank you.

Crash report: Traceback (most recent call last): File "/home/discordbot/Aternos-On-Discord/Bot.py", line 23, in launch_config() File "/home/discordbot/Aternos-On-Discord/Configure.py", line 8, in launch_config window = tk.Tk() File "/usr/lib/python3.9/tkinter/init.py", line 2270, in init self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: no display name and no $DISPLAY environment variable

pritam20ps05 commented 2 years ago

please once check my project on this https://github.com/pritam20ps05/mcscraper it works pretty well and works 98% of the time my server personally uses it.