error: use_default_colors() returned ERR
zhangjianpinghik opened this issue · comments
when i run uwsgitop uwsgistats.socket,a error come:
Traceback (most recent call last):
File "/usr/local/bin/uwsgitop", line 5, in <module>
pkg_resources.run_script('uwsgitop==0.9', 'uwsgitop')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1401, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/uwsgitop-0.9-py2.7.egg/EGG-INFO/scripts/uwsgitop", line 84, in <module>
error: use_default_colors() returned ERR
Looks like something broken in your curses installation
What kind of terminal and operating system are you using?
Ubuntu 14.04.4 LTS(64bit)
@xrmx what is wrong? please help me
@xrmx my terminal is SecureCRT
@zhangjianpinghik you can probably tune something inside SecureCRT to change the terminal emulation, give it a try please, we can't do much about this issue.
I can reliably reproduce this on Ubuntu 14.04 using:
TERM=vt100 uwsgitop /var/run/uwsgi/stats
As a workaround, this works:
TERM=xterm uwsgitop /var/run/uwsgi/stats