[Bug 297772] [NEW] dstat crashes with UnboundLocalError

Garthako garthako at gmail.com
Thu Nov 13 19:51:33 UTC 2008


Public bug reported:

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/dstat/dstat_topcpu.py", line 56, in extract
    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

** Affects: dstat (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: dstat topcpu unboundlocalerror

** Description changed:

  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/dstat/dstat_topcpu.py", line 56, in extract
      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

** Tags added: dstat topcpu unboundlocalerror

-- 
dstat crashes with UnboundLocalError
https://bugs.launchpad.net/bugs/297772
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list