plot icon indicating copy to clipboard operation
plot copied to clipboard

Vlime Swank crash when loading :plot/vega

Open vukv93 opened this issue 1 year ago • 2 comments

Hello, I am pretty new to Lisp, and currently I'm using Neovim with Vlime and Roswell with SBCL 2.3.9 as a development environment. When I try loading plot/vega package using (ql:quickload :plot/vega), I get the following error in the Vlime server output window:

  <INFO> [02:05:22] vlime-usocket - Control thread stopping: (:SWANK-DATA-ERROR "No policy for symbols as keys defined. Please check YASON:*SYMBOL-KEY-ENCODER*.")
;; swank:close-connection: end of file on #<SB-SYS:FD-STREAM for "socket 127.0.0.1:35825, peer: 127.0.0.1:41070" {1003696823}>

Running ros run --eval '(ql:quickload :plot/vega)' loads the package successfully. I also had no problem a while ago using vim-slime (which I think just sends expression text to an independent REPL in another Vim or Tmux window), so to me it seems like a Vlime- or Swank-specific issue. Could you please give me some advice on how to debug this further?

vukv93 avatar Apr 06 '24 11:04 vukv93

I suspect this is more likely a problem with an out of date version of PLOT. Quicklisp as been slow to update lately, and there's been major version updates since the last Quicklisp release.

Try installing from source and see if that fixes the error.

snunez1 avatar Apr 07 '24 06:04 snunez1

Did using the source from the git repo work for you?

snunez1 avatar Sep 02 '24 13:09 snunez1