Public bug reported: Hello,
After installing fresh new 20.04 LTS release, and installing iotop 0.6-24-g733f3f8-1 , it returns below error. Appreciate any pointers as how to correct this? Thank you. Traceback (most recent call last): File "/usr/sbin/iotop", line 10, in <module> from iotop.ui import main File "/usr/lib/python3/dist-packages/iotop/ui.py", line 46, in <module> from iotop.data import find_uids, TaskStatsNetlink, ProcessList, Stats File "/usr/lib/python3/dist-packages/iotop/data.py", line 51, in <module> vmstat_f = VmStat() File "/usr/lib/python3/dist-packages/iotop/vmstat.py", line 23, in __init__ self.vmstat = self.read() File "/usr/lib/python3/dist-packages/iotop/vmstat.py", line 40, in read return pgpgin, pgpgout UnboundLocalError: local variable 'pgpgin' referenced before assignment ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: iotop 0.6-24-g733f3f8-1 ProcVersionSignature: Ubuntu 5.4.0-1032.33-kvm 5.4.78 Uname: Linux 5.4.0-1032-kvm x86_64 ApportVersion: 2.20.11-0ubuntu27.16 Architecture: amd64 CasperMD5CheckResult: skip Date: Mon Feb 15 00:07:23 2021 Dependencies: ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=C.UTF-8 SHELL=/bin/bash SourcePackage: iotop UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: iotop (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal uec-images -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915670 Title: iotop 0.6-24-g733f3f8-1 fails with 'UnboundLocalError' on newly installed 20.04 release To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/iotop/+bug/1915670/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs