Public bug reported: Binary package hint: iotop
Immediately after installing iotop on Ubuntu Karmic, it crashes. root@player:~# apt-get install iotop Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: iotop 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. Need to get 21.4kB of archives. After this operation, 164kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com karmic/universe iotop 0.3-1 [21.4kB] Fetched 21.4kB in 0s (55.7kB/s) Selecting previously deselected package iotop. (Reading database ... 81004 files and directories currently installed.) Unpacking iotop (from .../archives/iotop_0.3-1_all.deb) ... Setting up iotop (0.3-1) ... Processing triggers for python-support ... root@player:~# iotop Traceback (most recent call last): File "/usr/bin/iotop", line 16, in <module> main() File "/usr/lib/pymodules/python2.6/iotop/ui.py", line 361, in main main_loop() File "/usr/lib/pymodules/python2.6/iotop/ui.py", line 351, in <lambda> main_loop = lambda: run_iotop(options) File "/usr/lib/pymodules/python2.6/iotop/ui.py", line 267, in run_iotop return curses.wrapper(run_iotop_window, options) File "/usr/lib/python2.6/curses/wrapper.py", line 47, in wrapper stdscr.keypad(0) UnboundLocalError: local variable 'stdscr' referenced before assignment ** Affects: iotop (Ubuntu) Importance: Undecided Status: New ** Description changed: Binary package hint: iotop - Immediately after installing iotop, it crashes. + Immediately after installing iotop on Ubuntu Karmic, it crashes. root@player:~# apt-get install iotop Reading package lists... Done - Building dependency tree + Building dependency tree Reading state information... Done The following NEW packages will be installed: - iotop + iotop 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. Need to get 21.4kB of archives. After this operation, 164kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com karmic/universe iotop 0.3-1 [21.4kB] Fetched 21.4kB in 0s (55.7kB/s) Selecting previously deselected package iotop. (Reading database ... 81004 files and directories currently installed.) Unpacking iotop (from .../archives/iotop_0.3-1_all.deb) ... Setting up iotop (0.3-1) ... Processing triggers for python-support ... root@player:~# iotop Traceback (most recent call last): - File "/usr/bin/iotop", line 16, in <module> - main() - File "/usr/lib/pymodules/python2.6/iotop/ui.py", line 361, in main - main_loop() - File "/usr/lib/pymodules/python2.6/iotop/ui.py", line 351, in <lambda> - main_loop = lambda: run_iotop(options) - File "/usr/lib/pymodules/python2.6/iotop/ui.py", line 267, in run_iotop - return curses.wrapper(run_iotop_window, options) - File "/usr/lib/python2.6/curses/wrapper.py", line 47, in wrapper - stdscr.keypad(0) + File "/usr/bin/iotop", line 16, in <module> + main() + File "/usr/lib/pymodules/python2.6/iotop/ui.py", line 361, in main + main_loop() + File "/usr/lib/pymodules/python2.6/iotop/ui.py", line 351, in <lambda> + main_loop = lambda: run_iotop(options) + File "/usr/lib/pymodules/python2.6/iotop/ui.py", line 267, in run_iotop + return curses.wrapper(run_iotop_window, options) + File "/usr/lib/python2.6/curses/wrapper.py", line 47, in wrapper + stdscr.keypad(0) UnboundLocalError: local variable 'stdscr' referenced before assignment -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785390 Title: iotop crashes with UnboundLocalError -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs