FS#39391 - [glances] 1.7.4-1 crash in curses.use_default_colors
Attached to Project:
Community Packages
Opened by Jonathan Arnold (jdarnold) - Thursday, 13 March 2014, 20:23 GMT
Last edited by Sébastien Luttringer (seblu) - Wednesday, 19 March 2014, 21:28 GMT
Opened by Jonathan Arnold (jdarnold) - Thursday, 13 March 2014, 20:23 GMT
Last edited by Sébastien Luttringer (seblu) - Wednesday, 19 March 2014, 21:28 GMT
|
Details
Description:
I just installed the latest glances package and when I try to run it, the screen gets cleared and I get the following (skewed) error messages: Traceback (most recent call last): glances File "/usr/bin/glances", line 9, in <module> load_entry_point('Glances==1.7.4', 'console_scripts', 'glances')() File "/usr/lib/python2.7/site-packages/glances/glances.py", line 4858, in main use_bold=use_bold) File "/usr/lib/python2.7/site-packages/glances/glances.py", line 2072, in __init__ curses.use_default_colors() _curses.error: use_default_colors() returned ERR and nothing happens, besides the fact echo is turned off on my terminal and I have to exit it. Additional info: * package version(s) 1.7.4-1 * config and/or log files etc. Steps to reproduce: Install the latest version type 'glances' |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Wednesday, 19 March 2014, 21:28 GMT
Reason for closing: Not a bug
Wednesday, 19 March 2014, 21:28 GMT
Reason for closing: Not a bug
Traceback (most recent call last):
File "/usr/bin/glances", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2749, in <module>
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 446, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 459, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 628, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: psutil>=0.5.1,<=1.2.1
I found this BR: https://github.com/nicolargo/glances/issues/247
TERM=vt100
in my .bashrc, which I guess doesn't support colors! Not sure how that got in there, but if I take it out and start a new shell, the TERM is xterm and it all works just fine...
Nevermind...