emacs-lsp / lsp-python-ms

lsp-mode :heart: Microsoft's python language server
https://emacs-lsp.github.io/lsp-python-ms
BSD 3-Clause "New" or "Revised" License
189 stars 41 forks source link

problem downloading and installing using use-package #63

Closed kirk86 closed 4 years ago

kirk86 commented 4 years ago

Hi, I followed the minimal example in the readme in order to install this package using use-package and initially when visiting the file python it stared to download mspyls but then I got the following error

Debugger entered--Lisp error: (error "Cannot find Microsoft Python Language Server executable! It’s expected to be /Users/jm/.emacs.d/mspyls/Microsoft.Python.LanguageServer")
  signal(error ("Cannot find Microsoft Python Language Server executable! It’s expected to be /Users/jm/.emacs.d/mspyls/Microsoft.Python.LanguageServer"))
  error("Cannot find Microsoft Python Language Server executable! It's expected to be /Users/jm/.emacs.d/mspyls/Microsoft.Python.LanguageServer")
  lsp-python-ms--command-string()
  lsp-resolve-final-function(lsp-python-ms--command-string)
  #f(compiled-function () #<bytecode 0x429088c9>)()
  lsp--matching-clients\?(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x429088b1>) :test\? #f(compiled-function () #<bytecode 0x429088c9>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 5/65 0x429088d5> :request-handlers #<hash-table equal 0/65 0x429089fd> :response-handlers #<hash-table eql 0/65 0x42af1c41> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x42908a1d> :action-handlers #<hash-table equal 0/65 0x42908a3d> :major-modes (python-mode) :activation-fn nil :priority 1 :server-id mspyls :multi-root nil :initialization-options lsp-python-ms--extra-init-params :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x42908829>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil))
  -filter(lsp--matching-clients\? (#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x42886a51>) :test\? #f(compiled-function () #<bytecode 0x428871b9>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x428871c5> :request-handlers #<hash-table equal 0/65 0x410322a9> :response-handlers #<hash-table eql 0/65 0x4250faf5> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x4132cf19> :action-handlers #<hash-table equal 0/65 0x40c52b39> :major-modes (python-mode cython-mode) :activation-fn nil :priority -1 :server-id pyls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn #f(compiled-function (workspace) #<bytecode 0x42886a05>) :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x42886a41>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x41e9ac61>) :test\? #f(compiled-function () #<bytecode 0x405c6211>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 1/65 0x405c621d> :request-handlers #<hash-table equal 0/65 0x428dfa89> :response-handlers #<hash-table eql 0/65 0x428dfe89> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x42448809> :action-handlers #<hash-table equal 1/65 0x4283ba09> :major-modes (rust-mode rustic-mode) :activation-fn nil :priority -1 :server-id rls :multi-root nil :initialization-options ((omitInitBuild . t) (cmdRun . t)) :custom-capabilities nil :library-folders-fn #f(compiled-function (workspace) #<bytecode 0x42754219>) :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x42754231>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x40636a6b>) :test\? #f(compiled-function () #<bytecode 0x4063623f>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x4063624b> :request-handlers #<hash-table equal 0/65 0x41272789> :response-handlers #<hash-table eql 0/65 0x404d6a89> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x41110909> :action-handlers #<hash-table equal 0/65 0x42279909> :major-modes (ruby-mode enh-ruby-mode) :activation-fn nil :priority -1 :server-id ruby-ls :multi-root t :initialization-options nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x4063824f>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x40a74167>) :test\? #f(compiled-function () #<bytecode 0x40a7395b>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x4282d531> :request-handlers #<hash-table equal 0/65 0x42a42d09> :response-handlers #<hash-table eql 0/65 0x424dc889> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x42b17909> :action-handlers #<hash-table equal 0/65 0x42b1fd09> :major-modes (html-mode sgml-mode mhtml-mode web-mode) :activation-fn nil :priority -4 :server-id html-ls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (w) #<bytecode 0x40a7394f>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x41ee6851>) :test\? #f(compiled-function () #<bytecode 0x41ee6869>)) :ignore-regexps nil :ignore-messages ("readFile .*? requested by Vue but content not available") :notification-handlers #<hash-table equal 0/65 0x41ea2c11> :request-handlers #<hash-table equal 0/65 0x42716d09> :response-handlers #<hash-table eql 0/65 0x42717109> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x429a5955> :action-handlers #<hash-table equal 0/65 0x40c1d189> :major-modes nil :activation-fn #f(compiled-function (filename mode) #<bytecode 0x410e3a25>) :priority -1 :server-id vls :multi-root t :initialization-options #f(compiled-function () #<bytecode 0x410e3a59>) :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x410e3a65>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x40e2e0b7>) :test\? #f(compiled-function () #<bytecode 0x40e2e0cb>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 2/65 0x40e2e0d7> :request-handlers #<hash-table equal 0/65 0x429a6d4d> :response-handlers #<hash-table eql 0/65 0x413c344d> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x41e00509> :action-handlers #<hash-table equal 0/65 0x411c63ad> :major-modes (php-mode) :activation-fn nil :priority -1 :server-id iph :multi-root t :initialization-options #f(compiled-function () #<bytecode 0x40e53843>) :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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x41e6ec61>) :test\? #f(compiled-function () #<bytecode 0x41e6a855>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x40e2b4d7> :request-handlers #<hash-table equal 0/65 0x42b24ec1> :response-handlers #<hash-table eql 0/65 0x42270775> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x42270795> :action-handlers #<hash-table equal 1/65 0x40e2b4b7> :major-modes (css-mode less-mode less-css-mode sass-mode scss-mode) :activation-fn nil :priority -1 :server-id css-ls :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x41e7546d>) :test\? #f(compiled-function () #<bytecode 0x42378f3d>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x41e6fc35> :request-handlers #<hash-table equal 0/65 0x41e6fc55> :response-handlers #<hash-table eql 0/65 0x42283ea5> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x42283ec5> :action-handlers #<hash-table equal 0/65 0x428a28a5> :major-modes nil :activation-fn #f(compiled-function (file-name mode) #<bytecode 0x42378f69>) :priority 0 :server-id xmlls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x41e75441>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x41e76471>) :test\? #f(compiled-function () #<bytecode 0x412a4215>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x412a4221> :request-handlers #<hash-table equal 0/65 0x41e7c435> :response-handlers #<hash-table eql 0/65 0x41e7c455> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x41e7e835> :action-handlers #<hash-table equal 0/65 0x41e7e855> :major-modes (go-mode) :activation-fn nil :priority 0 :server-id gopls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn lsp-clients-go--library-default-directories :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x42aabea5>) :test\? #f(compiled-function () #<bytecode 0x42b644d9>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x4286ec45> :request-handlers #<hash-table equal 0/65 0x420207b5> :response-handlers #<hash-table eql 0/65 0x420207d5> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x420223b5> :action-handlers #<hash-table equal 0/65 0x420223d5> :major-modes (go-mode) :activation-fn nil :priority -1 :server-id go-bingo :multi-root nil :initialization-options lsp-clients-go--make-init-options :custom-capabilities nil :library-folders-fn lsp-clients-go--library-default-directories :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x42022fed>) :test\? #f(compiled-function () #<bytecode 0x420213b5>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x420213c1> :request-handlers #<hash-table equal 0/65 0x42025bb5> :response-handlers #<hash-table eql 0/65 0x42025bd5> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x42027bb5> :action-handlers #<hash-table equal 0/65 0x42027bd5> :major-modes (go-mode) :activation-fn nil :priority -2 :server-id go-ls :multi-root nil :initialization-options lsp-clients-go--make-init-options :custom-capabilities nil :library-folders-fn lsp-clients-go--library-default-directories :before-file-open-fn nil :initialized-fn nil :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x410946bd>) :test\? #f(compiled-function () #<bytecode 0x41e69851>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x4202abb5> :request-handlers #<hash-table equal 0/65 0x4202abd5> :response-handlers #<hash-table eql 0/65 0x4202c3b5> :prefix-function nil :uri-handlers #<hash-table equal 1/65 0x41e6985d> :action-handlers #<hash-table equal 0/65 0x4202c3d5> :major-modes (clojure-mode clojurec-mode clojurescript-mode) :activation-fn nil :priority 0 :server-id clojure-lsp :multi-root nil :initialization-options (:dependency-scheme "jar") :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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x4260ce0d>) :test\? #f(compiled-function () #<bytecode 0x4260ce21>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x40d8b819> :request-handlers #<hash-table equal 0/65 0x40d8b839> :response-handlers #<hash-table eql 0/65 0x40d8b859> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x40cde2b5> :action-handlers #<hash-table equal 0/65 0x40cde2d5> :major-modes (dart-mode) :activation-fn nil :priority -2 :server-id dart_language_server :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x420313e1>) :test\? #f(compiled-function () #<bytecode 0x41e8805d>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x4202f7b5> :request-handlers #<hash-table equal 0/65 0x4202f7d5> :response-handlers #<hash-table eql 0/65 0x41e89835> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x41e89855> :action-handlers #<hash-table equal 0/65 0x41e8b035> :major-modes (dart-mode) :activation-fn nil :priority -1 :server-id dart_analysis_server :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x41e8c061>) :test\? #f(compiled-function () #<bytecode 0x405be63d>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x405be649> :request-handlers #<hash-table equal 0/65 0x41e97835> :response-handlers #<hash-table eql 0/65 0x41e97855> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x41e99435> :action-handlers #<hash-table equal 0/65 0x41e99455> :major-modes (elm-mode) :activation-fn nil :priority -1 :server-id elm-ls :multi-root nil :initialization-options lsp-clients-elm--make-init-options :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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x425933c5>) :test\? #f(compiled-function () #<bytecode 0x425933dd>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 2/65 0x410ea811> :request-handlers #<hash-table equal 0/65 0x41e9bc35> :response-handlers #<hash-table eql 0/65 0x41e9bc55> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x41e9d435> :action-handlers #<hash-table equal 0/65 0x41e9d455> :major-modes (scala-mode) :activation-fn nil :priority -1 :server-id metals :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x425933b9>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x40459841>) :test\? #f(compiled-function () #<bytecode 0x40e55013>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 4/65 0x40e5501f> :request-handlers #<hash-table equal 0/65 0x40e5503f> :response-handlers #<hash-table eql 0/65 0x41ea0035> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x41ea0055> :action-handlers #<hash-table equal 0/65 0x41ea1c35> :major-modes (fsharp-mode) :activation-fn nil :priority 0 :server-id fsac :multi-root nil :initialization-options lsp-fsharp--make-init-options :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x4245cd45>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x42b0e9f1>) :test\? #f(compiled-function () #<bytecode 0x41ea8469>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x41ea0c55> :request-handlers #<hash-table equal 0/65 0x41ea8c35> :response-handlers #<hash-table eql 0/65 0x41ea8c55> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x41ea9c35> :action-handlers #<hash-table equal 0/65 0x41ea9c55> :major-modes (erlang-mode) :activation-fn nil :priority -1 :server-id erlang-ls :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x41eab859>) :test\? #f(compiled-function () #<bytecode 0x41eab871>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 4/65 0x41eab059> :request-handlers #<hash-table equal 0/65 0x41eac035> :response-handlers #<hash-table eql 0/65 0x410216dd> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x4122b1c1> :action-handlers #<hash-table equal 0/65 0x4101ff01> :major-modes (haxe-mode) :activation-fn nil :priority -1 :server-id haxe :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x41eab035>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil) #s(lsp--client :language-id "VHDL" :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x41255c1d>) :test\? #f(compiled-function () #<bytecode 0x41ead861>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x41eaf055> :request-handlers #<hash-table equal 0/65 0x41075219> :response-handlers #<hash-table eql 0/65 0x40c810c5> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x41e17ef1> :action-handlers #<hash-table equal 0/65 0x420da38d> :major-modes (vhdl-mode) :activation-fn nil :priority -1 :server-id lsp-vhdl-server :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x42716aed>) :test\? #f(compiled-function () #<bytecode 0x42716b05>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x42716b11> :request-handlers #<hash-table equal 0/65 0x41e003dd> :response-handlers #<hash-table eql 0/65 0x41234401> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x41234a2d> :action-handlers #<hash-table equal 0/65 0x4044fb95> :major-modes (ada-mode) :activation-fn nil :priority -1 :server-id ada-ls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x42958245>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x40c5ea55>) :test\? #f(compiled-function () #<bytecode 0x40c5ea69>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x40c5ea75> :request-handlers #<hash-table equal 0/65 0x41375b0d> :response-handlers #<hash-table eql 0/65 0x405bde81> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x4113a52d> :action-handlers #<hash-table equal 0/65 0x420dc98d> :major-modes (sh-mode) :activation-fn nil :priority -1 :server-id bash-ls :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x42856ed5>) :test\? #f(compiled-function () #<bytecode 0x42856ee1>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x42856eed> :request-handlers #<hash-table equal 0/65 0x42856f91> :response-handlers #<hash-table eql 0/65 0x422a068d> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x42878e0d> :action-handlers #<hash-table equal 0/65 0x4296800d> :major-modes (groovy-mode) :activation-fn nil :priority -1 :server-id groovy-ls :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x404d66bd>) :test\? #f(compiled-function () #<bytecode 0x404d66d5>)) :ignore-regexps nil :ignore-messages ("readFile .*? requested by TypeScript but content not available") :notification-handlers #<hash-table equal 0/65 0x404d66e1> :request-handlers #<hash-table equal 0/65 0x426b050d> :response-handlers #<hash-table eql 0/65 0x4132c68d> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x404d6701> :action-handlers #<hash-table equal 0/65 0x4042740d> :major-modes nil :activation-fn lsp-typescript-javascript-tsx-jsx-activate-p :priority -3 :server-id jsts-ls :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x404d6721>) :test\? #f(compiled-function () #<bytecode 0x41287215>)) :ignore-regexps nil :ignore-messages ("readFile .*? requested by TypeScript but content not available") :notification-handlers #<hash-table equal 0/65 0x40d81d8d> :request-handlers #<hash-table equal 0/65 0x426deb0d> :response-handlers #<hash-table eql 0/65 0x405cd781> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x4240e8e5> :action-handlers #<hash-table equal 0/65 0x4284eb0d> :major-modes nil :activation-fn lsp-typescript-javascript-tsx-jsx-activate-p :priority -2 :server-id ts-ls :multi-root nil :initialization-options #f(compiled-function () #<bytecode 0x404d65e9>) :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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x424ac035>) :test\? #f(compiled-function () #<bytecode 0x424ac049>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x424ac055> :request-handlers #<hash-table equal 0/65 0x424ac0f9> :response-handlers #<hash-table eql 0/65 0x425535f5> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x429a6b31> :action-handlers #<hash-table equal 0/65 0x42716f85> :major-modes nil :activation-fn lsp-clients-flow-activate-p :priority -1 :server-id flow-ls :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x423968c5>) :test\? #f(compiled-function () #<bytecode 0x424ac119>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x413a9531> :request-handlers #<hash-table equal 0/65 0x40573ab1> :response-handlers #<hash-table eql 0/65 0x40573ad1> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x423df649> :action-handlers #<hash-table equal 0/65 0x42754131> :major-modes (php-mode) :activation-fn nil :priority -2 :server-id php-ls :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x424f956d>) :test\? #f(compiled-function () #<bytecode 0x412b383d>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x412b3849> :request-handlers #<hash-table equal 0/65 0x412b3869> :response-handlers #<hash-table eql 0/65 0x42a26db1> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x42a26dd1> :action-handlers #<hash-table equal 0/65 0x41ffd2bd> :major-modes (reason-mode caml-mode tuareg-mode) :activation-fn nil :priority -1 :server-id ocaml-ls :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x405b0929>) :test\? #f(compiled-function () #<bytecode 0x405b0935>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x405b0941> :request-handlers #<hash-table equal 0/65 0x41072431> :response-handlers #<hash-table eql 0/65 0x41072451> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x405f6925> :action-handlers #<hash-table equal 0/65 0x405f6945> :major-modes (caml-mode tuareg-mode) :activation-fn nil :priority 0 :server-id merlin :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x411acdb1>) :test\? #f(compiled-function () #<bytecode 0x411acdbd>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x411acdc9> :request-handlers #<hash-table equal 0/65 0x411acde9> :response-handlers #<hash-table eql 0/65 0x411aa1b1> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x411aa1d1> :action-handlers #<hash-table equal 0/65 0x4225b8b1> :major-modes (c-mode c++-mode objc-mode) :activation-fn nil :priority -1 :server-id clangd :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x42855d65>) :test\? #f(compiled-function () #<bytecode 0x41e600d9>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x41e600e5> :request-handlers #<hash-table equal 0/65 0x4105d1e1> :response-handlers #<hash-table eql 0/65 0x4105d201> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x4105d221> :action-handlers #<hash-table equal 0/65 0x4040feb1> :major-modes (elixir-mode) :activation-fn nil :priority -1 :server-id elixir-ls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x412860fd>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x40c60b79>) :test\? #f(compiled-function () #<bytecode 0x40dc6f01>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x40dc6f0d> :request-handlers #<hash-table equal 0/65 0x413ef1cd> :response-handlers #<hash-table eql 0/65 0x41060a51> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x413b32b1> :action-handlers #<hash-table equal 0/65 0x405746b9> :major-modes (f90-mode fortran-mode) :activation-fn nil :priority -1 :server-id fortls :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x42a55fe1>) :test\? #f(compiled-function () #<bytecode 0x4240e731>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x4240e73d> :request-handlers #<hash-table equal 0/65 0x412d623d> :response-handlers #<hash-table eql 0/65 0x4240e75d> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x422fcbf5> :action-handlers #<hash-table equal 0/65 0x4240e77d> :major-modes (kotlin-mode) :activation-fn nil :priority -1 :server-id kotlin-ls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x405d7ca5>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x42a13601>) :test\? #f(compiled-function () #<bytecode 0x42a13615>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 2/65 0x42475f31> :request-handlers #<hash-table equal 1/65 0x42475f51> :response-handlers #<hash-table eql 0/65 0x410e69d1> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x4246a409> :action-handlers #<hash-table equal 0/65 0x41e044bd> :major-modes (hack-mode) :activation-fn nil :priority -1 :server-id hack :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x42aaefe9>) :test\? #f(compiled-function () #<bytecode 0x42668401>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x4266840d> :request-handlers #<hash-table equal 0/65 0x424f77e1> :response-handlers #<hash-table eql 0/65 0x4266842d> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x42703145> :action-handlers #<hash-table equal 0/65 0x4266844d> :major-modes (dockerfile-mode) :activation-fn nil :priority -1 :server-id dockerfile-ls :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? t :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x405d12b1>) :test\? #f(compiled-function () #<bytecode 0x405d12bd>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x405d12c9> :request-handlers #<hash-table equal 0/65 0x405d12e9> :response-handlers #<hash-table eql 0/65 0x412721d1> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x405d1309> :action-handlers #<hash-table equal 0/65 0x42004091> :major-modes nil :activation-fn #f(compiled-function (&rest args) #<bytecode 0x40c60b55>) :priority -1 :server-id angular-ls :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x404d6cd5>) :test\? #f(compiled-function () #<bytecode 0x404d6ce9>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x404d6cf5> :request-handlers #<hash-table equal 0/65 0x404d6d15> :response-handlers #<hash-table eql 0/65 0x404d6d35> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x412729a9> :action-handlers #<hash-table equal 0/65 0x41060491> :major-modes (csharp-mode) :activation-fn nil :priority 0 :server-id csharp :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x41285d0d>) :test\? #f(compiled-function () #<bytecode 0x41285d21>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x412858c5> :request-handlers #<hash-table equal 0/65 0x412858e5> :response-handlers #<hash-table eql 0/65 0x41285905> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x41285925> :action-handlers #<hash-table equal 0/65 0x4107c691> :major-modes (plain-tex-mode latex-mode) :activation-fn nil :priority -1 :server-id digestif :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x424f8619>) :test\? #f(compiled-function () #<bytecode 0x424f85c1>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 1/65 0x4285ae55> :request-handlers #<hash-table equal 0/65 0x413a2d91> :response-handlers #<hash-table eql 0/65 0x4285ae75> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x42857a1d> :action-handlers #<hash-table equal 0/65 0x42857a3d> :major-modes (lua-mode) :activation-fn nil :priority -1 :server-id emmy-lua :multi-root nil :initialization-options 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) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name) #<bytecode 0x429088b1>) :test\? #f(compiled-function () #<bytecode 0x429088c9>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 5/65 0x429088d5> :request-handlers #<hash-table equal 0/65 0x429089fd> :response-handlers #<hash-table eql 0/65 0x42af1c41> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x42908a1d> :action-handlers #<hash-table equal 0/65 0x42908a3d> :major-modes (python-mode) :activation-fn nil :priority 1 :server-id mspyls :multi-root nil :initialization-options lsp-python-ms--extra-init-params :custom-capabilities nil :library-folders-fn nil :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x42908829>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil)))
  lsp--find-clients()
  lsp--try-project-root-workspaces(nil nil)
  lsp()
  run-hooks(change-major-mode-after-body-hook prog-mode-hook python-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook python-mode-hook))
  run-mode-hooks(python-mode-hook)
  python-mode()
  set-auto-mode-0(python-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer dummy.py> "/tmp/dummy.py" nil nil "/private/tmp/dummy.py" (22104514 16777220))
  find-file-noselect("/tmp/dummy.py" nil nil)
  ido-file-internal(selected-window)
  ido-find-file()
  funcall-interactively(ido-find-file)
  call-interactively(ido-find-file nil nil)
  command-execute(ido-find-file)
kirk86 commented 4 years ago

Scratch that upon restarting emacs made lsp-mode to force to pick up mspyls since it couldn't find pyls in the beginning.

ianyepan commented 4 years ago

Could you elaborate on how you fixed it? I'm facing the same issue

kirk86 commented 4 years ago

Did you restart emacs? Do you get the same error? Are you using pyls or mspyls?

ianyepan commented 4 years ago

I was trying out mspyls, after letting it download around 5 times, it finally succeeded.

kirk86 commented 4 years ago

Yeah, I don't know why but it seems that I kind of had the same issue initially, after the second time it started properly downloading it but now I know where to put the mspyls folder so next time I won't even think about waiting for emacs to download.

ianyepan commented 4 years ago

now I know where to put the mspyls folder so next time I won't even think about waiting for emacs to download Wnat do you mean by this? I thought it will only download to .emacs.d and the installation is a one-time thing?

kirk86 commented 4 years ago

Wnat do you mean by this?

Well, the first time I used lsp I went directly with mspyls and not pyls, so I wasn't sure where things where going to be placed.

I thought it will only download to .emacs.d and the installation is a one-time thing?

It is, but I frequently break things and try new stuff :man_shrugging:

seagle0128 commented 4 years ago

Now the binaries will be downloaded to the ~/.emacs.d/.cache/lsp/mspyls/. Refer to b46e672.

kirk86 commented 4 years ago

Thanks for letting us know.