Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nvim LSP log full of errors #1234

Closed
arcogabbo opened this issue Apr 6, 2023 · 2 comments
Closed

Nvim LSP log full of errors #1234

arcogabbo opened this issue Apr 6, 2023 · 2 comments

Comments

@arcogabbo
Copy link

My LSP log file is full of errors by the language server and I think this might be an incorrect behavior. I pasted the log for an hello world project but on a large one my LSP log went to 70+ thousands of lines like the ones showed below.
Any help is appreciated.

I also found a similar issue here but the errors seems a bit different.

Server Version

0.30.3

Terraform Version

Terraform v1.3.9
on linux_amd64

Client Version

Nvim v0.8.3 (nvim-lspconfig plugin)

Terraform Configuration Files

Log Output

[START][2023-04-06 10:44:17] LSP logging initiated
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 serve_command.go:101: Starting terraform-ls 0.30.3\n2023/04/06 10:44:17 service.go:99: Preparing new session ...\n2023/04/06 10:44:17 langserver.go:94: Starting server (pid 26982; concurrency: 6) ...\n2023/04/06 10:44:17 opts.go:205: Received request batch of size 1 (qlen=0)\n2023/04/06 10:44:17 opts.go:205: Dequeued request batch of length 1 (qlen=0)\n2023/04/06 10:44:17 rpc_logger.go:29: Incoming request for "initialize" (ID 1): {"trace":"off","capabilities":{"window":{"showDocument":{"support":false},"workDoneProgress":true,"showMessage":{"messageActionItem":{"additionalPropertiesSupport":false}}},"workspace":{"symbol":{"dynamicRegistration":false,"hierarchicalWorkspaceSymbolSupport":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]}},"workspaceFolders":true,"applyEdit":true,"configuration":true,"workspaceEdit":{"resourceOperations":["rename","create","delete"]}},"textDocument":{"declaration":{"linkSupport":true},"completion":{"contextSupport":false,"dynamicRegistration":false,"completionItemKind":{"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]},"completionItem":{"deprecatedSupport":false,"preselectSupport":false,"commitCharactersSupport":false,"snippetSupport":false,"documentationFormat":["markdown","plaintext"]}},"references":{"dynamicRegistration":false},"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]}},"synchronization":{"dynamicRegistration":false,"didSave":true,"willSaveWaitUntil":false,"willSave":false},"documentHighlight":{"dynamicRegistration":false},"signatureHelp":{"dynamicRegistration":false,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true},"activeParameterSupport":true}},"hover":{"dynamicRegistration":false,"contentFormat":["markdown","plaintext"]},"publishDiagnostics":{"tagSupport":{"valueSet":[1,2]},"relatedInformation":true},"definition":{"linkSupport":true},"rename":{"dynamicRegistration":false,"prepareSupport":true},"codeAction":{"dynamicRegistration":false,"dataSupport":true,"isPreferredSupport":true,"resolveSupport":{"properties":["edit"]},"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","Empty","QuickFix","Refactor","RefactorExtract","RefactorInline","RefactorRewrite","Source","SourceOrganizeImports","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"typeDefinition":{"linkSupport":true},"implementation":{"linkSupport":true}},"callHierarchy":{"dynamicRegistration":false}},"initializationOptions":{},"processId":26961,"rootUri":"file:\\/\\/\\/home\\/arcogabbo\\/Repos\\/terraform-hello-world","rootPath":"\\/home\\/arcogabbo\\/Repos\\/terraform-hello-world","clientInfo":{"name":"Neovim","version":"0.8.3"},"workspaceFolders":[{"uri":"file:\\/\\/\\/home\\/arcogabbo\\/Repos\\/terraform-hello-world","name":"\\/home\\/arcogabbo\\/Repos\\/terraform-hello-world"}]}\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 scheduler.go:47: launching eval loop 0\n2023/04/06 10:44:17 service.go:458: started low priority scheduler\n2023/04/06 10:44:17 scheduler.go:47: launching eval loop 0\n2023/04/06 10:44:17 service.go:463: started high priority scheduler\n2023/04/06 10:44:17 walker_paths.go:240: walking next dir: {"file:///home/arcogabbo/Repos/terraform-hello-world"}\n2023/04/06 10:44:17 walker.go:184: skipping ignored dir name: .git\n2023/04/06 10:44:17 walker.go:190: found module {file:///home/arcogabbo/Repos/terraform-hello-world/src}\n2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "1": "OpTypeParseModuleConfiguration" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: false, IgnoreState: false)\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "2": "OpTypeLoadModuleMetadata" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: false, IgnoreState: false)\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "3": "OpTypeParseVariables" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: false, IgnoreState: false)\n2023/04/06 10:44:17 rpc_logger.go:50: Response to "initialize" (ID 1): {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":[".","["],"resolveProvider":true,"completionItem":{}},"hoverProvider":true,"signatureHelpProvider":{},"declarationProvider":{},"definitionProvider":true,"referencesProvider":true,"documentSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["source.formatAll.terraform"]},"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"executeCommandProvider":{"commands":["terraform-ls.module.callers","terraform-ls.module.calls","terraform-ls.module.providers","terraform-ls.module.terraform","terraform-ls.rootmodules","terraform-ls.terraform.init","terraform-ls.terraform.validate"],"workDoneProgress":true},"semanticTokensProvider":{"legend":{"tokenTypes":[],"tokenModifiers":[]},"full":false},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}},"experimental":{"referenceCountCodeLens":false,"refreshModuleProviders":false,"refreshModuleCalls":false,"refreshTerraformVersion":false}},"serverInfo":{"name":"terraform-ls","version":"0.30.3"}}\n2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "4": "OpTypeDecodeVarsReferences" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: false, IgnoreState: false)\n2023/04/06 10:44:17 opts.go:205: Completed 1 requests [3.193462ms elapsed]\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 walker.go:88: parsed datadir: &datadir.DataDir{ModuleManifestPath:"", PluginLockFilePath:""}\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "1" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeParseModuleConfiguration" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "5": "OpTypePreloadEmbeddedSchema" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: false, IgnoreState: false)\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "6": "OpTypeDecodeReferenceTargets" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: false, IgnoreState: false)\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "7": "OpTypeDecodeReferenceOrigins" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: false, IgnoreState: false)\n2023/04/06 10:44:17 walker.go:214: walking of {file:///home/arcogabbo/Repos/terraform-hello-world/src} finished\n2023/04/06 10:44:17 walker.go:214: walking of {file:///home/arcogabbo/Repos/terraform-hello-world} finished\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 walker.go:128: walker: walking through {"file:///home/arcogabbo/Repos/terraform-hello-world"} finished\n2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "1": "OpTypeParseModuleConfiguration" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = %!s(<nil>), deferredJobs: [])\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "2" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeLoadModuleMetadata" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "2": "OpTypeLoadModuleMetadata" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = %!s(<nil>), deferredJobs: [])\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "3" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeParseVariables" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "3": "OpTypeParseVariables" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = %!s(<nil>), deferredJobs: [])\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "4" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypeDecodeVarsReferences" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "4": "OpTypeDecodeVarsReferences" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = %!s(<nil>), deferredJobs: [])\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "5" (scheduler prio: -1, job prio: 0, isDirOpen: false): "OpTypePreloadEmbeddedSchema" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 module_ops.go:287: preloaded schema for registry.terraform.io/hashicorp/azuread 2.34.1 in 9.361701ms\n2023/04/06 10:44:17 module_ops.go:287: preloaded schema for registry.terraform.io/hashicorp/null 3.2.1 in 224.644µs\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 opts.go:205: Received request batch of size 1 (qlen=0)\n2023/04/06 10:44:17 opts.go:205: Dequeued request batch of length 1 (qlen=0)\n2023/04/06 10:44:17 rpc_logger.go:29: Incoming notification for \"initialized\": {}\n2023/04/06 10:44:17 opts.go:205: Received request batch of size 1 (qlen=0)\n2023/04/06 10:44:17 initialized.go:24: Client doesn't support dynamic watched files registration, provider and module changes may not be reflected at runtime\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 opts.go:205: Dequeued request batch of length 1 (qlen=0)\n2023/04/06 10:44:17 rpc_logger.go:29: Incoming notification for "textDocument/didOpen": {"textDocument":{"uri":"file:\\/\\/\\/home\\/arcogabbo\\/Repos\\/terraform-hello-world\\/src\\/99_main.tf","text":"terraform {\\n  required_version = \\">=1.3.0\\"\\n  required_providers {\\n    azurerm = {\\n      source  = \\"hashicorp\\/azurerm\\"\\n      version = \\"<= 3.40.0\\"\\n    }\\n    azuread = {\\n      source  = \\"hashicorp\\/azuread\\"\\n      version = \\"<= 2.33.0\\"\\n    }\\n    null = {\\n      source  = \\"hashicorp\\/null\\"\\n      version = \\"<= 3.2.1\\"\\n    }\\n  }\\n\\n  backend \\"azurerm\\" {}\\n}\\n\\nprovider \\"azurerm\\" {\\n  features {\\n    key_vault {\\n      purge_soft_delete_on_destroy = false\\n    }\\n  }\\n}\\n","languageId":"hcl","version":0}}\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 did_open.go:53: opened module: /home/arcogabbo/Repos/terraform-hello-world/src\n2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "8": "OpTypeGetTerraformVersion" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: true, IgnoreState: false)\n2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "9": "OpTypeParseModuleConfiguration" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: true, IgnoreState: true)\n2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "10": "OpTypeLoadModuleMetadata" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: true, IgnoreState: true)\n2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "11": "OpTypePreloadEmbeddedSchema" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: true, IgnoreState: true)\n2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "12": "OpTypeDecodeReferenceTargets" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: true, IgnoreState: true)\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "13": "OpTypeDecodeReferenceOrigins" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: true, IgnoreState: true)\n2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "14": "OpTypeGetModuleDataFromRegistry" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: true, IgnoreState: false)\n2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "6" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeDecodeReferenceTargets" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "15": "OpTypeParseVariables" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: true, IgnoreState: true)\n2023/04/06 10:44:17 jobs.go:90: JOBS: Enqueueing new job "16": "OpTypeDecodeVarsReferences" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (IsDirOpen: true, IgnoreState: false)\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 provider_schema.go:279: PSS: getting provider schema (/home/arcogabbo/Repos/terraform-hello-world/src, registry.terraform.io/hashicorp/azuread, <= 2.33.0)\n2023/04/06 10:44:17 provider_schema.go:279: PSS: getting provider schema (/home/arcogabbo/Repos/terraform-hello-world/src, registry.terraform.io/hashicorp/null, <= 3.2.1)\n2023/04/06 10:44:17 provider_schema.go:279: PSS: getting provider schema (/home/arcogabbo/Repos/terraform-hello-world/src, registry.terraform.io/hashicorp/azurerm, <= 3.40.0)\n2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "6": "OpTypeDecodeReferenceTargets" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = %!s(<nil>), deferredJobs: [])\n2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "15" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeParseVariables" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "15": "OpTypeParseVariables" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = %!s(<nil>), deferredJobs: [])\n2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "16" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeDecodeVarsReferences" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "16": "OpTypeDecodeVarsReferences" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = file:///home/arcogabbo/Repos/terraform-hello-world/src: state not changed, deferredJobs: [])\n2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "7" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeDecodeReferenceOrigins" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 provider_schema.go:279: PSS: getting provider schema (/home/arcogabbo/Repos/terraform-hello-world/src, registry.terraform.io/hashicorp/null, <= 3.2.1)\n2023/04/06 10:44:17 provider_schema.go:279: PSS: getting provider schema (/home/arcogabbo/Repos/terraform-hello-world/src, registry.terraform.io/hashicorp/azurerm, <= 3.40.0)\n2023/04/06 10:44:17 provider_schema.go:279: PSS: getting provider schema (/home/arcogabbo/Repos/terraform-hello-world/src, registry.terraform.io/hashicorp/azuread, <= 2.33.0)\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "7": "OpTypeDecodeReferenceOrigins" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = %!s(<nil>), deferredJobs: [])\n2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "8" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeGetTerraformVersion" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 module_ops.go:287: preloaded schema for registry.terraform.io/hashicorp/azurerm 3.44.1 in 207.492209ms\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "5": "OpTypePreloadEmbeddedSchema" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "14" (scheduler prio: -1, job prio: -1, isDirOpen: true): "OpTypeGetModuleDataFromRegistry" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "14": "OpTypeGetModuleDataFromRegistry" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "8": "OpTypeGetTerraformVersion" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "9" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeParseModuleConfiguration" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "9": "OpTypeParseModuleConfiguration" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "10" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeLoadModuleMetadata" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "10": "OpTypeLoadModuleMetadata" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "11" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypePreloadEmbeddedSchema" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 module_ops.go:281: schema for registry.terraform.io/hashicorp/azurerm is already loaded\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 module_ops.go:281: schema for registry.terraform.io/hashicorp/azuread is already loaded\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "11": "OpTypePreloadEmbeddedSchema" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "12" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeDecodeReferenceTargets" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 provider_schema.go:279: PSS: getting provider schema (/home/arcogabbo/Repos/terraform-hello-world/src, registry.terraform.io/hashicorp/null, <= 3.2.1)\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 provider_schema.go:279: PSS: getting provider schema (/home/arcogabbo/Repos/terraform-hello-world/src, registry.terraform.io/hashicorp/azurerm, <= 3.40.0)\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 provider_schema.go:279: PSS: getting provider schema (/home/arcogabbo/Repos/terraform-hello-world/src, registry.terraform.io/hashicorp/azuread, <= 2.33.0)\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "12": "OpTypeDecodeReferenceTargets" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:268: JOBS: Dispatching next job "13" (scheduler prio: 1, job prio: 0, isDirOpen: true): "OpTypeDecodeReferenceOrigins" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"}\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 provider_schema.go:279: PSS: getting provider schema (/home/arcogabbo/Repos/terraform-hello-world/src, registry.terraform.io/hashicorp/azuread, <= 2.33.0)\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 provider_schema.go:279: PSS: getting provider schema (/home/arcogabbo/Repos/terraform-hello-world/src, registry.terraform.io/hashicorp/null, <= 3.2.1)\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 provider_schema.go:279: PSS: getting provider schema (/home/arcogabbo/Repos/terraform-hello-world/src, registry.terraform.io/hashicorp/azurerm, <= 3.40.0)\n"
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	'2023/04/06 10:44:17 jobs.go:383: JOBS: Finishing job "13": "OpTypeDecodeReferenceOrigins" for {"file:///home/arcogabbo/Repos/terraform-hello-world/src"} (err = %!s(<nil>), deferredJobs: [])\n'
[ERROR][2023-04-06 10:44:17] .../vim/lsp/rpc.lua:733	"rpc"	"terraform-ls"	"stderr"	"2023/04/06 10:44:17 jobs.go:246: retrying on obj is nil\n"

Steps to Reproduce

Simply opening the file causes the issue

@radeksimko
Copy link
Member

Hi @arcogabbo
Thank you for the report.

None of the messages shown above are actual errors, but it's indeed not ideal for the server to be sending log messages to STDERR and it is sensible for NeoVim to consider anything sent to STDERR as errors.

We intend to address this as part of #1271 which also contains some more context if you wish to read more.

@radeksimko radeksimko closed this as not planned Won't fix, can't repro, duplicate, stale May 2, 2023
@github-actions
Copy link

github-actions bot commented Jun 2, 2023

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants