[Bug 785390] Re: iotop crashes with UnboundLocalError

Bug Watch Updater 785390 at bugs.launchpad.net
Wed Aug 10 12:47:00 UTC 2011


** Changed in: python2.6 (Debian)
       Status: Unknown => Confirmed

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

Title:
  iotop crashes with UnboundLocalError

Status in “python2.6” package in Ubuntu:
  New
Status in “python2.6” package in Debian:
  Confirmed

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.6/+bug/785390/+subscriptions




More information about the foundations-bugs mailing list