reddit / emacs

lsp-install-server not working anymore

snakebyte8 · 2022-05-20 07:26
I don't really know since which version I can't get lsp-install-server to work. Everytime I launch the command, I get this error &#x200B; Debugger entered--Lisp error: (cl-assertion-failed ((seq-every-p (apply-partially #'stringp) command) "Invalid command list")) cl--assertion-failed((seq-every-p (apply-partially #'stringp) command) "Invalid command list" nil nil) lsp-resolve-final-function(#f(compiled-function () #<bytecode -0x1de1dd2729fbf2d9>)) #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)() lsp--server-binary-present\?(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) #f(compiled-function (client) #<bytecode -0x188f5599c5a8b819>)(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) #f(compiled-function (it) #<bytecode -0x142f8f991123cf4d>)(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) mapcar(#f(compiled-function (it) #<bytecode -0x142f8f991123cf4d>) (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...)) lsp--completing-read("Select server ..." (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) #f(compiled-function (client) #<bytecode -0x188f5599c5a8b819>) nil t) lsp-install-server(nil) funcall-interactively(lsp-install-server nil) call-interactively(lsp-install-server record nil) command-execute(lsp-install-server record) execute-extended-command(nil "lsp-install-server" nil) funcall-interactively(execute-extended-command nil "lsp-install-server" nil) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) recursive-edit() debug(error (cl-assertion-failed ((seq-every-p (apply-partially #'stringp) command) "Invalid command list"))) cl--assertion-failed((seq-every-p (apply-partially #'stringp) command) "Invalid command list" nil nil) lsp-resolve-final-function(#f(compiled-function () #<bytecode -0x1de1dd2729fbf2d9>)) #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)() lsp--server-binary-present\?(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) #f(compiled-function (client) #<bytecode -0x188f5599c5a8b819>)(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) #f(compiled-function (it) #<bytecode -0x142f8f991123cf4d>)(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) mapcar(#f(compiled-function (it) #<bytecode -0x142f8f991123cf4d>) (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...)) lsp--completing-read("Select server ..." (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) #f(compiled-function (client) #<bytecode -0x188f5599c5a8b819>) nil t) lsp-install-server(nil) funcall-interactively(lsp-install-server nil) call-interactively(lsp-install-server record nil) command-execute(lsp-install-server record) execute-extended-command(nil "lsp-install-server" "lsp-install-se") funcall-interactively(execute-extended-command nil "lsp-install-server" "lsp-install-se") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) recursive-edit() debug(error (cl-assertion-failed ((seq-every-p (apply-partially #'stringp) command) "Invalid command list"))) cl--assertion-failed((seq-every-p (apply-partially #'stringp) command) "Invalid command list" nil nil) lsp-resolve-final-function(#f(compiled-function () #<bytecode -0x1de1dd2729fbf2d9>)) #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)() lsp--server-binary-present\?(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) #f(compiled-function (client) #<bytecode -0x188f5599c5a8b819>)(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) #f(compiled-function (it) #<bytecode -0x142f8f991123cf4d>)(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) mapcar(#f(compiled-function (it) #<bytecode -0x142f8f991123cf4d>) (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...)) lsp--completing-read("Select server ..." (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) #f(compiled-function (client) #<bytecode -0x188f5599c5a8b819>) nil t) lsp-install-server(nil) funcall-interactively(lsp-install-server nil) call-interactively(lsp-install-server record nil) command-execute(lsp-install-server record) execute-extended-command(nil "lsp-install-server" nil) funcall-interactively(execute-extended-command nil "lsp-install-server" nil) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) recursive-edit() debug(error (cl-assertion-failed ((seq-every-p (apply-partially #'stringp) command) "Invalid command list"))) cl--assertion-failed((seq-every-p (apply-partially #'stringp) command) "Invalid command list" nil nil) lsp-resolve-final-function(#f(compiled-function () #<bytecode -0x1de1dd2729fbf2d9>)) #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)() lsp--server-binary-present\?(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) #f(compiled-function (client) #<bytecode -0x188f5599c5a8b819>)(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) #f(compiled-function (it) #<bytecode -0x142f8f991123cf4d>)(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) mapcar(#f(compiled-function (it) #<bytecode -0x142f8f991123cf4d>) (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...)) lsp--completing-read("Select server ..." (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) #f(compiled-function (client) #<bytecode -0x188f5599c5a8b819>) nil t) lsp-install-server(t kotlin) eval((lsp-install-server t 'kotlin) t) eval-expression((lsp-install-server t 'kotlin) nil nil 127) funcall-interactively(eval-expression (lsp-install-server t 'kotlin) nil nil 127) call-interactively(eval-expression nil nil) command-execute(eval-expression) recursive-edit() debug(error (cl-assertion-failed ((seq-every-p (apply-partially #'stringp) command) "Invalid command list"))) cl--assertion-failed((seq-every-p (apply-partially #'stringp) command) "Invalid command list" nil nil) lsp-resolve-final-function(#f(compiled-function () #<bytecode -0x1de1dd2729fbf2d9>)) #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)() lsp--server-binary-present\?(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) #f(compiled-function (client) #<bytecode -0x188f5599c5a8b819>)(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) #f(compiled-function (it) #<bytecode -0x142f8f991123cf4d>)(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) mapcar(#f(compiled-function (it) #<bytecode -0x142f8f991123cf4d>) (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...)) lsp--completing-read("Select server ..." (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) #f(compiled-function (client) #<bytecode -0x188f5599c5a8b819>) nil t) lsp-install-server(t kotlin-language-serv) eval((lsp-install-server t 'kotlin-language-serv) t) eval-expression((lsp-install-server t 'kotlin-language-serv) nil nil 127) funcall-interactively(eval-expression (lsp-install-server t 'kotlin-language-serv) nil nil 127) call-interactively(eval-expression nil nil) command-execute(eval-expression) recursive-edit() debug(error (cl-assertion-failed ((seq-every-p (apply-partially #'stringp) command) "Invalid command list"))) cl--assertion-failed((seq-every-p (apply-partially #'stringp) command) "Invalid command list" nil nil) lsp-resolve-final-function(#f(compiled-function () #<bytecode -0x1de1dd2729fbf2d9>)) #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)() lsp--server-binary-present\?(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) #f(compiled-function (client) #<bytecode -0x188f5599c5a8b819>)(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) #f(compiled-function (it) #<bytecode -0x142f8f991123cf4d>)(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x1b774c34867fc8e>) :test\? #f(compiled-function () #<bytecode 0x2a0b7f3f4d9e0d7>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1ff7b05d100b> :request-handlers #<hash-table equal 0/65 0x1ff7b0a08555> :response-handlers #<hash-table eql 0/65 0x1ff7b0a434e9> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1ff7b05d0c07> :action-handlers #<hash-table equal 0/65 0x1ff7b05d6481> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode -0x4ac87d1d9edb181>) :priority 0 :server-id perlnavigator :multi-root nil :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1ff7b05d14ad> :download-server-fn #f(compiled-function (client callback error-callback update\?) #<bytecode 0x13cfc8da4f74d023>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) mapcar(#f(compiled-function (it) #<bytecode -0x142f8f991123cf4d>) (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...)) lsp--completing-read("Select server ..." (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) #f(compiled-function (client) #<bytecode -0x188f5599c5a8b819>) nil t) lsp-install-server(t kotlin-language-server) eval((lsp-install-server t 'kotlin-language-server) t) eval-expression((lsp-install-server t 'kotlin-language-server) nil nil 127) funcall-interactively(eval-expression (lsp-install-server t 'kotlin-language-server) nil nil 127) call-interactively(eval-expression nil nil) command-execute(eval-expression) OS: macOS Monterey 12.3.1 Emacs version: 28.1
Phil-Hudson · 2022-05-21 17:03
That `apply-partially` looks wrong. It should probably just be `#'stringp`. `apply-partially` can never be correctly used with `stringp`, since `stringp` takes only one argument.
vecksagos · 2022-06-06 22:27
I had a similar error, when i run `lsp-install-server` with `debug-on-error` equals `t`, the error appears, with `debug-on-error` equals `nil`, there is no error anymore