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

unhandled _curses.error in resize #156

Closed
ikanobori opened this issue Jul 4, 2014 · 1 comment
Closed

unhandled _curses.error in resize #156

ikanobori opened this issue Jul 4, 2014 · 1 comment
Labels

Comments

@ikanobori
Copy link
Contributor

@ikanobori ikanobori commented Jul 4, 2014

As noted in <<issue 155>>, //bpython// crashes with //_curses.error// from time to time if the terminal gets resized. The traceback looks like that:

Traceback (most recent call last):
  File "/home/sebastian/bin/sage-bpython", line 6, in <module>
    main()
  File "/home/sebastian/development/bpython/bpython/cli.py", line 1747, in main
    banner=banner)
  File "/home/sebastian/development/bpython/bpython/cli.py", line 1644, in curses_wrapper
    return func(stdscr, *args, **kwargs)
  File "/home/sebastian/development/bpython/bpython/cli.py", line 1714, in main_curses
    clirepl.repl()
  File "/home/sebastian/development/bpython/bpython/cli.py", line 1004, in repl
    inp = self.get_line()
  File "/home/sebastian/development/bpython/bpython/cli.py", line 591, in get_line
    key = self.get_key()
  File "/home/sebastian/development/bpython/bpython/cli.py", line 569, in get_key
    self.idle(self)
  File "/home/sebastian/development/bpython/bpython/cli.py", line 1587, in idle
    do_resize(caller)
  File "/home/sebastian/development/bpython/bpython/cli.py", line 1605, in do_resize
    caller.resize()
  File "/home/sebastian/development/bpython/bpython/cli.py", line 1056, in resize
    self.statusbar.resize(refresh=False)
  File "/home/sebastian/development/bpython/bpython/cli.py", line 1418, in resize
    self.win.mvwin(self.y, self.x)
_curses.error: mvwin() returned ERR

@ikanobori
Copy link
Contributor Author

@ikanobori ikanobori commented Jul 4, 2014

Duplicate of #65.


Original Comment By: Andreas Stührk

@ikanobori ikanobori closed this Jul 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.