2020-11-26 06:22:46 |
Torsten Bronger |
description |
dstat --output /tmp/foobar
results in a traceback about a missing import:
Traceback (most recent call last):
File "/usr/bin/dstat", line 2847, in <module>
main()
File "/usr/bin/dstat", line 2687, in main
scheduler.run()
File "/usr/lib/python3.8/sched.py", line 151, in run
action(*argument, **kwargs)
File "/usr/bin/dstat", line 2806, in perform
oline = oline + o.showcsv() + o.showcsvend(totlist, vislist)
File "/usr/bin/dstat", line 547, in showcsv
if isinstance(self.val[name], types.ListType) or isinstance(self.val[name], types.TupleType):
NameError: name 'types' is not defined |
On Ubuntu 20.04,
dstat --output /tmp/foobar
results in a traceback about a missing import:
Traceback (most recent call last):
File "/usr/bin/dstat", line 2847, in <module>
main()
File "/usr/bin/dstat", line 2687, in main
scheduler.run()
File "/usr/lib/python3.8/sched.py", line 151, in run
action(*argument, **kwargs)
File "/usr/bin/dstat", line 2806, in perform
oline = oline + o.showcsv() + o.showcsvend(totlist, vislist)
File "/usr/bin/dstat", line 547, in showcsv
if isinstance(self.val[name], types.ListType) or isinstance(self.val[name], types.TupleType):
NameError: name 'types' is not defined |
|