Skip to content

Error initializing Tkinter! #16

@FoysalM

Description

@FoysalM

Hello,

I'm trying to run the application, but I'm getting the following error when running the startup command:

running....
No protocol specified
No protocol specified
Error initializing Tkinter!

Shutting down

Press any key
Traceback (most recent call last):
  File "PiCameraApp.py", line 1104, in Run
    win = Tk()
  File "/usr/lib/python3.7/tkinter/__init__.py", line 2023, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display ":10.0"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "PiCameraApp.py", line 1130, in <module>
    Run()
  File "PiCameraApp.py", line 1107, in Run
    raw_input()
NameError: name 'raw_input' is not defined

I'm quite new RPi and Python so still getting to grips with it all. Thanks in advance,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions