error: use_default_colors() returned ERR
zhangjianpinghik opened this issue · comments
zhangjianpinghik commented
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
Riccardo Magliocchetti commented
Looks like something broken in your curses installation
Riccardo Magliocchetti commented
What kind of terminal and operating system are you using?
zhangjianpinghik commented
Ubuntu 14.04.4 LTS(64bit)
zhangjianpinghik commented
@xrmx what is wrong? please help me
zhangjianpinghik commented
@xrmx my terminal is SecureCRT
Riccardo Magliocchetti commented
@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.
Jody McIntyre commented
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