dstat crashes with UnboundLocalError
Bug #297772 reported by
Garthako
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dstat (Ubuntu) |
Fix Released
|
Undecided
|
dag | ||
Bug Description
topcpu module cannot be loaded.
$ dstat --noupdate -M topcpu -M topio --all --load 20 6
Traceback (most recent call last):
File "/usr/bin/dstat", line 2041, in <module>
main()
File "/usr/bin/dstat", line 1986, in main
o.extract()
File "/usr/share/
self.val['cmd'] = cmd
UnboundLocalError: local variable 'cmd' referenced before assignment
$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
$ aptitude show dstat
Paket: dstat
Version: 0.6.7-1
Regards
description: | updated |
Changed in dstat (Ubuntu): | |
assignee: | nobody → dag (dag-wieers) |
status: | New → Fix Released |
To post a comment you must log in.
Hi,
it seems this bug or its cause is removed in version 0.6.8 of dstat. See Changelog: http:// svn.rpmforge. net/svn/ trunk/tools/ dstat/ChangeLog
"- Removed complex process name since /proc/pid/cmdline behaves different on new kernels (Adrian Alves)"
They removed problem causing lines from dstat_topcpu.py and dstat_topmem.py.
Regards
Reinhard