cloudnativelabs / kube-shell

Kubernetes shell: An integrated shell for working with the Kubernetes
Apache License 2.0
2.38k stars 175 forks source link

F5 namespace switch doesn't work (still or again?) #42

Open k0nstantinv opened 6 years ago

k0nstantinv commented 6 years ago

Hello, First of all thanks for you work!

I have been using kube-shell few days and everything it's OK, but namespace switcher doesn't work. There is no errors or something else, just no reaction when i press F5

My system: Ubuntu 16.04 My python: 2.7.12 My kube-shell: 0.0.21 (latest)

I saw similar issue https://github.com/cloudnativelabs/kube-shell/issues/39 Is there a way to fix it or need to wait for the next release?

murali-reddy commented 6 years ago

Apologies for not giving attention to this issue. I have released 0.0.22 version. Please give it a try and see if issue is resolved.

k0nstantinv commented 6 years ago

@murali-reddy kube-shell completely doesn't work after update:


kube-shell> 1Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.7/dist-packages/prompt_toolkit/interface.py", line 865, in run
    completions = list(buffer.completer.get_completions(document, complete_event))
  File "/usr/local/lib/python2.7/dist-packages/kubeshell/completer.py", line 42, in get_completionsExit                                                                                                            
    _, _, suggestions = self.parser.parse_tokens(tokens)
AttributeError: 'KubectlCompleter' object has no attribute 'parser'

kube-shell> 1
murali-reddy commented 6 years ago

@k0nstantinv can you please try 0.0.23?

lynchc commented 6 years ago

same issue with 0.0.23

Stono commented 6 years ago

Ditto, this doesn't work for me (nor does server side completion).

wasimj commented 5 years ago

Likewise. Changing Namespaces with F5 doesn't work.

mabushey commented 5 years ago

F4 and F5 do not work, however F9 and F10 do.

hasrobin commented 5 years ago

Upgrading to 0.0.23 resolved this issue for me.

macOS 10.14.5 python 2.7.15

kaka-milan-22 commented 3 years ago

me,too, F4 F5 not working ,F9 do.

perskes commented 2 years ago

Switching with F5 seems to need a "kick" sometimes.

I switched the namespace with kubens while in kube-shell. After that I was able to cycle through my namespaces with F5 again. It's a bit frustrating, but it works and it stays like that for as long as the shell (not just kube-shell) is active.