You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, never mind. I leave this for documentation about how bad the setup and startup experience is. The problem was I had sbcl running in terminal while I was doing all the setup steps. When I killed the external terminal, everything suddenly works. This surprises me a lot because the terminal and VS Code should be loading sbcl into distinct memory spaces. I think I had done install tasks in the terminal sesssion of sbcl and hadn't quit. So, VS Code was not seeing the complete image...
So, I'll submit and resolve closed all at once.
I've installed everything per the very conflicting and generally incorrect instructions found on the internet.
Note: most of these are not your problems--I am documenting what I did.
homebrew does not install asdf when installing sbcl. So, all the documentation that says sbcl comes with asdf seems wrong.
So, brew install asdf.
Use quick lisp to install the 4 dependencies. Success is reported for all 4.
Now, try to create a hello.lisp in VS code. Then try to run the repl. The repl never starts because the repl says usocket is not installed, but it clearly was. It is almost as if VS Code is using a completely different install of sbcl, but I should only have one at: /opt/homebrew/bin/sbcl
I get an Alive Log and Alive LSP output so the plugin is installed and works in some minimal way. But, the REPL never loads even though startup output is generated. I can access the command Alive: send to repl with a hello, world line selected: (concatenate 'string "Hello" " " "World" "!"). But, nothing ever happens except the Repl displays the VS Code processing bar forever.
I have no clue what to do to fix any of this or how to configure the settings. I pasted in a setting that appeared in another thread, but it did nothing to fix whatever the fundamental problem is.
Here is the Alive LSP output:
This is SBCL 2.3.4, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
debugger invoked on a ASDF/FIND-COMPONENT:MISSING-DEPENDENCY in thread
#<THREAD "main thread" RUNNING {70087B05B3}>:
Component #:USOCKET not found, required by #<SYSTEM "alive-lsp">
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY ] Retry loading USOCKET.
1: Retry ASDF operation.
2: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
configuration.
3: Retry ASDF operation.
4: Retry ASDF operation after resetting the
configuration.
5: [CONTINUE ] Ignore runtime option --eval "(asdf:load-system :alive-lsp)".
6: [ABORT ] Skip rest of --eval and --load options.
7: Skip to toplevel READ/EVAL/PRINT loop.
8: [EXIT ] Exit SBCL (calling #'EXIT, killing the process).
(ASDF/FIND-COMPONENT:RESOLVE-DEPENDENCY-NAME #<ASDF/SYSTEM:SYSTEM "alive-lsp"> #:USOCKET NIL)
source: (ERROR 'MISSING-DEPENDENCY :REQUIRED-BY COMPONENT :REQUIRES NAME)
0]
Here is the Alive Log:
Activating extension
Get workspace path: [{"uri":{"$mid":1,"fsPath":"/Users/lewis/Dropbox/Lisp-play/Startup","external":"file:///Users/lewis/Dropbox/Lisp-play/Startup","path":"/Users/lewis/Dropbox/Lisp-play/Startup","scheme":"file"},"name":"Startup","index":0}]
Workspace folder: {"uri":{"$mid":1,"fsPath":"/Users/lewis/Dropbox/Lisp-play/Startup","external":"file:///Users/lewis/Dropbox/Lisp-play/Startup","path":"/Users/lewis/Dropbox/Lisp-play/Startup","scheme":"file"},"name":"Startup","index":0}
Workspace Path: /Users/lewis/Dropbox/Lisp-play/Startup
Format On Type: true
Download LSP server
LSP config: {"install":{"path":""},"downloadUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/releases","remote":{"host":null,"port":null},"startCommand":["sbcl","--eval","(require :asdf)","--eval","(asdf:load-system :alive-lsp)","--eval","(alive/server:start)"]}
Config install path:
Base path: /Users/lewis/.vscode/extensions/rheller.alive-0.3.22/out/alive-lsp
Get latest version
URL: https://api.github.com/repos/nobody-famous/alive-lsp/releases
Versions: [{"createdAt":1684595229000,"name":"Alive LSP v0.1.17","tagName":"v0.1.17","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.17"},{"createdAt":1682787470000,"name":"Alive LSP v0.1.16","tagName":"v0.1.16","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.16"},{"createdAt":1673121078000,"name":"Alive LSP v0.1.15","tagName":"v0.1.15","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.15"},{"createdAt":1669573384000,"name":"Alive LSP v0.1.14","tagName":"v0.1.14","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.14"},{"createdAt":1668010311000,"name":"Alive LSP v0.1.13","tagName":"v0.1.13","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.13"},{"createdAt":1666047079000,"name":"Alive LSP v0.1.12","tagName":"v0.1.12","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.12"},{"createdAt":1664403292000,"name":"Alive LSP v0.1.11","tagName":"v0.1.11","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.11"},{"createdAt":1661291603000,"name":"Alive LSP v0.1.10","tagName":"v0.1.10","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.10"},{"createdAt":1659807648000,"name":"Alive LSP v0.1.9","tagName":"v0.1.9","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.9"},{"createdAt":1658012191000,"name":"Alive LSP v0.1.8","tagName":"v0.1.8","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.8"},{"createdAt":1657724609000,"name":"Alive LSP v0.1.7","tagName":"v0.1.7","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.7"},{"createdAt":1657647662000,"name":"Alive LSP v0.1.6","tagName":"v0.1.6","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.6"},{"createdAt":1657075826000,"name":"Alive LSP v0.1.5","tagName":"v0.1.5","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.5"},{"createdAt":1656978478000,"name":"Alive LSP v0.1.4","tagName":"v0.1.4","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.4"},{"createdAt":1656819103000,"name":"Alive LSP v0.1.3","tagName":"v0.1.3","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.3"},{"createdAt":1654310213000,"name":"Alive LSP v0.1.2","tagName":"v0.1.2","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.2"},{"createdAt":1654267509000,"name":"Alive LSP v0.1.1","tagName":"v0.1.1","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.1"},{"createdAt":1653788753000,"name":"Initial release","tagName":"v0.1.0","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.0"}]
Versions sorted: [{"createdAt":1684595229000,"name":"Alive LSP v0.1.17","tagName":"v0.1.17","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.17"},{"createdAt":1682787470000,"name":"Alive LSP v0.1.16","tagName":"v0.1.16","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.16"},{"createdAt":1673121078000,"name":"Alive LSP v0.1.15","tagName":"v0.1.15","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.15"},{"createdAt":1669573384000,"name":"Alive LSP v0.1.14","tagName":"v0.1.14","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.14"},{"createdAt":1668010311000,"name":"Alive LSP v0.1.13","tagName":"v0.1.13","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.13"},{"createdAt":1666047079000,"name":"Alive LSP v0.1.12","tagName":"v0.1.12","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.12"},{"createdAt":1664403292000,"name":"Alive LSP v0.1.11","tagName":"v0.1.11","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.11"},{"createdAt":1661291603000,"name":"Alive LSP v0.1.10","tagName":"v0.1.10","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.10"},{"createdAt":1659807648000,"name":"Alive LSP v0.1.9","tagName":"v0.1.9","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.9"},{"createdAt":1658012191000,"name":"Alive LSP v0.1.8","tagName":"v0.1.8","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.8"},{"createdAt":1657724609000,"name":"Alive LSP v0.1.7","tagName":"v0.1.7","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.7"},{"createdAt":1657647662000,"name":"Alive LSP v0.1.6","tagName":"v0.1.6","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.6"},{"createdAt":1657075826000,"name":"Alive LSP v0.1.5","tagName":"v0.1.5","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.5"},{"createdAt":1656978478000,"name":"Alive LSP v0.1.4","tagName":"v0.1.4","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.4"},{"createdAt":1656819103000,"name":"Alive LSP v0.1.3","tagName":"v0.1.3","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.3"},{"createdAt":1654310213000,"name":"Alive LSP v0.1.2","tagName":"v0.1.2","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.2"},{"createdAt":1654267509000,"name":"Alive LSP v0.1.1","tagName":"v0.1.1","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.1"},{"createdAt":1653788753000,"name":"Initial release","tagName":"v0.1.0","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.0"}]
Latest version: {"createdAt":1684595229000,"name":"Alive LSP v0.1.17","tagName":"v0.1.17","zipballUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/zipball/v0.1.17"}
Get installed version: /Users/lewis/.vscode/extensions/rheller.alive-0.3.22/out/alive-lsp
Files: ["v0.1.17"]
Installed version: v0.1.17
LSP install path: /Users/lewis/.vscode/extensions/rheller.alive-0.3.22/out/alive-lsp/v0.1.17/nobody-famous-alive-lsp-abc2291
Start LSP server
LSP config: {"install":{"path":""},"downloadUrl":"https://api.github.com/repos/nobody-famous/alive-lsp/releases","remote":{"host":null,"port":null},"startCommand":["sbcl","--eval","(require :asdf)","--eval","(asdf:load-system :alive-lsp)","--eval","(alive/server:start)"]}
Command: ["sbcl","--eval","(require :asdf)","--eval","(asdf:load-system :alive-lsp)","--eval","(alive/server:start)"]
ENV: {"COMMAND_MODE":"unix2003","DISPLAY":"/private/tmp/com.apple.launchd.YWD7U81fQq/org.xquartz:0","EDITOR":"code","HOME":"/Users/lewis","HOMEBREW_CELLAR":"/opt/homebrew/Cellar","HOMEBREW_PREFIX":"/opt/homebrew","HOMEBREW_REPOSITORY":"/opt/homebrew","INFOPATH":"/opt/homebrew/share/info:","LESS":"-Xr","LOGNAME":"lewis","LSCOLORS":"Gxfxcxdxbxegedabagacad","MANPATH":"/opt/homebrew/share/man::","MallocNanoZone":"0","OLDPWD":"/","ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","PAGER":"less","PATH":"/Library/Frameworks/Python.framework/Versions/3.10/bin:/Applications/Julia-1.8.app/Contents/Resources/julia/bin/julia:/opt/homebrew/bin:/opt/homebrew/sbin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/go/bin:/opt/X11/bin:/Library/Apple/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin","PWD":"/","SHELL":"/bin/zsh","SHLVL":"0","SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.UEQF7pJX47/Listeners","TMPDIR":"/var/folders/9m/q4m1bq1972z9gqw3d7s9rqfh0000gn/T/","USER":"lewis","VSCODE_AMD_ENTRYPOINT":"vs/workbench/api/node/extensionHostProcess","VSCODE_CODE_CACHE_PATH":"/Users/lewis/Library/Application Support/Code/CachedData/b3e4e68a0bc097f0ae7907b217c1119af9e03435","VSCODE_CRASH_REPORTER_PROCESS_TYPE":"extensionHost","VSCODE_CRASH_REPORTER_SANDBOXED_HINT":"1","VSCODE_CWD":"/","VSCODE_HANDLES_UNCAUGHT_ERRORS":"true","VSCODE_IPC_HOOK":"/Users/lewis/Library/Application Support/Code/1.78-main.sock","VSCODE_NLS_CONFIG":"{\"locale\":\"en-us\",\"osLocale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}","VSCODE_PID":"96874","XPC_FLAGS":"0x0","XPC_SERVICE_NAME":"application.com.microsoft.VSCode.50543811.50543819","ZSH":"/Users/lewis/.oh-my-zsh","_":"/Applications/Visual Studio Code.app/Contents/MacOS/Electron","__CFBundleIdentifier":"com.microsoft.VSCode","__CF_USER_TEXT_ENCODING":"0x1F5:0x0:0x0","ELECTRON_RUN_AS_NODE":"1","VSCODE_L10N_BUNDLE_LOCATION":"","CL_SOURCE_REGISTRY":"/Users/lewis/.vscode/extensions/rheller.alive-0.3.22/out/alive-lsp/v0.1.17/nobody-famous-alive-lsp-abc2291:"}
CWD: /Users/lewis/Dropbox/Lisp-play/Startup
Spawning child: sbcl
Spawned: sbcl
Check for port: This is SBCL 2.3.4, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
Match: null
Invalid port: NaN
sbcl ERROR:
sbcl ERROR: debugger invoked on a ASDF/FIND-COMPONENT:MISSING-DEPENDENCY in thread
#<THREAD "main thread" RUNNING {70087B05B3}>:
Component #:USOCKET not found, required by #<SYSTEM "alive-lsp">
Check for port:
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY ] Retry loading USOCKET.
1: Retry ASDF operation.
2: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
configuration.
3: Retry ASDF operation.
4: Retry ASDF operation after resetting the
configuration.
5: [CONTINUE ] Ignore runtime option --eval "(asdf:load-system :alive-lsp)".
6: [ABORT ] Skip rest of --eval and --load options.
7: Skip to toplevel READ/EVAL/PRINT loop.
8: [EXIT ] Exit SBCL (calling #'EXIT, killing the process).
Match: null
Invalid port: NaN
Check for port: (ASDF/FIND-COMPONENT:RESOLVE-DEPENDENCY-NAME #<ASDF/SYSTEM:SYSTEM "alive-lsp"> #:USOCKET NIL)
source: (ERROR 'MISSING-DEPENDENCY :REQUIRED-BY COMPONENT :REQUIRES NAME)
0]
Match: null
Invalid port: NaN
The text was updated successfully, but these errors were encountered:
Well, never mind. I leave this for documentation about how bad the setup and startup experience is. The problem was I had sbcl running in terminal while I was doing all the setup steps. When I killed the external terminal, everything suddenly works. This surprises me a lot because the terminal and VS Code should be loading sbcl into distinct memory spaces. I think I had done install tasks in the terminal sesssion of sbcl and hadn't quit. So, VS Code was not seeing the complete image...
So, I'll submit and resolve closed all at once.
I've installed everything per the very conflicting and generally incorrect instructions found on the internet.
Note: most of these are not your problems--I am documenting what I did.
I get an Alive Log and Alive LSP output so the plugin is installed and works in some minimal way. But, the REPL never loads even though startup output is generated. I can access the command Alive: send to repl with a hello, world line selected:
(concatenate 'string "Hello" " " "World" "!")
. But, nothing ever happens except the Repl displays the VS Code processing bar forever.I have no clue what to do to fix any of this or how to configure the settings. I pasted in a setting that appeared in another thread, but it did nothing to fix whatever the fundamental problem is.
Here is the Alive LSP output:
Here is the Alive Log:
The text was updated successfully, but these errors were encountered: