[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Python issue?



Hi,

On Wed, 2 Jan 2019 10:20:53 -0300
riveravaldez <riveravaldezmail@gmail.com> wrote:

> Hi, I use phwmon [1] to have some system monitors on the taskbar.
> 
> Since last system update I have this message (and phwmon tries to
> launch but fails):
> 
(...)
>     raise ValueError("not sure how to interpret line %r" % line)
> ValueError: not sure how to interpret line '   8       0 sda 752155
> 419171 18693084 3393871 247845 1174668 17206000 688827 0 2271452
> 2271460 0 0 0 0\n'
> 
> Any hint/clue?

looks like maybe phwmon is not compatible with your current version of
python-psutil. Since the error does not occur here with Stretch I assume
you are running either Buster or Sid?
A possible workaround might be to copy the "psutil" folder of an older
compatible version into the directory where the phwmon executable sits.
However since there is some .so file included in python-psutil you would
probably have to compile first, and there is no gurantee that this will
work.

Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

	"The combination of a number of things to make existence
worthwhile." "Yes, the philosophy of 'none,' meaning 'all.'"
		-- Spock and Lincoln, "The Savage Curtain", stardate
5906.4


Reply to: