-
Notifications
You must be signed in to change notification settings - Fork 63
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
_curses.error: addstr() returned ERR #8
Comments
@manuel-delverme how can I reproduce this? |
this is the script you can ignore both os.execv and pyfscache |
@manuel-delverme does it work if you increase the width of the terminal? |
yea, |
please try v0.6.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "extract.py", line 19, in
style, _ = pick(sorted(list(styles)), title)
File "/usr/local/lib/python2.7/dist-packages/pick/init.py", line 148, in pick
return picker.start()
File "/usr/local/lib/python2.7/dist-packages/pick/init.py", line 134, in start
return curses.wrapper(self._start)
File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, _args, *_kwds)
File "/usr/local/lib/python2.7/dist-packages/pick/init.py", line 131, in _start
return self.run_loop()
File "/usr/local/lib/python2.7/dist-packages/pick/init.py", line 109, in run_loop
self.draw()
File "/usr/local/lib/python2.7/dist-packages/pick/init.py", line 102, in draw
self.screen.addstr(y, x, line)
_curses.error: addstr() returned ERR
changing row 102 from:
102 self.screen.addstr(y, x, line)
to:
102 self.screen.addstr(y - 1, x, line)
avoids the error.. but i'm not sure about what i'm really doing here..
might be related to:
#2
pick version:
➜ /tmp sudo pip show pick
Metadata-Version: 2.0
Name: pick
Version: 0.6.0
Summary: pick an option in the terminal with a simple GUI
Home-page: https://github.com/wong2/pick
Author: wong2
Author-email: wonderfuly@gmail.com
Installer: pip
License: MIT
Location: /usr/local/lib/python2.7/dist-packages
Requires:
Classifiers:
Development Status :: 4 - Beta
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
The text was updated successfully, but these errors were encountered: