Tkinter graphic does not work on the tkinter template

Problem description:
tkinter graphic does not work on the tkinter template

Expected behavior:
A new window with label and button is shown.

Actual behavior:
The following error message is shown in the console:

Traceback (most recent call last):
  File "main.py", line 3, in <module>
    window = tk.Tk()
  File "/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/tkinter/__init__.py", line 2270, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display ":0"

Steps to reproduce:

  1. Create new Repl
  2. Select “tkinter” template
  3. Click “Run”

Bug appears at this link:
https://replit.com/@MerlinSOI/TKinter-test

Browser/OS/Device:
Chrome, Windows 11, Asus Zenbook laptop

1 Like

This type of error seems to be happening to multiple people who are trying to use different methods of any type of display, so I think it’s something on the server-side, rather than something we may be able to fix.

In this case who is responsible to fix such kind of issues?

An incident is reported. We can only wait now

1 Like

@MerlinSOI
Replit problably
This is where it also has been reported: