Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203833

Re: Python issue?

From Michael Lange <klappnase@freenet.de>
Newsgroups linux.debian.user
Subject Re: Python issue?
Date 2019-01-02 23:30 +0100
Message-ID <xbXbs-3Zf-17@gated-at.bofh.it> (permalink)
References <xbOKS-7dk-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Python issue? riveravaldez <riveravaldezmail@gmail.com> - 2019-01-02 14:30 +0100
  Re: Python issue? Steve Kemp <skx@debian.org> - 2019-01-02 14:50 +0100
  Re: Python issue? Carl Fink <carl@finknetwork.com> - 2019-01-02 16:50 +0100
  Re: Python issue? Michael Lange <klappnase@freenet.de> - 2019-01-02 23:30 +0100

csiph-web