From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#62694: 30.0.50; eglot-tests fails with recent pylsp Date: Thu, 06 Apr 2023 11:55:20 +0200 Message-ID: <87sfddibcn.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21377"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: 62694@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 06 11:56:31 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pkMM2-0005Ew-Ic for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Apr 2023 11:56:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkMLe-0000n1-ME; Thu, 06 Apr 2023 05:56:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkMLa-0000hW-Pt for bug-gnu-emacs@gnu.org; Thu, 06 Apr 2023 05:56:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pkMLa-0000QK-HB for bug-gnu-emacs@gnu.org; Thu, 06 Apr 2023 05:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pkMLa-0007GU-Bw; Thu, 06 Apr 2023 05:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: joaotavora@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Apr 2023 09:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62694 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Received: via spool by submit@debbugs.gnu.org id=B.168077493927890 (code B ref -1); Thu, 06 Apr 2023 09:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Apr 2023 09:55:39 +0000 Original-Received: from localhost ([127.0.0.1]:53456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkMLD-0007Fm-Im for submit@debbugs.gnu.org; Thu, 06 Apr 2023 05:55:39 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:44028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkMLC-0007Fc-BR for submit@debbugs.gnu.org; Thu, 06 Apr 2023 05:55:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkMLA-0000f7-Fp for bug-gnu-emacs@gnu.org; Thu, 06 Apr 2023 05:55:36 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkML4-0000MW-L9 for bug-gnu-emacs@gnu.org; Thu, 06 Apr 2023 05:55:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1680774926; i=michael.albinus@gmx.de; bh=dorx0iHn72p50LlxuNUVYMc3O8M5HnJxNyv4ZV5D8uo=; h=X-UI-Sender-Class:From:To:Subject:Date; b=cQwRsjPrWcvmqd44MJeb0O9MD1Apzg7ecxRqu2j+BjcZ5Qys6K1aQtnNo2CkkLuuc 1/gxvjKeUwwJ52GCCcRByUek2/9ZLir23Rg4G0nBAKmIYusyaNfPi3KV5P8n7gB+c5 op2h7BKLMgFYOblIFhb5RRa6vWXyiEBxFuKklD9+aEG59TuaQ8qIt/mxylWSHJ9KQ2 WZRPbxJ0wE0+eZI2DxsNqSF3SnKCkWVessH40haWcfuXnfeHdkTZRnSPztxltGxPOq pDCRb7x1qQ8c5K1elda5pLNQcN1ji0eIi3VE8+FVu0Q+ZF3jsNMshTOa4qmDWjAbHi sXeXNCopWOi5A== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.0]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MIdiZ-1pf99X1CKr-00Efz3 for ; Thu, 06 Apr 2023 11:55:26 +0200 X-Provags-ID: V03:K1:ASatrzDb9JwkssN8EXireh3LvJ5PPUGPJusen2v6J6aRLOpl3Th Do80fmrP6NPBux9nq53zGYkXQ02tKEZUu7+XCEDtzq5tsIykFLbn9PceIFPyOYt/0L/erzO 2n0yU+DkdDHwGLS2VaUj1m6Bp+a/4/uYVYimrpTeisop2P2pf+A59j3jvoT40nYzlm4okAY DZRL7wSlyJIIdWScdiPdg== UI-OutboundReport: notjunk:1;M01:P0:jvMsSgb6Q2Y=;ZZTtVNZq2juzT/B8Mxbyqun0d+2 xt0d6pJydX3a088touHxeH94FMlfFUgdw3eppchR8wHk5rz8XaOWzJhnCGPfC4syEcir5Nplg 76K9uQKccyCSs5FKFIz48vudvH37pHWZmYUILZ/Dvhy70HaHDLW3xLYhbf9kMbjGQPmcx1C3D 0eobxpywWG8aT21OoDNAjVlYZ+LQ1CTXuaUfnZ+o++ls9TSTeSbR7EClakDTduFpNvHne2K1X y9cWx6ImuQBnew+qEPzGriLsotLXhvbLOUGu9KLulhU59xSLq10Pd2wG4vpT1eeZy3inTAvAv yyIkv6swTTtBSrQTVr0qI2pSC14oCr0H63DtnKpiyehHuSogoVv168mev5dZkle3diwCpCDNT ytrohcW16OxSnINCjyx1HUKNkt6kLIZ/LYGLYgItA2IBdbmMA9bJjbpeCUwbJuqJVGTTCNtjc CVwCoaYzpAH9HTC3bhOuT1ND/2oKjVt2jxC+HdIzsZmZfKxZUrDGXPYli79ilZwZbcIFuWv29 yTe0btRT7rSwuomxAR4h+62zTHD73IsRGdDRHNrtUM0fOTxEDZnezuLZ3Lg1kJlLbiKiscncE Acwfnf3cn4NXtqYUr52Bub3an5vnsuT4dmmb/S++TRAymZlAbhifs0CGl6q+goPNJRU1SbzUw dGK3JllJW1Ok2g3mB6WR9aTqT8T16zqZU2eLG/iuFsU8w9Ue8EO9GU4yDA1R+Y686klotQSbI E5+PUrEQl1iaL5Ds+y3m4y2ft0GrAkI/nD1Pc9VuM84egxPPy6+gD+AXa+Ow/z/TrfBVc9A0 Received-SPF: pass client-ip=212.227.15.15; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259303 Archived-At: --=-=-= Content-Type: text/plain Hi, I have simulated the eglot-tests from EMBA in my local environment. Instead of using Debian bullseye (stable), I have taken Debian sid (unstable). Additionally, I have installed the respective Debian sid packages: --8<---------------cut here---------------start------------->8--- # apt list clangd python3-pylsp python3-autopep8 python3-yapf Listing... Done clangd/now 1:14.0-55.6 amd64 [installed,local] python3-autopep8/now 2.0.1-1 all [installed,local] python3-pylsp/now 1.7.1-1 all [installed,local] python3-yapf/now 0.32.0-1 all [installed,local] --8<---------------cut here---------------end--------------->8--- However, eglot-tests still fail for pylsp, see attached eglot-tests.log file. Best regards, Michael. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=eglot-tests.log Content-Transfer-Encoding: quoted-printable Loading project... Loading eldoc... Loading seq... Loading flymake... Loading xref... Loading jsonrpc... Loading external-completion... Running 50 tests (2023-04-06 09:46:43+0000, selector `(not (or (tag :unsta= ble) (tag :nativecomp)))') [eglot-tests] [eglot-test-auto-detect-running-server]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mod= e c++-ts-mode)' buffers in project `project'. [eglot-tests] [eglot-test-auto-detect-running-server]: OK [eglot] Asking EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) pol= itely to terminate [jsonrpc] Server exited with status 9 [eglot-tests] Killing (cena.c coiso.c merdix.c), wiping /tmp/eglot--fixtur= e5jKcOH, restoring nil passed 1/50 eglot-test-auto-detect-running-server (0.179060 sec) [eglot-tests] [eglot-test-auto-reconnect]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mod= e c++-ts-mode)' buffers in project `project'. [jsonrpc] Server exited with status 9 [eglot] (warning) Reconnecting after unexpected server exit. Warning (eglot): Reconnecting after unexpected server exit. [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mod= e c++-ts-mode)' buffers in project `project'. [eglot] Reconnected! [jsonrpc] Server exited with status 9 [eglot] (warning) Not auto-reconnecting, last one didn't last long. Warning (eglot): Not auto-reconnecting, last one didn't last long. [eglot-tests] [eglot-test-auto-reconnect]: OK [eglot-tests] Killing (thingy.c), wiping /tmp/eglot--fixtureIU7wUj, restor= ing nil passed 2/50 eglot-test-auto-reconnect (1.875701 sec) [eglot-tests] [eglot-test-auto-shutdown]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mod= e c++-ts-mode)' buffers in project `project'. [eglot] Asking EGLOT (project/(c-mode c-ts-mode c++-mode c++-ts-mode)) pol= itely to terminate [jsonrpc] Server exited with status 9 [eglot-tests] [eglot-test-auto-shutdown]: OK [eglot-tests] Killing nil, wiping /tmp/eglot--fixturevJw3oP, restoring nil passed 3/50 eglot-test-auto-shutdown (0.157424 sec) [eglot-tests] [eglot-test-basic-completions]: test start [eglot] Connected! Server `pylsp' now managing `(python-mode python-ts-mod= e)' buffers in project `project'. No match [eglot-tests] [eglot-test-basic-completions]: FAILED [eglot] Asking EGLOT (project/(python-mode python-ts-mode)) politely to te= rminate [jsonrpc] Server exited with status 9 [eglot-tests] contents of ` *EGLOT (project/(python-mode python-ts-mode)) = output*': [eglot-tests] contents of ` *EGLOT (project/(python-mode python-ts-mode)) = stderr*': Process EGLOT (project/(python-mode python-ts-mode)) stderr finished [eglot-tests] contents of `*EGLOT (project/(python-mode python-ts-mode)) e= vents*': [internal] Thu Apr 6 09:46:45 2023: (:message "Running language server: /usr/bin/pylsp") [client-request] (id:1) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 1 :method "initialize" :params (:processId 165 :clientInfo (:name "Eglot") :rootPath "/tmp/eglot--fixtureXZJGR5/project/" :rootUri "file:///t= mp/eglot--fixtureXZJGR5/project" :initializationOptions #s(hash-table size= 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()) :capabilities (:workspace (:applyEdit t :executeCommand (:dynamicRegistration :json-false) :workspaceEdit (:documentChanges t) :didChangeWatchedFiles (:dynamicRegistration t) :symbol (:dynamicRegistration :json-false) :configuration t :workspaceFolders t) :textDocument (:synchronization (:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :did= Save t) :completion (:dynamicRegistration :json-false :completionItem (:snippetSupport :json-false :deprecatedSupport t :resolveSuppo= rt (:properties ["documentation" "details" "additionalTextEdits"]) :tagSupport (:valueSet [1])) :contextSupport t) :hover (:dynamicRegistration :json-false :contentFormat ["plaintext"]) :signatureHelp (:dynamicRegistration :json-false :signatureInformation (:parameterInformation (:labelOffsetSupport t) :documentationFormat ["plaintext"] :activeParameterSupport t)) :references (:dynamicRegistration :json-false) :definition (:dynamicRegistration :json-false :linkSupport t) :declaration (:dynamicRegistration :json-false :linkSupport t) :implementation (:dynamicRegistration :json-false :linkSupport t) :typeDefinition (:dynamicRegistration :json-false :linkSupport t) :documentSymbol (:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t = :symbolKind (:valueSet [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2= 4 25 26])) :documentHighlight (:dynamicRegistration :json-false) :codeAction (:dynamicRegistration :json-false :codeActionLiteralSupport (:codeActionKind (:valueSet ["quickfix" "refactor" "refactor.extract" "refactor.inline" "refacto= r.rewrite" "source" "source.organizeImports"])) :isPreferredSupport t) :formatting (:dynamicRegistration :json-false) :rangeFormatting (:dynamicRegistration :json-false) :rename (:dynamicRegistration :json-false) :inlayHint (:dynamicRegistration :json-false) :publishDiagnostics (:relatedInformation :json-false :codeDescriptionSupport :json-false :t= agSupport (:valueSet [1 2]))) :window (:workDoneProgress t) :general (:positionEncodings ["utf-32" "utf-8" "utf-16"]) :experimental #s(hash-table size 1 test eql rehash-size 1.5 rehas= h-threshold 0.8125 data ())) :workspaceFolders [(:uri "file:///tmp/eglot--fixtureXZJGR5/project" :name "/tmp/eglo= t--fixtureXZJGR5/project/")])) [server-reply] (id:1) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 1 :result (:capabilities (:codeActionProvider t :codeLensProvider (:resolveProvider :json-false) :completionProvider (:resolveProvider t :triggerCharacters ["."]) :documentFormattingProvider t :documentHighlightProvider t :documentRa= ngeFormattingProvider t :documentSymbolProvider t :definitionProvider t :e= xecuteCommandProvider (:commands []) :hoverProvider t :referencesProvider t :renameProvider t :foldingRange= Provider t :signatureHelpProvider (:triggerCharacters ["(" "," "=3D"]) :textDocumentSync (:change 2 :save (:includeText t) :openClose t) :workspace (:workspaceFolders (:supported t :changeNotifications t)) :experimental nil) :serverInfo (:name "pylsp" :version "1.7.1"))) [client-notification] Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :method "initialized" :params #s(hash-table size 1 test eq= l rehash-size 1.5 rehash-threshold 0.8125 data ())) [client-notification] Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :method "textDocument/didOpen" :params (:textDocument (:uri "file:///tmp/eglot--fixtureXZJGR5/project/something.py" :version= 0 :languageId "python" :text "import sys\nsys.exi"))) [client-notification] Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :method "workspace/didChangeConfiguration" :params (:settings #s(hash-table size 1 test eql rehash-size 1.5 rehash-thresho= ld 0.8125 data ()))) [client-request] (id:2) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 2 :method "textDocument/completion" :params (:textDocument (:uri "file:///tmp/eglot--fixtureXZJGR5/project/something.py") :position (:line 1 :character 7) :context (:triggerKind 1))) [server-reply] (id:2) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 2 :result (:isIncomplete :json-false :items [])) [server-notification] Thu Apr 6 09:46:46 2023: (:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params (:uri "file:///tmp/eglot--fixtureXZJGR5/project/something.py" :diagnost= ics [])) [client-request] (id:3) Thu Apr 6 09:46:47 2023: (:jsonrpc "2.0" :id 3 :method "shutdown" :params nil) [server-reply] (id:3) Thu Apr 6 09:46:47 2023: (:jsonrpc "2.0" :id 3 :result nil) [client-notification] Thu Apr 6 09:46:47 2023: (:jsonrpc "2.0" :method "exit" :params nil) [internal] Thu Apr 6 09:46:47 2023: (:message "Connection state changed" :change "killed\n") =2D---------b---y---e---b---y---e---------- [stderr] [stderr] [stderr] nil [stderr] nil [stderr] Process EGLOT (project/(python-mode python-ts-mode)) stderr finis= hed [eglot-tests] Killing (something.py), wiping /tmp/eglot--fixtureXZJGR5, re= storing nil Test eglot-test-basic-completions backtrace: signal(ert-test-failed (((should (looking-back "sys.exit")) :form (l ert-fail(((should (looking-back "sys.exit")) :form (looking-back "sy (if (unwind-protect (setq value-160 (apply fn-158 args-159)) (setq f (let (form-description-162) (if (unwind-protect (setq value-160 (app (let ((value-160 'ert-form-evaluation-aborted-161)) (let (form-descr (let* ((fn-158 #'looking-back) (args-159 (condition-case err (let (( (save-current-buffer (set-buffer (eglot--find-file-noselect "project (closure (typescript-mode-abbrev-table typescript-mode-syntax-table funcall((closure (typescript-mode-abbrev-table typescript-mode-synta (prog1 (funcall fn) (setq test-body-successful-p t)) (let* ((process-environment (append (list "XDG_CONFIG_HOME=3D/dev/null (unwind-protect (let* ((process-environment (append (list "XDG_CONFI (let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t) eglot--call-with-fixture((("project" ("something.py" . "import sys\n (closure (typescript-mode-abbrev-table typescript-mode-syntax-table ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name eglot-test-basic-completions :documen ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp)))) ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/progmodes/eglot-test command-line() normal-top-level() Test eglot-test-basic-completions condition: (ert-test-failed ((should (looking-back "sys.exit")) :form (looking-back "sys.exit") :value nil)) FAILED 4/50 eglot-test-basic-completions (2.538679 sec) at lisp/prog= modes/eglot-tests.el:554 [eglot-tests] [eglot-test-basic-diagnostics]: test start [eglot] Connected! Server `clangd' now managing `(c-mode c-ts-mode c++-mod= e c++-ts-mode)' buffers in project `diag-project'. [eglot-tests] waiting for `(string=3D method textDocument/publishDiagnosti= cs)' =07. [eglot-tests] detected: textDocument/publishDiagnostics [eglot-tests] [eglot-test-basic-diagnostics]: OK [eglot] Asking EGLOT (diag-project/(c-mode c-ts-mode c++-mode c++-ts-mode)= ) politely to terminate [jsonrpc] Server exited with status 9 [eglot-tests] Killing (main.c), wiping /tmp/eglot--fixtureoZti5Y, restorin= g nil passed 5/50 eglot-test-basic-diagnostics (0.355960 sec) [eglot-tests] [eglot-test-basic-xref]: test start [eglot] Connected! Server `pylsp' now managing `(python-mode python-ts-mod= e)' buffers in project `project'. [eglot-tests] [eglot-test-basic-xref]: FAILED [eglot] Asking EGLOT (project/(python-mode python-ts-mode)) politely to te= rminate [jsonrpc] Server exited with status 9 [eglot-tests] contents of ` *EGLOT (project/(python-mode python-ts-mode)) = output*': [eglot-tests] contents of ` *EGLOT (project/(python-mode python-ts-mode)) = stderr*': Process EGLOT (project/(python-mode python-ts-mode)) stderr finished [eglot-tests] contents of `*EGLOT (project/(python-mode python-ts-mode)) e= vents*': [internal] Thu Apr 6 09:46:45 2023: (:message "Running language server: /usr/bin/pylsp") [client-request] (id:1) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 1 :method "initialize" :params (:processId 165 :clientInfo (:name "Eglot") :rootPath "/tmp/eglot--fixtureXZJGR5/project/" :rootUri "file:///t= mp/eglot--fixtureXZJGR5/project" :initializationOptions #s(hash-table size= 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()) :capabilities (:workspace (:applyEdit t :executeCommand (:dynamicRegistration :json-false) :workspaceEdit (:documentChanges t) :didChangeWatchedFiles (:dynamicRegistration t) :symbol (:dynamicRegistration :json-false) :configuration t :workspaceFolders t) :textDocument (:synchronization (:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :did= Save t) :completion (:dynamicRegistration :json-false :completionItem (:snippetSupport :json-false :deprecatedSupport t :resolveSuppo= rt (:properties ["documentation" "details" "additionalTextEdits"]) :tagSupport (:valueSet [1])) :contextSupport t) :hover (:dynamicRegistration :json-false :contentFormat ["plaintext"]) :signatureHelp (:dynamicRegistration :json-false :signatureInformation (:parameterInformation (:labelOffsetSupport t) :documentationFormat ["plaintext"] :activeParameterSupport t)) :references (:dynamicRegistration :json-false) :definition (:dynamicRegistration :json-false :linkSupport t) :declaration (:dynamicRegistration :json-false :linkSupport t) :implementation (:dynamicRegistration :json-false :linkSupport t) :typeDefinition (:dynamicRegistration :json-false :linkSupport t) :documentSymbol (:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t = :symbolKind (:valueSet [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2= 4 25 26])) :documentHighlight (:dynamicRegistration :json-false) :codeAction (:dynamicRegistration :json-false :codeActionLiteralSupport (:codeActionKind (:valueSet ["quickfix" "refactor" "refactor.extract" "refactor.inline" "refacto= r.rewrite" "source" "source.organizeImports"])) :isPreferredSupport t) :formatting (:dynamicRegistration :json-false) :rangeFormatting (:dynamicRegistration :json-false) :rename (:dynamicRegistration :json-false) :inlayHint (:dynamicRegistration :json-false) :publishDiagnostics (:relatedInformation :json-false :codeDescriptionSupport :json-false :t= agSupport (:valueSet [1 2]))) :window (:workDoneProgress t) :general (:positionEncodings ["utf-32" "utf-8" "utf-16"]) :experimental #s(hash-table size 1 test eql rehash-size 1.5 rehas= h-threshold 0.8125 data ())) :workspaceFolders [(:uri "file:///tmp/eglot--fixtureXZJGR5/project" :name "/tmp/eglo= t--fixtureXZJGR5/project/")])) [server-reply] (id:1) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 1 :result (:capabilities (:codeActionProvider t :codeLensProvider (:resolveProvider :json-false) :completionProvider (:resolveProvider t :triggerCharacters ["."]) :documentFormattingProvider t :documentHighlightProvider t :documentRa= ngeFormattingProvider t :documentSymbolProvider t :definitionProvider t :e= xecuteCommandProvider (:commands []) :hoverProvider t :referencesProvider t :renameProvider t :foldingRange= Provider t :signatureHelpProvider (:triggerCharacters ["(" "," "=3D"]) :textDocumentSync (:change 2 :save (:includeText t) :openClose t) :workspace (:workspaceFolders (:supported t :changeNotifications t)) :experimental nil) :serverInfo (:name "pylsp" :version "1.7.1"))) [client-notification] Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :method "initialized" :params #s(hash-table size 1 test eq= l rehash-size 1.5 rehash-threshold 0.8125 data ())) [client-notification] Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :method "textDocument/didOpen" :params (:textDocument (:uri "file:///tmp/eglot--fixtureXZJGR5/project/something.py" :version= 0 :languageId "python" :text "import sys\nsys.exi"))) [client-notification] Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :method "workspace/didChangeConfiguration" :params (:settings #s(hash-table size 1 test eql rehash-size 1.5 rehash-thresho= ld 0.8125 data ()))) [client-request] (id:2) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 2 :method "textDocument/completion" :params (:textDocument (:uri "file:///tmp/eglot--fixtureXZJGR5/project/something.py") :position (:line 1 :character 7) :context (:triggerKind 1))) [server-reply] (id:2) Thu Apr 6 09:46:45 2023: (:jsonrpc "2.0" :id 2 :result (:isIncomplete :json-false :items [])) [server-notification] Thu Apr 6 09:46:46 2023: (:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params (:uri "file:///tmp/eglot--fixtureXZJGR5/project/something.py" :diagnost= ics [])) [client-request] (id:3) Thu Apr 6 09:46:47 2023: (:jsonrpc "2.0" :id 3 :method "shutdown" :params nil) [server-reply] (id:3) Thu Apr 6 09:46:47 2023: (:jsonrpc "2.0" :id 3 :result nil) [client-notification] Thu Apr 6 09:46:47 2023: (:jsonrpc "2.0" :method "exit" :params nil) [internal] Thu Apr 6 09:46:47 2023: (:message "Connection state changed" :change "killed\n") =2D---------b---y---e---b---y---e---------- [stderr] [stderr] [stderr] nil [stderr] nil [stderr] Process EGLOT (project/(python-mode python-ts-mode)) stderr finis= hed [internal] Thu Apr 6 09:46:48 2023: (:message "Running language server: /usr/bin/pylsp") [client-request] (id:1) Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :id 1 :method "initialize" :params (:processId 165 :clientInfo (:name "Eglot") :rootPath "/tmp/eglot--fixturevnbTgn/project/" :rootUri "file:///t= mp/eglot--fixturevnbTgn/project" :initializationOptions #s(hash-table size= 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()) :capabilities (:workspace (:applyEdit t :executeCommand (:dynamicRegistration :json-false) :workspaceEdit (:documentChanges t) :didChangeWatchedFiles (:dynamicRegistration t) :symbol (:dynamicRegistration :json-false) :configuration t :workspaceFolders t) :textDocument (:synchronization (:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :did= Save t) :completion (:dynamicRegistration :json-false :completionItem (:snippetSupport :json-false :deprecatedSupport t :resolveSuppo= rt (:properties ["documentation" "details" "additionalTextEdits"]) :tagSupport (:valueSet [1])) :contextSupport t) :hover (:dynamicRegistration :json-false :contentFormat ["plaintext"]) :signatureHelp (:dynamicRegistration :json-false :signatureInformation (:parameterInformation (:labelOffsetSupport t) :documentationFormat ["plaintext"] :activeParameterSupport t)) :references (:dynamicRegistration :json-false) :definition (:dynamicRegistration :json-false :linkSupport t) :declaration (:dynamicRegistration :json-false :linkSupport t) :implementation (:dynamicRegistration :json-false :linkSupport t) :typeDefinition (:dynamicRegistration :json-false :linkSupport t) :documentSymbol (:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t = :symbolKind (:valueSet [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2= 4 25 26])) :documentHighlight (:dynamicRegistration :json-false) :codeAction (:dynamicRegistration :json-false :codeActionLiteralSupport (:codeActionKind (:valueSet ["quickfix" "refactor" "refactor.extract" "refactor.inline" "refacto= r.rewrite" "source" "source.organizeImports"])) :isPreferredSupport t) :formatting (:dynamicRegistration :json-false) :rangeFormatting (:dynamicRegistration :json-false) :rename (:dynamicRegistration :json-false) :inlayHint (:dynamicRegistration :json-false) :publishDiagnostics (:relatedInformation :json-false :codeDescriptionSupport :json-false :t= agSupport (:valueSet [1 2]))) :window (:workDoneProgress t) :general (:positionEncodings ["utf-32" "utf-8" "utf-16"]) :experimental #s(hash-table size 1 test eql rehash-size 1.5 rehas= h-threshold 0.8125 data ())) :workspaceFolders [(:uri "file:///tmp/eglot--fixturevnbTgn/project" :name "/tmp/eglo= t--fixturevnbTgn/project/")])) [server-reply] (id:1) Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :id 1 :result (:capabilities (:codeActionProvider t :codeLensProvider (:resolveProvider :json-false) :completionProvider (:resolveProvider t :triggerCharacters ["."]) :documentFormattingProvider t :documentHighlightProvider t :documentRa= ngeFormattingProvider t :documentSymbolProvider t :definitionProvider t :e= xecuteCommandProvider (:commands []) :hoverProvider t :referencesProvider t :renameProvider t :foldingRange= Provider t :signatureHelpProvider (:triggerCharacters ["(" "," "=3D"]) :textDocumentSync (:change 2 :save (:includeText t) :openClose t) :workspace (:workspaceFolders (:supported t :changeNotifications t)) :experimental nil) :serverInfo (:name "pylsp" :version "1.7.1"))) [client-notification] Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :method "initialized" :params #s(hash-table size 1 test eq= l rehash-size 1.5 rehash-threshold 0.8125 data ())) [client-notification] Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :method "textDocument/didOpen" :params (:textDocument (:uri "file:///tmp/eglot--fixturevnbTgn/project/something.py" :version= 0 :languageId "python" :text "def foo(): pass\ndef bar(): foo()"))) [client-notification] Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :method "workspace/didChangeConfiguration" :params (:settings #s(hash-table size 1 test eql rehash-size 1.5 rehash-thresho= ld 0.8125 data ()))) [client-request] (id:2) Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :id 2 :method "textDocument/definition" :params (:textDocument (:uri "file:///tmp/eglot--fixturevnbTgn/project/something.py") :position (:line 1 :character 12))) [server-reply] (id:2) Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :id 2 :result []) [client-request] (id:3) Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :id 3 :method "shutdown" :params nil) [server-reply] (id:3) Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :id 3 :result nil) [client-notification] Thu Apr 6 09:46:48 2023: (:jsonrpc "2.0" :method "exit" :params nil) [internal] Thu Apr 6 09:46:48 2023: (:message "Connection state changed" :change "killed\n") =2D---------b---y---e---b---y---e---------- [stderr] [stderr] [stderr] nil [stderr] nil [stderr] Process EGLOT (project/(python-mode python-ts-mode)) stderr finis= hed [eglot-tests] Killing (something.py), wiping /tmp/eglot--fixturevnbTgn, re= storing nil Test eglot-test-basic-xref backtrace: signal(user-error ("No definitions found for: LSP identifier at poin user-error("No %s found for: %s" "definitions" "LSP identifier at po xref--not-found-error(definitions "LSP identifier at point") #f(compiled-function () #)() xref-show-definitions-buffer(#f(compiled-function () #