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: use_default_colors() returned ERR #42

Closed
zhangjianpinghik opened this issue Nov 16, 2016 · 7 comments
Closed

error: use_default_colors() returned ERR #42

zhangjianpinghik opened this issue Nov 16, 2016 · 7 comments

Comments

@zhangjianpinghik
Copy link

zhangjianpinghik commented Nov 16, 2016

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
@xrmx
Copy link
Owner

xrmx commented Nov 16, 2016

Looks like something broken in your curses installation

@xrmx
Copy link
Owner

xrmx commented Nov 16, 2016

What kind of terminal and operating system are you using?

@zhangjianpinghik
Copy link
Author

Ubuntu 14.04.4 LTS(64bit)

@zhangjianpinghik
Copy link
Author

@xrmx what is wrong? please help me

@zhangjianpinghik
Copy link
Author

@xrmx my terminal is SecureCRT

@xrmx
Copy link
Owner

xrmx commented Nov 18, 2016

@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.

@xrmx xrmx closed this as completed May 25, 2017
@scjody
Copy link

scjody commented Oct 26, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants