Description of problem: [ruben@odin F-8]$ iotop Traceback (most recent call last): File "/usr/bin/iotop", line 608, in <module> main() File "/usr/bin/iotop", line 604, in main curses.wrapper(run_iotop, options) File "/usr/lib/python2.5/curses/wrapper.py", line 44, in wrapper return func(stdscr, *args, **kwds) File "/usr/bin/iotop", line 562, in run_iotop ui = IOTopUI(win, process_list, options) File "/usr/bin/iotop", line 445, in __init__ curses.curs_set(0) _curses.error: curs_set() returned ERR Version-Release number of selected component (if applicable): iotop-0.1-1.fc8 How reproducible: export TERM=xterm-color iotop Actual results: Traceback (most recent call last): File "/usr/bin/iotop", line 608, in <module> main() File "/usr/bin/iotop", line 604, in main curses.wrapper(run_iotop, options) File "/usr/lib/python2.5/curses/wrapper.py", line 44, in wrapper return func(stdscr, *args, **kwds) File "/usr/bin/iotop", line 562, in run_iotop ui = IOTopUI(win, process_list, options) File "/usr/bin/iotop", line 445, in __init__ curses.curs_set(0) _curses.error: curs_set() returned ERR Expected results: normal iotop output. Additional info: iotop works fine with normal xterm. I've found this post which describes the same behaviour: http://mail.python.org/pipermail/python-dev/2002-January/019724.html
I get similar problems with a standard gnome-terminal and standard xterm: continuity> iotop Traceback (most recent call last): File "/usr/bin/iotop", line 608, in <module> main() File "/usr/bin/iotop", line 604, in main curses.wrapper(run_iotop, options) File "/usr/lib64/python2.5/curses/wrapper.py", line 44, in wrapper return func(stdscr, *args, **kwds) File "/usr/bin/iotop", line 562, in run_iotop ui = IOTopUI(win, process_list, options) File "/usr/bin/iotop", line 443, in __init__ curses.use_default_colors() _curses.error: use_default_colors() returned ERR continuity>
(In reply to comment #0) > iotop works fine with normal xterm. > I've found this post which describes the same behaviour: > http://mail.python.org/pipermail/python-dev/2002-January/019724.html looks like a termcap/terminfo bug. So added maintainer to CC. Miroslav any ideas? (In reply to comment #1) > I get similar problems with a standard gnome-terminal and standard xterm: > > continuity> iotop > Traceback (most recent call last): > File "/usr/bin/iotop", line 608, in <module> > main() > File "/usr/bin/iotop", line 604, in main > curses.wrapper(run_iotop, options) > File "/usr/lib64/python2.5/curses/wrapper.py", line 44, in wrapper > return func(stdscr, *args, **kwds) > File "/usr/bin/iotop", line 562, in run_iotop > ui = IOTopUI(win, process_list, options) > File "/usr/bin/iotop", line 443, in __init__ > curses.use_default_colors() > _curses.error: use_default_colors() returned ERR > continuity> This might be realted but I am unable to reproduce it. Can you post detailed steps to reproduce it?
xterm-color entry is missing civis capability which is required for curs_set(0), but I don't think that's a bug. The application should ignore the error.
(In reply to comment #3) > xterm-color entry is missing civis capability which is required for curs_set(0), > but I don't think that's a bug. The application should ignore the error. OK , built a new build that does exactly this. http://koji.fedoraproject.org/koji/buildinfo?buildID=29269 should hit updates-testing on the next push. Please test and confirm/deny if it fixes the issue.
iotop-0.1-3.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update iotop'
iotop-0.1-3.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update iotop'
Thanks Adel, that fixes it.
iotop-0.1-3.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
iotop-0.1-3.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.