lightalan / subwayclock

Display clock for NYC subways
GNU General Public License v3.0
33 stars 13 forks source link

Error while running subway.py #1

Closed jaarizmendi closed 5 years ago

jaarizmendi commented 5 years ago

I’ve been trying to run the subway.py

But I keep getting the same error message

pi@raspberrypi:~/subway $ ./subway.py Traceback (most recent call last): File "./subway.py", line 171, in m = Tk() File "/usr/lib/python3.5/tkinter/init.py", line 1880, in init self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: no display name and no $DISPLAY environment variable

I don’t know if I’m missing something

Thanks in advance

lightalan commented 5 years ago

Actually, this is one of those cases where the error message is quite descriptive.

There is no display defined to open.

Try running x-terminal-emulator and see if a new terminal window for your Pi opens on your PC, if it doesn't either xMing is not running and/or your SSH client is not set for X11 forwarding.

On Fri, Apr 5, 2019, 8:53 PM jaarizmendi notifications@github.com wrote:

I’ve been trying to run the subway.py

But I keep getting the same error message

pi@raspberrypi:~/subway $ ./subway.py Traceback (most recent call last): File "./subway.py", line 171, in m = Tk() File "/usr/lib/python3.5/tkinter/init.py", line 1880, in init self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: no display name and no $DISPLAY environment variable

I don’t know if I’m missing something

Thanks in advance

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lightalan/subwayclock/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/Ar6yU2UPrgPIdBA2aKBEHaJMiquKjUtFks5vd-_sgaJpZM4cf7bU .

jaarizmendi commented 5 years ago

I’ve been running this through an app from my Mac called Termius. Maybe that’s the problem. I gonna try use a VM with windows

Thanks

[ Sent from my iPhone XS Max ]

On Apr 5, 2019, at 9:10 PM, Alan Light notifications@github.com<mailto:notifications@github.com> wrote:

Actually, this is one of those cases where the error message is quite descriptive.

There is no display defined to open.

Try running x-terminal-emulator and see if a new terminal window for your Pi opens on your PC, if it doesn't either xMing is not running and/or your SSH client is not set for X11 forwarding.

On Fri, Apr 5, 2019, 8:53 PM jaarizmendi notifications@github.com<mailto:notifications@github.com> wrote:

I’ve been trying to run the subway.py

But I keep getting the same error message

pi@raspberrypi:~/subway $ ./subway.py Traceback (most recent call last): File "./subway.py", line 171, in m = Tk() File "/usr/lib/python3.5/tkinter/init.py", line 1880, in init self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: no display name and no $DISPLAY environment variable

I don’t know if I’m missing something

Thanks in advance

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lightalan/subwayclock/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/Ar6yU2UPrgPIdBA2aKBEHaJMiquKjUtFks5vd-_sgaJpZM4cf7bU .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/lightalan/subwayclock/issues/1#issuecomment-480461884, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AvAuutcJU92DJ0bHZQZy_WP6NNXayuTcks5vd_QJgaJpZM4cf7bU.

jaarizmendi commented 5 years ago

The issue was the app that I was using to run everything it didn’t have the screen functionality