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

Installation error System "lem-language-server/cli" not found #30

Open
BrunoCiccarino opened this issue Jun 22, 2024 · 1 comment
Open

Comments

@BrunoCiccarino
Copy link

BrunoCiccarino commented Jun 22, 2024

I'm trying to install cl-lsp to program in common lisp, the installation process is actually quite simple, first I cloned the cl-lsp repository, then I downloaded quicklisp and then I started the sbcl repl, within repl After installing everything and configuring everything, when I run the command (ql:quickload "cl-lsp") it does not recognize cl-lsp, even though it is in the same directory and has cl-lsp.asd , the error that returns is this:

debugger invoked on a QUICKLISP-CLIENT:SYSTEM-NOT-FOUND in thread
#<THREAD tid=16872 "main thread" RUNNING {1003E800A3}>:
  System "cl-lsp" not found

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
If anyone knows how I can solve this, I would be very grateful for your answer!

I've already redone this entire process more than twice, I've already researched this error, but I didn't find anything, and I also tried asking GPT chat but even he doesn't know how to solve it.

when I try to load cl-lsp it seems that quicklisp is trying to find a non-existent dependency... Look at this error output:

* (ql:quickload "cl-lsp")
To load "cl-lsp":
  Load 1 ASDF system:
    cl-lsp
; Loading "cl-lsp"

debugger invoked on a QUICKLISP-CLIENT:SYSTEM-NOT-FOUND in thread
#<THREAD tid=7552 "main thread" RUNNING {1003E800A3}>:
  System "lem-language-server/cli" not found

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE               ] Try again
  1: [ABORT                  ] Give up on "lem-language-server/cli"
  2:                           Give up on "cl-lsp"
  3: [REGISTER-LOCAL-PROJECTS] Register local projects and try again.
  4:                           Exit debugger, returning to top level.

