[pypy-issue] [issue1611] pypy3: setupterm: could not find terminal
Greg Czajkowski
tracker at bugs.pypy.org
Tue Sep 24 20:19:49 CEST 2013
Greg Czajkowski <gregczajkowski at yahoo.com> added the comment:
Added traceback
----------
status: unread -> chatting
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1611>
________________________________________
-------------- next part --------------
> pypy.3.2-gcc-c
Python 3.2.3 (?, Sep 18 2013, 23:13:49)
[PyPy 2.2.0-alpha0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
File "/etc/pythonstart", line 20, in <module>
readline.read_history_file(historyPath)
File "/path/pypy/lib_pypy/pyrepl/readline.py", line 260, in read_history_file
history = self.get_reader().history
File "/path/pypy/lib_pypy/pyrepl/readline.py", line 192, in get_reader
console = UnixConsole(self.f_in, self.f_out, encoding=ENCODING)
File "/path/pypy/lib_pypy/pyrepl/unix_console.py", line 105, in __init__
curses.setupterm(term, self.output_fd)
_minimal_curses.error: setupterm: could not find terminal
And now for something completely different: ``it is the expected behavior,
except when you don't expect it''
Traceback (most recent call last):
File "/path/pypy/lib_pypy/_pypy_interact.py", line 36, in interactive_console
raise ImportError
ImportError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/path/pypy/lib_pypy/pyrepl/readline.py", line 199, in raw_input
reader = self.get_reader()
File "/path/pypy/lib_pypy/pyrepl/readline.py", line 192, in get_reader
console = UnixConsole(self.f_in, self.f_out, encoding=ENCODING)
File "/path/pypy/lib_pypy/pyrepl/unix_console.py", line 105, in __init__
curses.setupterm(term, self.output_fd)
_minimal_curses.error: setupterm: could not find terminal
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/path/pypy/lib_pypy/_pypy_interact.py", line 39, in interactive_console
run_simple_interactive_console(mainmodule)
File "/path/pypy/lib_pypy/_pypy_interact.py", line 62, in run_simple_interactive_console
line = input(prompt)
File "/path/pypy/lib_pypy/pyrepl/readline.py", line 201, in raw_input
return _old_raw_input(prompt)
File "/path/pypy/lib_pypy/pyrepl/readline.py", line 425, in _old_raw_input
return raw_input(prompt)
NameError: global name 'raw_input' is not defined
More information about the pypy-issue
mailing list