Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package SERAPEUM does not exist #133

Open
hsmyers opened this issue Feb 11, 2023 · 9 comments
Open

Package SERAPEUM does not exist #133

hsmyers opened this issue Feb 11, 2023 · 9 comments

Comments

@hsmyers
Copy link

hsmyers commented Feb 11, 2023

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}>
@nobody-famous
Copy link
Owner

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.

@hsmyers
Copy link
Author

hsmyers commented Feb 12, 2023

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.

@nobody-famous
Copy link
Owner

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.

@nobody-famous
Copy link
Owner

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.

@nobody-famous
Copy link
Owner

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.

@hsmyers
Copy link
Author

hsmyers commented Feb 12, 2023 via email

@hsmyers
Copy link
Author

hsmyers commented Feb 12, 2023 via email

@nobody-famous
Copy link
Owner

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

@hsmyers
Copy link
Author

hsmyers commented Feb 14, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants