Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #203800
| From | riveravaldez <riveravaldezmail@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Python issue? |
| Date | 2019-01-02 14:30 +0100 |
| Message-ID | <xbOKS-7dk-17@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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):
$ phwmon.py
Traceback (most recent call last):
File "Software/phwmon-master-b162e53dccc4adf8f11f49408d05fd85d9c6c909/phwmon.py",
line 341, in <module>
HardwareMonitor()
File "Software/phwmon-master-b162e53dccc4adf8f11f49408d05fd85d9c6c909/phwmon.py",
line 128, in __init__
self.initDiskIo()
File "Software/phwmon-master-b162e53dccc4adf8f11f49408d05fd85d9c6c909/phwmon.py",
line 274, in initDiskIo
v = psutil.disk_io_counters(perdisk=False)
File "/usr/lib/python2.7/dist-packages/psutil/__init__.py", line
2026, in disk_io_counters
rawdict = _psplatform.disk_io_counters(**kwargs)
File "/usr/lib/python2.7/dist-packages/psutil/_pslinux.py", line
1115, in disk_io_counters
for entry in gen:
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)
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?
This seems to have already happened like a month ago [2], but the code
on GitLab hasn't changed in more than a year, so, the fix must have
come from some other way...
Thanks!
[1] https://gitlab.com/o9000/phwmon
[2] https://gitlab.com/o9000/phwmon/issues/3
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll 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