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

read_history_file crashes with empty/invalid TERM #8

Open
blueyed opened this issue May 12, 2019 · 0 comments
Open

read_history_file crashes with empty/invalid TERM #8

blueyed opened this issue May 12, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@blueyed
Copy link
Collaborator

blueyed commented May 12, 2019

testing/test_pdb.py:258: in test_config_terminalformatter
    __import__('pdb').set_trace()
pdb.py:1417: in set_trace
    pdb = Pdb(start_lineno=lineno, start_filename=filename, **kwds)
pdb.py:183: in __init__
    self.config.setup(self)
../../.pdbrc.py:230: in setup
    configure_readline(pdb.start_filename, pdbcls=pdb.__class__)
../../.pdbrc.py:72: in configure_readline
    readline.read_history_file(histfile)
../pyrepl-git/pyrepl/readline.py:293: in read_history_file
    history = self.get_reader().history
../pyrepl-git/pyrepl/readline.py:207: in get_reader
    console = UnixConsole(self.f_in, self.f_out, encoding=ENCODING)
../pyrepl-git/pyrepl/unix_console.py:123: in __init__
    curses.setupterm(term, self.output_fd)
../pyrepl-git/pyrepl/_minimal_curses.py:58: in setupterm
    raise error("setupterm() failed (err=%d)" % err.value)
E   pyrepl._minimal_curses.error: setupterm() failed (err=-1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant