Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#62793 - [dstat] Latest version dies with explicit delay (+ Upstream dead)
Attached to Project:
Arch Linux
Opened by t0rb3n (t0rb3n) - Saturday, 01 June 2019, 18:52 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 04 June 2019, 07:10 GMT
Opened by t0rb3n (t0rb3n) - Saturday, 01 June 2019, 18:52 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 04 June 2019, 07:10 GMT
|
DetailsDescription:
Upon calling dstat, it offers the option to choose the refresh frequency (delay, as CLI argument). The latest dstat-0.7.4 (upstream release 2019-05-22) dies with an error as soon as invoked with this (very common) option: $ dstat 10 You did not select any stats, using -cdngy by default. Traceback (most recent call last): File "./dstat", line 2825, in <module> main() File "./dstat", line 2684, in main scheduler.run() File "/usr/lib/python3.7/sched.py", line 151, in run action(*argument, **kwargs) File "./dstat", line 2729, in perform oldcols = cols NameError: name 'cols' is not defined This makes using dstat a pain. Workraround: Downgradde to dstat-0.7.3 and add to IgnorePkg This is in fact an upstream bug. But since the project recently has orphaned/archived on Github ( https://github.com/dagwieers/dstat/issues/170 ), we won't get help from there. Additional info: * package version: dstat-0.7.4-3 (most probably all dstat-0.7.4-*) Steps to reproduce: dstat 10 |
This task depends upon
For now, I fixed this bug in this particular package.
There are more details on Fedora's wiki: https://fedoraproject.org/wiki/Changes/MergeDstatAndPerformanceCoPilot
Apparently this is also inactive. But for the time being, that one makes an easy drop-in dstat replacement.
PCP's dstat is not (at least not out of the box). For me, it dies with:
Failed to register derived metric: PMNS not accessible <pcp.pmapi.c_uint_Array_1 object at 0x7ff0067d0488>.
I also needed to build it against systemtap-git, since systemtap doesn't build at all. A lot to do at the PCP front…
(Also, sorry for the wrong repo.)