Bug#574346: UnboundLocalError: local variable 'pgpgin' referenced before assignment

2010-05-31 Thread Paul Wise
tags 574346 + patch thanks On Thu, 2010-03-18 at 20:53 +0700, Paul Wise wrote: > Guillaume, how would you suggest this be fixed? Should iotop check for > the required parameters in /proc/vmstat at the top of iotop/data.py like > it does for /proc/self/io or should it handle exceptions from VmStat

Bug#574346: UnboundLocalError: local variable 'pgpgin' referenced before assignment

2010-05-07 Thread Paul Wise
On Thu, 2010-03-18 at 20:53 +0700, Paul Wise wrote: > Guillaume, how would you suggest this be fixed? Should iotop check for > the required parameters in /proc/vmstat at the top of iotop/data.py like > it does for /proc/self/io or should it handle exceptions from VmStat > gracefully? Ping. -- b

Bug#574346: UnboundLocalError: local variable 'pgpgin' referenced before assignment

2010-03-18 Thread Paul Wise
tags 574346 + upstream confirmed thanks On Thu, 2010-03-18 at 20:39 +0700, Paul Wise wrote: > On Thu, 2010-03-18 at 10:28 -0300, Nelson A. de Oliveira wrote: > > > So there are two issues here: one that it seems to be necessary more > > than CONFIG_TASKSTATS, CONFIG_TASK_DELAY_ACCT, and > > CONFI

Bug#574346: UnboundLocalError: local variable 'pgpgin' referenced before assignment

2010-03-18 Thread Paul Wise
On Thu, 2010-03-18 at 10:28 -0300, Nelson A. de Oliveira wrote: > So there are two issues here: one that it seems to be necessary more > than CONFIG_TASKSTATS, CONFIG_TASK_DELAY_ACCT, and > CONFIG_TASK_IO_ACCOUNTING enabled (what else is necessary?) Looking at mm/vmstat.c in the Linux git reposit

Bug#574346: UnboundLocalError: local variable 'pgpgin' referenced before assignment

2010-03-17 Thread Paul Wise
On Wed, 2010-03-17 at 11:24 -0300, Nelson A. de Oliveira wrote: > File "/usr/lib/pymodules/python2.5/iotop/data.py", line 335, in __init__ > self.vmstat = vmstat.VmStat() > File "/usr/lib/pymodules/python2.5/iotop/vmstat.py", line 6, in __init__ > self.vmstat = self.read() > File "/u

Bug#574346: UnboundLocalError: local variable 'pgpgin' referenced before assignment

2010-03-17 Thread Nelson A. de Oliveira
Package: iotop Version: 0.4-1 Severity: important Hi again! Now that I have my kernel compiled with everything necessary: # iotop Traceback (most recent call last): File "/usr/bin/iotop", line 16, in main() File "/usr/lib/pymodules/python2.5/iotop/ui.py", line 547, in main main_loo