kube-shell icon indicating copy to clipboard operation
kube-shell copied to clipboard

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

Open k0nstantinv opened this issue 7 years ago • 10 comments

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?

k0nstantinv avatar Oct 19 '17 13:10 k0nstantinv

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.

murali-reddy avatar Dec 09 '17 07:12 murali-reddy

@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

k0nstantinv avatar Dec 09 '17 14:12 k0nstantinv

@k0nstantinv can you please try 0.0.23?

murali-reddy avatar Dec 09 '17 19:12 murali-reddy

same issue with 0.0.23

lynchc avatar Jan 12 '18 17:01 lynchc

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

Stono avatar Jan 14 '18 19:01 Stono

Likewise. Changing Namespaces with F5 doesn't work.

wasimj avatar Nov 15 '18 10:11 wasimj

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

mabushey avatar Feb 11 '19 21:02 mabushey

Upgrading to 0.0.23 resolved this issue for me.

macOS 10.14.5 python 2.7.15

hasrobin avatar Jul 23 '19 22:07 hasrobin

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

kaka-milan-22 avatar Jan 19 '21 08:01 kaka-milan-22

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.

perskes avatar Jun 23 '22 14:06 perskes