* Michal Čihař <ni...@debian.org> [20091230 20:44]:
> Dne Wed, 30 Dec 2009 02:32:00 +0100
> Michael Prokop <m...@debian.org> napsal(a):

> > % smem --pie=name
> > pie chart requires matplotlib

> > % smem --bar=name
> > bar chart requires matplotlib

> > 'dpkg --list | grep matplotlib' says that python-matplotlib
> > and python-matplotlib-data version 0.99.1.2-1 are installed.

> Strange, it works for me. What happens when you try to import it
> manually in Python? For example: python -c 'import pylab'

Fails because Tkinter.py is missing.
Installing python-tk and the "... char requires matplotlib" goes
away. Running into the next issue though:

% smem --pie=name
Traceback (most recent call last):
  File "/usr/bin/smem", line 636, in <module>
    showpids()
  File "/usr/bin/smem", line 246, in showpids
    showtable(pt.keys(), fields, columns.split(), options.sort or 'pss')
  File "/usr/bin/smem", line 455, in showtable
    showpie(l, sort)
  File "/usr/bin/smem", line 498, in showpie
    while values and (t + values[-1 - c] < (tm * .02) or
IndexError: list index out of range

'smem --bar=name' works fine though.

regards,
-mika-

Attachment: signature.asc
Description: Digital signature

Reply via email to