[Bug 785390] [NEW] iotop crashes with UnboundLocalError

Launchpad Bug Tracker 785390 at bugs.launchpad.net
Mon Jun 27 14:13:34 UTC 2011


You have been subscribed to a public bug:

Binary package hint: iotop

Immediately after installing iotop on Ubuntu Karmic, it crashes.

root at 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 at 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: python2.6 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: iotop (Debian)
     Importance: Unknown
         Status: Unknown

-- 
iotop crashes with UnboundLocalError
https://bugs.launchpad.net/bugs/785390
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to python2.6 in Ubuntu.




More information about the foundations-bugs mailing list