eglot:
[jsonrpc] D[12:09:56.553] Running language server: pyright-langserver --stdio
[jsonrpc] e[12:09:56.554] --> initialize[1] {"jsonrpc":"2.0","id":1,"method":"initialize","params":{"processId":14636,"clientInfo":{"name":"Eglot","version":"1.19"},"rootPath":"d:/test/","rootUri":"file:///d%3A/test","initializationOptions":{},"capabilities":{"workspace":{"applyEdit":true,"executeCommand":{"dynamicRegistration":false},"workspaceEdit":{"documentChanges":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":false},"semanticTokens":{"refreshSupport":true},"configuration":true,"workspaceFolders":true},"textDocument":{"synchronization":{"dynamicRegistration":false,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":false,"completionItem":{"snippetSupport":true,"deprecatedSupport":true,"resolveSupport":{"properties":["documentation","details","additionalTextEdits"]},"tagSupport":{"valueSet":[1]},"insertReplaceSupport":true},"contextSupport":true},"hover":{"dynamicRegistration":false,"contentFormat":["plaintext"]},"signatureHelp":{"dynamicRegistration":false,"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true},"documentationFormat":["plaintext"],"activeParameterSupport":true}},"references":{"dynamicRegistration":false},"definition":{"dynamicRegistration":false,"linkSupport":true},"declaration":{"dynamicRegistration":false,"linkSupport":true},"implementation":{"dynamicRegistration":false,"linkSupport":true},"typeDefinition":{"dynamicRegistration":false,"linkSupport":true},"documentSymbol":{"dynamicRegistration":false,"hierarchicalDocumentSymbolSupport":true,"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,24,25,26]}},"documentHighlight":{"dynamicRegistration":false},"codeAction":{"dynamicRegistration":false,"resolveSupport":{"properties":["edit","command"]},"dataSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"isPreferredSupport":true},"formatting":{"dynamicRegistration":false},"rangeFormatting":{"dynamicRegistration":false},"rename":{"dynamicRegistration":false},"semanticTokens":{"dynamicRegistration":false,"requests":{"quote":{"full":{"delta":true}}},"overlappingTokenSupport":true,"multilineTokenSupport":true,"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator","decorator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":["relative"]},"inlayHint":{"dynamicRegistration":false},"callHierarchy":{"dynamicRegistration":false},"typeHierarchy":{"dynamicRegistration":false},"publishDiagnostics":{"relatedInformation":false,"versionSupport":true,"codeDescriptionSupport":false,"tagSupport":{"valueSet":[1,2]}}},"window":{"showDocument":{"support":true},"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"workDoneProgress":true},"general":{"positionEncodings":["utf-32","utf-8","utf-16"]},"experimental":{}},"workspaceFolders":[{"uri":"file:///d%3A/test","name":"d:/test/"}]}}
[jsonrpc] e[12:09:57.272] <-- window/logMessage {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"Pyright language server 1.1.408 starting"}}
[jsonrpc] e[12:09:57.272] <-- window/logMessage {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"Server root directory: file:///c%3A/Users/fluzzy/AppData/Roaming/uv/tools/pyright/Lib/site-packages/pyright/dist/dist"}}
[jsonrpc] e[12:09:57.281] <-- window/logMessage {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"Starting service instance \"d:/test/\""}}
[jsonrpc] e[12:09:57.281] <-- initialize[1] {"jsonrpc":"2.0","id":1,"result":{"capabilities":{"textDocumentSync":2,"definitionProvider":{"workDoneProgress":true},"declarationProvider":{"workDoneProgress":true},"typeDefinitionProvider":{"workDoneProgress":true},"referencesProvider":{"workDoneProgress":true},"documentSymbolProvider":{"workDoneProgress":true},"workspaceSymbolProvider":{"workDoneProgress":true},"hoverProvider":{"workDoneProgress":true},"documentHighlightProvider":{"workDoneProgress":true},"renameProvider":{"prepareProvider":true,"workDoneProgress":true},"completionProvider":{"triggerCharacters":[".","[","\"","'"],"resolveProvider":true,"workDoneProgress":true,"completionItem":{"labelDetailsSupport":true}},"signatureHelpProvider":{"triggerCharacters":["(",",",")"],"workDoneProgress":true},"codeActionProvider":{"codeActionKinds":["quickfix","source.organizeImports"],"workDoneProgress":true},"executeCommandProvider":{"commands":[],"workDoneProgress":true},"callHierarchyProvider":true,"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":true}}}}}
[jsonrpc] e[12:09:57.281] --> initialized {"jsonrpc":"2.0","method":"initialized","params":{}}
[jsonrpc] e[12:09:57.282] --> textDocument/didOpen {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///d%3A/test/test.py","version":0,"languageId":"python","text":"# cspell:words nostarch\n\n# 2.3.1\nname = \"ada lovelace\"\nprint(name.title())\nprint(name.upper())\nprint(name.lower())\nprint(f\"Hello, {name.title()}\")\n\nfilename = \"python_notes.txt\"\nprint(filename.removesuffix(\".txt\"))\n"}}}
[jsonrpc] e[12:09:57.283] --> workspace/didChangeConfiguration {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{}}}
[jsonrpc] e[12:09:57.316] <-- client/registerCapability[0] {"jsonrpc":"2.0","id":0,"method":"client/registerCapability","params":{"registrations":[{"id":"07f50433-473c-4d80-9022-b08d869697c1","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"**/pyrightconfig.json","kind":7},{"globPattern":"**","kind":7}]}}]}}
[jsonrpc] e[12:09:59.760] --> client/registerCapability[0] {"jsonrpc":"2.0","id":0,"error":{"code":-32603,"message":"Internal error"}}
[jsonrpc] e[12:09:59.760] <-- workspace/configuration[1] {"jsonrpc":"2.0","id":1,"method":"workspace/configuration","params":{"items":[{"scopeUri":"file:///d%3A/test","section":"python"}]}}
[jsonrpc] e[12:09:59.761] --> workspace/configuration[1] {"jsonrpc":"2.0","id":1,"result":[null]}
[jsonrpc] e[12:09:59.763] --> textDocument/codeAction[2] {"jsonrpc":"2.0","id":2,"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///d%3A/test/test.py"},"range":{"start":{"line":8,"character":0},"end":{"line":8,"character":0}},"context":{"diagnostics":[],"triggerKind":2}}}
[jsonrpc] e[12:09:59.763] --> textDocument/documentHighlight[3] {"jsonrpc":"2.0","id":3,"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///d%3A/test/test.py"},"position":{"line":8,"character":0}}}
[jsonrpc] e[12:09:59.763] --> textDocument/hover[4] {"jsonrpc":"2.0","id":4,"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///d%3A/test/test.py"},"position":{"line":8,"character":0}}}
[jsonrpc] e[12:09:59.763] --> textDocument/signatureHelp[5] {"jsonrpc":"2.0","id":5,"method":"textDocument/signatureHelp","params":{"textDocument":{"uri":"file:///d%3A/test/test.py"},"position":{"line":8,"character":0}}}
[jsonrpc] D[12:10:00.036] Connection state change: `exited abnormally with code 1
'
----------b---y---e---b---y---e----------
[stderr]
[stderr]
[stderr] nil
[stderr] nil
[stderr] Process EGLOT (test/(python-ts-mode python-mode)) stderr finished
flymake log:
Warning [flymake.el *scratch*]: Disabling backend elisp-flymake-byte-compile because (user-error "Disabling elisp-flymake-byte-compile in *scratch* (untrusted content)")
Warning [flymake.el test.py]: Disabling backend python-flymake because (error "Cannot find a suitable checker")
warnings:
Warning (eglot): Not auto-reconnecting, last one didn’t last long.
messages:
Loading c:/Users/fluzzy/AppData/Roaming/.emacs.d/recentf.eld...done
Cleaning up the recentf list...done (0 removed)
Disabling elisp-flymake-byte-compile in *scratch* (untrusted content)
For information about GNU Emacs and the GNU system, type C-h C-a.
Error in post-command-hook (evil-normal-post-command): (void-variable evil-mode-buffers)
Can’t guess python-indent-offset, using defaults: 4 [2 times]
Ignoring unknown directive "NOTE" in file: c:/Users/fluzzy/AppData/Roaming/.emacs.d/elpa/yasnippet-snippets-1.0/snippets/python-mode/function_docstring
Error in post-command-hook (evil-normal-post-command): (void-variable evil-mode-buffers)
[eglot] Connected! Server ‘EGLOT (test/(python-ts-mode python-mode))’ now managing ‘(python-ts-mode python-mode)’ buffers in project ‘test’.
[jsonrpc] Server exited with status 1
[eglot] (warning) Not auto-reconnecting, last one didn’t last long.
Error in post-command-hook (evil-normal-post-command): (void-variable evil-mode-buffers)
Mark set [2 times]
Copied text from "[jsonrpc] D[12:09:56.553] Running langua"
SPC <menu-bar> is undefined
Error in post-command-hook (evil-normal-post-command): (void-variable evil-mode-buffers)
<buffer> is undefined
Mark set
Error in post-command-hook (evil-normal-post-command): (void-variable evil-mode-buffers)
Beginning of buffer [2 times]
Error in post-command-hook (evil-normal-post-command): (void-variable evil-mode-buffers) [2 times]
Beginning of buffer