Hello @abrochard,
I am experiencing an error with kubel dired while trying to copy log files to local system using tramp.
Tried the same with Kubernetes-el package and it works fine.
Error in messages buffer
error in process sentinel: async-handle-result: Method ‘kubectl’ is not known
error in process sentinel: Method ‘kubectl’ is not known
toggle-debug-on-error does not trigger anything.
Using Emacs-29.4. It is a new install.
I am suspecting kubel-setup-tramp function is the culprit here.
Here is Kubernetes-el tramp method value -
("kubernetes"
(tramp-login-program "kubectl")
(tramp-login-args
(("exec")
("%h")
("-it")
("--")
("%l")))
(tramp-config-check tramp-kubernetes--current-context-data)
(tramp-direct-async
("/bin/sh" "-c"))
(tramp-remote-shell "/bin/sh")
(tramp-remote-shell-login
("-l"))
(tramp-remote-shell-args
("-i" "-c")))
It looks pretty similar to what you have in kubel-setup-tramp function. I am not sure why this is working and kubel tramp copy is not.
Hello @abrochard,
I am experiencing an error with
kubeldired while trying to copy log files to local system using tramp.Tried the same with
Kubernetes-elpackage and it works fine.Error in messages buffer
toggle-debug-on-errordoes not trigger anything.Using Emacs-29.4. It is a new install.
I am suspecting
kubel-setup-trampfunction is the culprit here.Here is
Kubernetes-eltramp method value -It looks pretty similar to what you have in
kubel-setup-trampfunction. I am not sure why this is working andkubeltramp copy is not.