Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tkinter error in setup #1

Open
diegocepedaw opened this issue Dec 7, 2020 · 1 comment
Open

Tkinter error in setup #1

diegocepedaw opened this issue Dec 7, 2020 · 1 comment

Comments

@diegocepedaw
Copy link

I am trying to set up this project on Python 3.7, ubuntu 20.04.1 LTS. When I run gbr2.py I get the following error
Traceback (most recent call last): File "gbr2.py", line 1301, in <module> main() File "gbr2.py", line 1294, in main window = GbrGUI2() File "gbr2.py", line 932, in __init__ tk.Tk.__init__(self, "Go board") File "/usr/lib/python3.8/tkinter/__init__.py", line 2261, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: couldn't connect to display "Go board"

Do you know what the issue could be?

@skolchin
Copy link
Owner

skolchin commented Dec 8, 2020

I have never tested this in Unix, sorry. I guess this is some kind of Tkinter internals, at least quick google search return this:
https://stackoverflow.com/questions/59006466/local-machine-tkinter-tclerror-couldnt-connect-to-display-0
Hope it would help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants