Re: Python issue?
- Date: Wed, 02 Jan 2019 13:38:10 +0000
- From: Steve Kemp <skx@xxxxxxxxxx>
- Subject: Re: Python issue?
> File "/usr/lib/python2.7/dist-packages/psutil/_pslinux.py", line
> 1088, in read_procfs
> raise ValueError("not sure how to interpret line %r" % line)
> Any hint/clue?
_pslinux.py opens /proc/diskstats, and tries to parse the contents.
It finds a line " 8 0 sda ..." which it doesn't understand.
> This seems to have already happened like a month ago , but the code
> on GitLab hasn't changed in more than a year, so, the fix must have
> come from some other way...
Perhaps you've upgraded your kernel, and different data has been
stored in the file (which is a /proc file, and thus created by the
>  https://gitlab.com/o9000/phwmon
>  https://gitlab.com/o9000/phwmon/issues/3
Opening a bug, then closing it with no reason why must be very
frustrating for the maintainer. Not to mention others who hit the
Regardless it seems your problem is with the pslinux python
library which I guess is the Debian package `python-psutil`: