jinnovation / kele.el

🥤 Spritzy Kubernetes cluster management for Emacs
https://jonathanj.in/kele.el/
Apache License 2.0
72 stars 3 forks source link

Running kele-mode dumps a truncated sexp to the minibuffer #232

Open nflenz opened 2 weeks ago

nflenz commented 2 weeks ago

When running kele-mode, I'm prompted for something in the minibuffer, but the prompt is just a dump of a truncated sexp. It seems to be the same problem mentioned in this reddit comment.

nflenz commented 2 weeks ago

image

Here's an image that demonstrates the problem.

jinnovation commented 2 weeks ago

Hey, thanks for submitting this. 👋

First off, can you try pulling the latest version of the package? It's possible that the sexp is an errant debugging message that I accidentally committed at some point.

If that's still showing up, could you take a look at *Messages* and see if the minibuffer prompt you mentioned shows up in there?

nflenz commented 1 week ago

Thanks for looking into it. I just pulled the latest version. I was only one commit behind main, and the *Messages* buffer seems to only have one line related to kele after I run kele-mode and get the data dumped to the minibuffer.

Cleaning up the recentf list...done (0 removed)
Loading /home/nicholas/.emacs.d/settings.d/projectile.el (source)...done
Loading /home/nicholas/.emacs.d/settings.d/yasnippet.el (source)...done
Loading /home/nicholas/.emacs.d/settings.d/lsp-mode.el (source)...done
Loading /home/nicholas/.emacs.d/settings.d/notes.el (source)...done
Loading /home/nicholas/.emacs.d/settings.d/elisp.el (source)...done
Loading /home/nicholas/.emacs.d/settings.d/nix.el (source)...done
Loading /home/nicholas/.emacs.d/settings.d/yaml.el (source)...done
Loading /home/nicholas/.emacs.d/settings.d/ansible.el (source)...done
Loading /home/nicholas/.emacs.d/settings.d/python.el (source)...done
Loading /home/nicholas/.emacs.d/settings.d/clojure.el (source)...done
Waiting for git... [2 times]
Turning on magit-auto-revert-mode...done
Projectile is discovering projects in ~/src/...done
Projectile is discovering projects in ~/.emacs.d/...done
Projectile is discovering projects in ~/.ssh/...done
[yas] Prepared just-in-time loading of snippets successfully.
For information about GNU Emacs and the GNU system, type C-h C-a.
[nil 26233 39879 332569 nil elpaca-process-queues nil nil 500000 nil]
Pulling kubeconfig contents...done
saucoide commented 1 week ago

I get the same on this version from melpa 20240621.2110 - (commit 246009)

It then fails to do get any resources with

Unbound slot: kele--discovery-cache, "#<kele--discovery-cache kele--discovery-cache-1fde62725536>", contents, oref