nobody-famous / alive

Common Lisp Extension for VSCode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Package SERAPEUM does not exist

hsmyers opened this issue · comments

commented

This, on a READ error. Which is nonsense since I develop in EMACS without a problem. Suggestions? Here is what hits the PROBLEMS screen after startup:

READ error during COMPILE-FILE:

Package SERAPEUM does not exist.

Line: 4, Column: -1, File-Position: 100

Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /home/hsmyers/lisp/pgn/.vscode/alive/fasl/tmp.lisp" {1002929493}>

How does sbcl get started by Emacs? What usually tells it to load that package? It sounds like the startup process under Alive isn't including something.

commented

In Emacs, it is initialized by 'M-x slime'. It's a three-way thing, Emacs, SBCL, and Slime. With Slime setting up the port/repl. I execute '(ql:quickload "serapeum") in the repl, along with other requirements… Seems to me that you are making the assumption that the file is ready to compile before that is the case. I.E., I have yet to execute the three needed Quickload calls before compiling the file.

Ok, gotcha. That's a difference in philosophy between Emacs and Alive.

Alive shows you errors as you type. The only way to get the errors is to compile the file, which it does with a temp file to keep from littering fasl files everywhere. It's telling you your code won't run because the dependencies haven't been loaded, which is correct. Doing the quickload command at the repl should get the error to go away.

Actually, now that I think about it, where is the message getting printed? Does the side panel come up or is it being prevented from starting? The message about the temp file shouldn't be written anywhere.

Just tried it, apparently it does mention the temp file in the message. I thought it only printed that the package isn't found. Not sure there's a good way to get it to not do that.

commented
commented

Ah, yep. It wasn't auto updating the diagnostics. I added a fix for that. The new version should work.

commented