Open gderber opened 2 months ago
Error message:
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-command(#f(compiled-function () #<bytecode 0x193c52a2352e>) t) #f(compiled-function () #<bytecode 0x180aed1047284449>)() lsp--server-binary-present?(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn workspace) #<bytecode 0x19cb0cdfc404cdd9>) :test? #f(compiled-function () #<bytecode 0x180aed1047284449>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 3/65 0x156951173dad> :request-handlers #<hash-table equal 0/65 0x156951173fdb> :response-handlers #<hash-table eql 0/65 0x156951173ffb> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x15695117401b> :action-handlers #<hash-table equal 0/65 0x15695117403b> :action-filter nil :major-modes (python-mode python-ts-mode) :activation-fn nil :priority 2 :server-id pyright :multi-root t :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x1912958bf4a42d07>) :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 0x15695117483d> :download-server-fn #f(compiled-function (client callback error-callback update?) #<bytecode -0x15a15054be50c787>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) apply(lsp--server-binary-present? #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn workspace) #<bytecode 0x19cb0cdfc404cdd9>) :test? #f(compiled-function () #<bytecode 0x180aed1047284449>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 3/65 0x156951173dad> :request-handlers #<hash-table equal 0/65 0x156951173fdb> :response-handlers #<hash-table eql 0/65 0x156951173ffb> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x15695117401b> :action-handlers #<hash-table equal 0/65 0x15695117403b> :action-filter nil :major-modes (python-mode python-ts-mode) :activation-fn nil :priority 2 :server-id pyright :multi-root t :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x1912958bf4a42d07>) :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 0x15695117483d> :download-server-fn #f(compiled-function (client callback error-callback update?) #<bytecode -0x15a15054be50c787>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) #f(compiled-function (&rest args) #<bytecode 0x1a7894ac08f0b1af>)(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn workspace) #<bytecode 0x19cb0cdfc404cdd9>) :test? #f(compiled-function () #<bytecode 0x180aed1047284449>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 3/65 0x156951173dad> :request-handlers #<hash-table equal 0/65 0x156951173fdb> :response-handlers #<hash-table eql 0/65 0x156951173ffb> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x15695117401b> :action-handlers #<hash-table equal 0/65 0x15695117403b> :action-filter nil :major-modes (python-mode python-ts-mode) :activation-fn nil :priority 2 :server-id pyright :multi-root t :initialization-options nil :semantic-tokens-faces-overrides nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x1912958bf4a42d07>) :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 0x15695117483d> :download-server-fn #f(compiled-function (client callback error-callback update?) #<bytecode -0x15a15054be50c787>) :download-in-progress? nil :buffers nil :synchronize-sections nil)) -filter(#f(compiled-function (&rest args) #<bytecode 0x1a7894ac08f0b1af>) (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...)) lsp--filter-clients(#f(compiled-function (&rest args) #<bytecode 0x1a7894ac08f0b1af>)) #<subr lsp>() lsp@magit-find-file(#<subr lsp>) apply(lsp@magit-find-file #<subr lsp> nil) lsp() lsp--init-if-visible() #f(compiled-function () #<bytecode 0x16c562d6e3851c75>)() apply(#f(compiled-function () #<bytecode 0x16c562d6e3851c75>) nil) timer-event-handler([t 0 0 0 nil #f(compiled-function () #<bytecode 0x16c562d6e3851c75>) nil idle 0 nil])
Output of lsp-log
Command "semgrep lsp" is present on the path. Command "ruff-lsp" is present on the path.
Output of (getenv "PATH")
${HOME}/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/libexec/emacs/29.4/x86_64-linux-gnue
Using emacs command to start. Same failure happens with emacs in daemon mode.
emacs
Using 'pylsp` with a system install on Debian 12.
Error message:
Output of lsp-log
Output of (getenv "PATH")
Using
emacs
command to start. Same failure happens with emacs in daemon mode.Using 'pylsp` with a system install on Debian 12.