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

error: addstr() returned ERR #9

Open
hjwp opened this issue Jan 19, 2014 · 1 comment
Open

error: addstr() returned ERR #9

hjwp opened this issue Jan 19, 2014 · 1 comment
Labels

Comments

@hjwp
Copy link

hjwp commented Jan 19, 2014

I get:

Traceback (most recent call last):
  File "/usr/local/bin/uwsgitop", line 149, in <module>
    screen.addstr(pos, 0, " %s\t%d" % (vassal['id'].ljust(vassal_spaces), vassal['pid']))
error: addstr() returned ERR

Think it could be some problem with curses being confused about the size of the terminal it has available? http://ubuntuforums.org/showthread.php?t=457689

@toabi
Copy link

toabi commented May 15, 2015

This happens when the terminal has not enough rows to print all vassals. I found that out by adding if pos >= 70: break to the vassall print loop (where 70 is around the number of rows visible in my terminal).

@xrmx xrmx added the bug label Oct 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants