I previously used iotop without issue.
I came to use it the other day and got errors.
On taking a closer look today I have managed to avoid the errors by manually installing an older version of ncurses.
Errors observed running nerdpack version iotop-0.6-x86_64-1_fs.tgz and ncurses-terminfo-6.1.20191130-x86_64-1.txz :
Traceback (most recent call last):
File "/usr/sbin/iotop", line 17, in <module>
main()
File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 620, in main
main_loop()
File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 610, in <lambda>
main_loop = lambda: run_iotop(options)
File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 508, in run_iotop
return curses.wrapper(run_iotop_window, options)
File "/usr/lib64/python2.7/curses/wrapper.py", line 22, in wrapper
stdscr = curses.initscr()
File "/usr/lib64/python2.7/curses/__init__.py", line 33, in initscr
fd=_sys.__stdout__.fileno())
_curses.error: setupterm: could not find terminal
Installing versionhttps://slackware.uk/slackware/slackware64-14.2/slackware64/l/ncurses-5.9-x86_64-4.txz returns iotop to operational status.
I previously used iotop without issue.
I came to use it the other day and got errors.
On taking a closer look today I have managed to avoid the errors by manually installing an older version of ncurses.
Errors observed running nerdpack version
iotop-0.6-x86_64-1_fs.tgzandncurses-terminfo-6.1.20191130-x86_64-1.txz:Installing version
https://slackware.uk/slackware/slackware64-14.2/slackware64/l/ncurses-5.9-x86_64-4.txzreturns iotop to operational status.