glances error

Begonnen von sunrat, 2014/05/07, 15:58:35

Vorheriges Thema - Nächstes Thema

sunrat

I know it worked sometime in the past but not sure if it was in my newish December or old Riders install. Now it just shows this error:
$ glances
Traceback (most recent call last):
  File "/usr/bin/glances", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named 'pkg_resources'


musca

#1
Hello sunrat,

I tried to install with recommends: apt-get -o APT::Install-Recommends=true install glances, but it didn't help.

Glances seems to miss some python3 stuff, e.g. installing python3-pkg-resources changes the traceback a little.

self.cmdline_cache[procstat['pid']] = ' '.join(proc.cmdline)   TypeError: can only join an iterable

and there is a bug:  https://bugs.debian.org/741385

greetings
musca
,,Es irrt der Mensch, solang er strebt."  (Goethe, Faust)

sunrat

Thanks musca. I'll just wait as it looks like an upstream bug.
It's not an essential program but nicely pulls together info that otherwise requires top, free, df and more.