((LABELS QUICKLISP-CLIENT::RECURSE :IN QUICKLISP-CLIENT::COMPUTE-LOAD-STRATEGY) "lem-language-server/cli")
   source: (CERROR "Try again" 'SYSTEM-NOT-FOUND :NAME NAME)

Update: I downloaded this dependency and got this error:

; caught ERROR:
;   READ error during COMPILE-FILE:
;
;     Lock on package SB-DI violated when interning DEBUG-VAR-INFO while in package
;     DISSECT.
;   See also:
;     The SBCL Manual, Node "Package Locks"
;
;     (in form starting at line: 38, column: 0, position: 1539)

debugger invoked on a UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread
#<THREAD tid=7068 "main thread" RUNNING {1000A90133}>:
  COMPILE-FILE-ERROR while
  compiling #<CL-SOURCE-FILE "dissect" "backend" "sbcl">

now I'm going to try to download Roswell

@BeginningLisper
Copy link

I also get the following when I use the intended roswell method ros install lem-project/lem cxxxr/cl-lsp
I'm on a windows system though and frankly things are kind of a mess

Installing from github cxxxr/cl-lsp
To load "cl-lsp":
  Load 1 ASDF system:
    cl-lsp
; Loading "cl-lsp"
[1/3] System 'cl-lsp' found. Loading the system..Aborted during step [1/3].
Unhandled QUICKLISP-CLIENT:SYSTEM-NOT-FOUND in thread #<SB-THREAD:THREAD tid=130564 "main thread" RUNNING
                                                         {1103FC80A3}>:
  System "lem-language-server/cli" not found

Backtrace for: #<SB-THREAD:THREAD tid=130564 "main thread" RUNNING {1103FC80A3}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<QUICKLISP-CLIENT:SYSTEM-NOT-FOUND {1103C20373}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #<QUICKLISP-CLIENT:SYSTEM-NOT-FOUND {1103C20373}>)
2: (INVOKE-DEBUGGER #<QUICKLISP-CLIENT:SYSTEM-NOT-FOUND {1103C20373}>)
3: (CERROR "Try again" QUICKLISP-CLIENT:SYSTEM-NOT-FOUND :NAME "lem-language-server/cli")
4: ((LABELS QUICKLISP-CLIENT::RECURSE :IN QUICKLISP-CLIENT::COMPUTE-LOAD-STRATEGY) "lem-language-server/cli")
5: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #<FUNCTION (LAMBDA NIL :IN QUICKLISP-CLIENT::COMPUTE-LOAD-STRATEGY) {1103C142FB}>)
6: (QUICKLISP-CLIENT::COMPUTE-LOAD-STRATEGY "lem-language-server/cli")
7: (QUICKLISP-CLIENT::AUTOLOAD-SYSTEM-AND-DEPENDENCIES "lem-language-server/cli" :PROMPT NIL)
8: (QUICKLISP-CLIENT::AUTOLOAD-SYSTEM-AND-DEPENDENCIES "cl-lsp" :PROMPT NIL)
9: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION (T T)) #<unused argument> #<FUNCTION (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {1103BEB98B}>) [fast-method]
10: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION :AROUND (QL-IMPL:SBCL T)) #<QL-IMPL:SBCL {11045DAD13}> #<FUNCTION (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {1103BEB98B}>) [fast-method]
11: ((:METHOD QUICKLISP-CLIENT:QUICKLOAD (T)) "cl-lsp" :PROMPT NIL :SILENT NIL :VERBOSE NIL) [fast-method]
12: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #<FUNCTION (LAMBDA NIL :IN QUICKLISP-CLIENT:QUICKLOAD) {1103BD704B}>)
13: (INSTALL-SYSTEM-SCRIPT "cl-lsp")
14: (INSTALL-SYSTEM-IF-PROBED "cl-lsp")
15: (INSTALL NIL)
16: (SB-INT:SIMPLE-EVAL-IN-LEXENV (APPLY (QUOTE MAIN) ROSWELL:*ARGV*) #<NULL-LEXENV>)
17: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) #<NULL-LEXENV>)
18: (SB-EXT:EVAL-TLF (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL NIL)
19: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL)
20: (SB-INT:LOAD-AS-SOURCE #<CONCATENATED-STREAM :STREAMS NIL {1101FC65B3}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
21: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<CONCATENATED-STREAM :STREAMS NIL {1101FC65B3}> NIL)
22: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {5FF21B}> #<CONCATENATED-STREAM :STREAMS NIL {1101FC65B3}> NIL #<CONCATENATED-STREAM :STREAMS NIL {1101FC65B3}>)
23: (LOAD #<CONCATENATED-STREAM :STREAMS NIL {1101FC65B3}> :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
24: ((FLET ROSWELL::BODY :IN ROSWELL:SCRIPT) #<SB-SYS:FD-STREAM for "file E:\\msys64\\mingw64\\etc\\roswell\\install.ros" {1101FC51D3}>)
25: (ROSWELL:SCRIPT "E:\\\\msys64\\\\mingw64\\\\etc\\\\roswell\\\\install.ros" "lem-project/lem" "cxxxr/cl-lsp")
26: (ROSWELL:RUN ((:EVAL "(ros:quicklisp)") (:SCRIPT "E:\\\\msys64\\\\mingw64\\\\etc\\\\roswell\\\\install.ros" "lem-project/lem" "cxxxr/cl-lsp") (:QUIT NIL)))
27: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "E:\\\\msys64\\\\mingw64\\\\etc\\\\roswell\\\\install.ros" "lem-project/lem" "cxxxr/cl-lsp") (:QUIT NIL)))) #<NULL-LEXENV>)
28: (EVAL (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "E:\\\\msys64\\\\mingw64\\\\etc\\\\roswell\\\\install.ros" "lem-project/lem" "cxxxr/cl-lsp") (:QUIT NIL)))))
29: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(progn #-ros.init(cl:load \"E:\\\\\\\\msys64\\\\\\\\mingw64\\\\\\\\etc\\\\\\\\roswell\\\\\\\\init.lisp\"))") (:EVAL . "(ros:run '((:eval\"(ros:quicklisp)\")(:script \"E:\\\\\\\\msys64\\\\\\\\mingw64\\\\\\\\etc\\\\\\\\roswell\\\\\\\\install.ros\"\"lem-project/lem\"\"cxxxr/cl-lsp\")(:quit ())))")))
30: (SB-IMPL::TOPLEVEL-INIT)
31: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
32: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
33: (SB-IMPL::%START-LISP)
34: ("foreign function: #x140046BB5")
35: ("foreign function: #x14000A420")

unhandled condition in --disable-debugger mode, quitting```

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