From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.8.1.13) Gecko/20080325 Fedora/2.0.0.13-1.fc8 Firefox/2.0.0.13 Description of problem: Version-Release number of selected component (if applicable): dstat-0.6.7-1 How reproducible: Always Steps to Reproduce: 1. dstat -i -I eth1 # choose a device which is not present on the machine Actual Results: interrupt 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/bin/dstat", line 866, in extract self.cn2['total'] = self.cn2['total'] + long(l[int(name) + 2]) UnboundLocalError: local variable 'name' referenced before assignment Expected Results: Empty lines in the output. Additional info:
Created attachment 299302 [details] a patch fixes bad indentation which caused the traceback
(In reply to comment #1) > Created an attachment (id=299302) [edit] > a patch > > fixes bad indentation which caused the traceback This bug is now better fixed by patch for bug #439146.
dstat-0.6.7-2.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update dstat'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-2816
dstat-0.6.7-2.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.