Input Prompt

Every time i try run a script which requires user input i get this error:

Any ideas on a resolution?

Traceback (most recent call last):
File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1531, in <module>
globals = debugger.run(setup['file'], None, None, is_module)
File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 938, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/work/spaces/pycharm/git-passport/git-passport.py", line 86, in <module>
selected_id = dialog.get_input(candidates.keys())
File "/work/spaces/pycharm/git-passport/passport/dialog.py", line 26, in get_input
sys.stdin = open("/dev/tty")
OSError: [Errno 6] Device not configured: '/dev/tty'
1 comment
Comment actions Permalink

Hi Bryan! Are you able to run your script without debugger?

0

Please sign in to leave a comment.