Bug 32943 - Request: replace non-functional abandoned dstat with the in-development dool fork.
Summary: Request: replace non-functional abandoned dstat with the in-development dool ...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-07 12:25 CET by PC LX
Modified: 2024-03-08 06:19 CET (History)
1 user (show)

See Also:
Source RPM: dstat-0.7.4-3.mga9.src.rpm
CVE:
Status comment:


Attachments

Description PC LX 2024-03-07 12:25:07 CET
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.
Comment 1 Lewis Smith 2024-03-07 20:59:36 CET
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

Comment 2 David GEIGER 2024-03-08 06:19:19 CET
Done for Cauldron switching to dool fork of dstat.

CC: (none) => geiger.david68210


Note You need to log in before you can comment on or make changes to this bug.