Hi,

I logged in with ssh to my server with the octopus user (o1).
When I try to give a command (like ls) on the shell I get:

Traceback (most recent call last):
File "/usr/local/bin/lshell", line 27, in
lshell.main()
File "/usr/local/lib/python2.7/dist-packages/lshell.py", line 1456, in main
cli.cmdloop()
File "/usr/local/lib/python2.7/dist-packages/lshell.py", line 561, in cmdloop
stop = self.onecmd(line)
File "/usr/local/lib/python2.7/dist-packages/lshell.py", line 684, in onecmd
func = getattr(self, 'do_' + cmd)
File "/usr/local/lib/python2.7/dist-packages/lshell.py", line 163, in __getattr__
self.g_line = get_aliases(self.g_line, self.conf['aliases'])
File "/usr/local/lib/python2.7/dist-packages/lshell.py", line 1437, in get_aliases
line = line.replace(aliaskey, aliases[item])
UnboundLocalError: local variable 'aliaskey' referenced before assignment

Any ideas why this is not working?

Comments

omega8cc’s picture