Description of problem: Currently the dstat program in non-functional. When running dstat, it crashes and displays the message below. I tried multiple options, including the examples in the manual page but the result is always the same. """ # dstat You did not select any stats, using -cdngy by default. Traceback (most recent call last): File "/usr/bin/dstat", line 2825, in <module> main() File "/usr/bin/dstat", line 2684, in main scheduler.run() File "/usr/lib64/python3.10/sched.py", line 151, in run action(*argument, **kwargs) File "/usr/bin/dstat", line 2782, in perform line = line + o.show() + o.showend(totlist, vislist) File "/usr/bin/dstat", line 515, in show if isinstance(self.val[name], collections.Sequence) and not isinstance(self.val[name], six.string_types): AttributeError: module 'collections' has no attribute 'Sequence' """ Since dstat development has ceased, was forked, and is being developed in a new project called "Dool", I suggest replacing it with Dool. See: https://github.com/dstat-real/dstat See: https://github.com/scottchiefbaker/dool I have git cloned the current dool repository and tested it. All seems to be working on this up-to-date Mageia 9 system. Version-Release number of selected component (if applicable): # rpm -q dstat dstat-0.7.4-3.mga9 How reproducible: Always. Steps to Reproduce: 1. Install package dstat. 2. Run dstat. 3. See error message.
Thank you for this thorough and helpful report. It looks a very handy tool, yet you are the first to report its failure on M9. Assigning globally as no one packager looks pertinent.
Assignee: bugsquad => pkg-bugs
Done for Cauldron switching to dool fork of dstat.
CC: (none) => geiger.david68210