targetcli missing py-urwid
Getting an error after executing ‘cd’ inside of targetcli. Seems to
depend on py-urwid which is not listed as dependency.
Installing py-urwid manually solved this error.
myhostname:/etc/target# targetcli
targetcli shell version 2.1.fb43
Copyright 2011-2013 by Datera, Inc and others.
For help on commands, type 'help'.
/iscsi/iqn.20.../tpg1/portals> cd
Traceback (most recent call last):
File "/usr/bin/targetcli", line 121, in <module>
main()
File "/usr/bin/targetcli", line 111, in main
shell.run_interactive()
File "/usr/lib/python2.7/site-packages/configshell_fb/shell.py", line 894, in run_interactive
self._cli_loop()
File "/usr/lib/python2.7/site-packages/configshell_fb/shell.py", line 723, in _cli_loop
self.run_cmdline(cmdline)
File "/usr/lib/python2.7/site-packages/configshell_fb/shell.py", line 837, in run_cmdline
self._execute_command(path, command, pparams, kparams)
File "/usr/lib/python2.7/site-packages/configshell_fb/shell.py", line 812, in _execute_command
result = target.execute_command(command, pparams, kparams)
File "/usr/lib/python2.7/site-packages/configshell_fb/node.py", line 1406, in execute_command
return method(*pparams, **kparams)
File "/usr/lib/python2.7/site-packages/configshell_fb/node.py", line 1028, in ui_command_cd
selected = self._lines_walker(lines, start_pos=start_pos)
File "/usr/lib/python2.7/site-packages/configshell_fb/node.py", line 1062, in _lines_walker
import urwid
ImportError: No module named urwid
(from redmine: issue id 5978, created on 2016-07-28, closed on 2019-05-03)
- Changesets:
- Revision 267163cf on 2016-07-28T15:08:31Z:
community/targetcli: added py-urwid to depends. Fixes #5978