xrmx / uwsgitop

top-like app for monitoring uWSGI instances

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uwsgitop crashes on a monochrome terminal

Jajcus opened this issue · comments

I tried to use uwsgitop on a serial console of my test system. The console has $TERM set to vt102 by default, which causes uwsgitop to crash:

# echo $TERM
vt102
# uwsgitop /run/uwsgi/myapp.stats
Traceback (most recent call last):
  File "/usr/bin/uwsgitop", line 66, in <module>
    curses.init_pair(1, curses.COLOR_GREEN, curses.COLOR_BLACK)
error: init_pair() returned ERR