LanguageServer.jl icon indicating copy to clipboard operation
LanguageServer.jl copied to clipboard

"Your extension just crashed with a bug that we have been trying to replicate for a long time" (revisited)

Open mfiano opened this issue 2 years ago • 2 comments

This is a trace log from Neovim 0.7.2 on LS.jl 4.3.1 that shows #1058 still occurring

[DEBUG][2022-07-13 16:38:30] .../lua/vim/lsp.lua:1023	"LSP[julials]"	"client.request"	6	"textDocument/signatureHelp"	{  position = {    character = 0,    line = 32  },  textDocument = {    uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"  }}	<function 1>	245
[DEBUG][2022-07-13 16:38:30] .../vim/lsp/rpc.lua:347	"rpc.send"	{  id = 41,  jsonrpc = "2.0",  method = "textDocument/signatureHelp",  params = {    position = {      character = 0,      line = 32    },    textDocument = {      uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"    }  }}
[DEBUG][2022-07-13 16:38:30] .../vim/lsp/rpc.lua:454	"rpc.receive"	{  id = 41,  jsonrpc = "2.0",  result = {    activeParameter = 0,    activeSignature = 0,    signatures = {}  }}
[DEBUG][2022-07-13 16:38:32] .../lua/vim/lsp.lua:1023	"LSP[julials]"	"client.request"	6	"textDocument/completion"	{  context = {    triggerCharacter = "@",    triggerKind = 2  },  position = {    character = 1,    line = 33  },  textDocument = {    uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"  }}	<function 1>	245
[DEBUG][2022-07-13 16:38:32] .../vim/lsp/rpc.lua:347	"rpc.send"	{  id = 42,  jsonrpc = "2.0",  method = "textDocument/completion",  params = {    context = {      triggerCharacter = "@",      triggerKind = 2    },    position = {      character = 1,      line = 33    },    textDocument = {      uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"    }  }}
[DEBUG][2022-07-13 16:38:32] .../vim/lsp/rpc.lua:454	"rpc.receive"	{  id = 42,  jsonrpc = "2.0",  result = {    isIncomplete = true,    items = {}  }}
[DEBUG][2022-07-13 16:38:33] .../lua/vim/lsp.lua:1023	"LSP[julials]"	"client.request"	6	"textDocument/completion"	{  context = {    triggerKind = 1  },  position = {    character = 2,    line = 33  },  textDocument = {    uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"  }}	<function 1>	245
[DEBUG][2022-07-13 16:38:33] .../vim/lsp/rpc.lua:347	"rpc.send"	{  id = 43,  jsonrpc = "2.0",  method = "textDocument/completion",  params = {    context = {      triggerKind = 1    },    position = {      character = 2,      line = 33    },    textDocument = {      uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"    }  }}
[DEBUG][2022-07-13 16:38:33] .../vim/lsp/rpc.lua:454	"rpc.receive"	{  id = 43,  jsonrpc = "2.0",  result = {    isIncomplete = true,    items = {}  }}
[DEBUG][2022-07-13 16:38:33] .../lua/vim/lsp.lua:1023	"LSP[julials]"	"client.request"	6	"textDocument/completion"	{  context = {    triggerKind = 3  },  position = {    character = 3,    line = 33  },  textDocument = {    uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"  }}	<function 1>	245
[DEBUG][2022-07-13 16:38:33] .../vim/lsp/rpc.lua:347	"rpc.send"	{  id = 44,  jsonrpc = "2.0",  method = "textDocument/completion",  params = {    context = {      triggerKind = 3    },    position = {      character = 3,      line = 33    },    textDocument = {      uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"    }  }}
[DEBUG][2022-07-13 16:38:33] .../vim/lsp/rpc.lua:454	"rpc.receive"	{  id = 44,  jsonrpc = "2.0",  result = {    isIncomplete = true,    items = {}  }}
[DEBUG][2022-07-13 16:38:33] .../lua/vim/lsp.lua:1023	"LSP[julials]"	"client.request"	6	"textDocument/completion"	{  context = {    triggerKind = 3  },  position = {    character = 4,    line = 33  },  textDocument = {    uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"  }}	<function 1>	245
[DEBUG][2022-07-13 16:38:33] .../vim/lsp/rpc.lua:347	"rpc.send"	{  id = 45,  jsonrpc = "2.0",  method = "textDocument/completion",  params = {    context = {      triggerKind = 3    },    position = {      character = 4,      line = 33    },    textDocument = {      uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"    }  }}
[DEBUG][2022-07-13 16:38:33] .../vim/lsp/rpc.lua:454	"rpc.receive"	{  id = 45,  jsonrpc = "2.0",  result = {    isIncomplete = true,    items = {}  }}
[DEBUG][2022-07-13 16:38:33] .../lua/vim/lsp.lua:1023	"LSP[julials]"	"client.request"	6	"textDocument/completion"	{  context = {    triggerKind = 3  },  position = {    character = 5,    line = 33  },  textDocument = {    uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"  }}	<function 1>	245
[DEBUG][2022-07-13 16:38:33] .../vim/lsp/rpc.lua:347	"rpc.send"	{  id = 46,  jsonrpc = "2.0",  method = "textDocument/completion",  params = {    context = {      triggerKind = 3    },    position = {      character = 5,      line = 33    },    textDocument = {      uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"    }  }}
[DEBUG][2022-07-13 16:38:33] .../vim/lsp/rpc.lua:454	"rpc.receive"	{  id = 46,  jsonrpc = "2.0",  result = {    isIncomplete = true,    items = {}  }}
[DEBUG][2022-07-13 16:38:34] .../lua/vim/lsp.lua:1023	"LSP[julials]"	"client.request"	6	"textDocument/completion"	{  context = {    triggerKind = 3  },  position = {    character = 6,    line = 33  },  textDocument = {    uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"  }}	<function 1>	245
[DEBUG][2022-07-13 16:38:34] .../vim/lsp/rpc.lua:347	"rpc.send"	{  id = 47,  jsonrpc = "2.0",  method = "textDocument/completion",  params = {    context = {      triggerKind = 3    },    position = {      character = 6,      line = 33    },    textDocument = {      uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"    }  }}
[DEBUG][2022-07-13 16:38:34] .../vim/lsp/rpc.lua:454	"rpc.receive"	{  id = 47,  jsonrpc = "2.0",  result = {    isIncomplete = true,    items = {}  }}
[DEBUG][2022-07-13 16:38:34] .../lua/vim/lsp.lua:1023	"LSP[julials]"	"client.request"	6	"textDocument/completion"	{  context = {    triggerKind = 3  },  position = {    character = 7,    line = 33  },  textDocument = {    uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"  }}	<function 1>	245
[DEBUG][2022-07-13 16:38:34] .../vim/lsp/rpc.lua:347	"rpc.send"	{  id = 48,  jsonrpc = "2.0",  method = "textDocument/completion",  params = {    context = {      triggerKind = 3    },    position = {      character = 7,      line = 33    },    textDocument = {      uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"    }  }}
[DEBUG][2022-07-13 16:38:34] .../vim/lsp/rpc.lua:454	"rpc.receive"	{  id = 48,  jsonrpc = "2.0",  result = {    isIncomplete = true,    items = {}  }}
[DEBUG][2022-07-13 16:38:35] .../lua/vim/lsp.lua:1023	"LSP[julials]"	"client.request"	6	"textDocument/completion"	{  context = {    triggerKind = 1  },  position = {    character = 9,    line = 33  },  textDocument = {    uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"  }}	<function 1>	245
[DEBUG][2022-07-13 16:38:35] .../vim/lsp/rpc.lua:347	"rpc.send"	{  id = 49,  jsonrpc = "2.0",  method = "textDocument/completion",  params = {    context = {      triggerKind = 1    },    position = {      character = 9,      line = 33    },    textDocument = {      uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"    }  }}
[DEBUG][2022-07-13 16:38:35] .../vim/lsp/rpc.lua:454	"rpc.receive"	{  id = 49,  jsonrpc = "2.0",  result = {    isIncomplete = true,    items = {}  }}
[DEBUG][2022-07-13 16:38:35] .../lua/vim/lsp.lua:1023	"LSP[julials]"	"client.request"	6	"textDocument/completion"	{  context = {    triggerKind = 3  },  position = {    character = 11,    line = 33  },  textDocument = {    uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"  }}	<function 1>	245
[DEBUG][2022-07-13 16:38:35] .../vim/lsp/rpc.lua:347	"rpc.send"	{  id = 50,  jsonrpc = "2.0",  method = "textDocument/completion",  params = {    context = {      triggerKind = 3    },    position = {      character = 11,      line = 33    },    textDocument = {      uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"    }  }}
[DEBUG][2022-07-13 16:38:35] .../vim/lsp/rpc.lua:454	"rpc.receive"	{  id = 50,  jsonrpc = "2.0",  result = {    isIncomplete = true,    items = {}  }}
[DEBUG][2022-07-13 16:38:36] .../lua/vim/lsp.lua:1023	"LSP[julials]"	"client.request"	6	"textDocument/signatureHelp"	{  position = {    character = 12,    line = 33  },  textDocument = {    uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"  }}	<function 1>	245
[DEBUG][2022-07-13 16:38:36] .../vim/lsp/rpc.lua:347	"rpc.send"	{  id = 51,  jsonrpc = "2.0",  method = "textDocument/signatureHelp",  params = {    position = {      character = 12,      line = 33    },    textDocument = {      uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"    }  }}
[DEBUG][2022-07-13 16:38:36] .../vim/lsp/rpc.lua:454	"rpc.receive"	{  id = 51,  jsonrpc = "2.0",  result = {    activeParameter = 3,    activeSignature = 0,    signatures = {}  }}
[DEBUG][2022-07-13 16:38:39] .../lua/vim/lsp.lua:1023	"LSP[julials]"	"client.request"	6	"textDocument/formatting"	{  options = {    insertSpaces = true,    tabSize = 4  },  textDocument = {    uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"  }}	<function 1>	245
[DEBUG][2022-07-13 16:38:39] .../vim/lsp/rpc.lua:347	"rpc.send"	{  id = 52,  jsonrpc = "2.0",  method = "textDocument/formatting",  params = {    options = {      insertSpaces = true,      tabSize = 4    },    textDocument = {      uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"    }  }}
[DEBUG][2022-07-13 16:38:39] .../vim/lsp/rpc.lua:454	"rpc.receive"	{  id = 52,  jsonrpc = "2.0",  result = { {      newText = 'module Strips\n\nusing StaticArrays\n\nimport ..MathTypes: BaseVector, BaseMatrix\n\nexport ColumnX, ColumnY, ColumnZ, ColumnW, RowX, RowY, RowZ, RowW\n\nabstract type Strip{N} end\nabstract type Column{N} <: Strip{N} end\nabstract type Row{N} <: Strip{N} end\n\nconst ColumnX = Column{1}\nconst ColumnY = Column{2}\nconst ColumnZ = Column{3}\nconst ColumnW = Column{4}\nconst RowX = Row{1}\nconst RowY = Row{2}\nconst RowZ = Row{3}\nconst RowW = Row{4}\n\nfunction check_strip(vsize::Int64, msize::Int64, idx::Int64)\n    vsize <= msize ||\n        throw(ArgumentError("vector size $(vsize) is larger than matrix size $(msize)."))\n    idx <= msize ||\n        throw(ArgumentError("index $(idx) is larger than square matrix size $(msize)."))\nend\n\nmake_strip(m::BaseMatrix, vs::Int, ::Type{<:Column{C}}) where {C} = m[SVector{vs}(1:vs), C]\nmake_strip(m::BaseMatrix, vs::Int, ::Type{<:Row{R}}) where {R} = m[R, SVector{vs}(1:vs)]\nset_strip(m::MMatrix, v::SVector{N}, ::Type{<:Column{C}}) where {N,C} = (m[1:N, C] .= v; m)\nset_strip(m::MMatrix, v::SVector{N}, ::Type{<:Row{R}}) where {N,R} = (m[R, 1:N] .= v; m)\n\nfunction make_strip(\n    m::BaseMatrix{M},\n    v::Type{<:BaseVector{V}},\n    s::Type{<:Strip{S}},\n) where {M,V,S}\n    check_strip(V, M, S)\n    v(make_strip(m, V, s)...)\nend\n\nfunction set_strip(\n    m::T,\n    v::BaseVector{V},\n    s::Type{<:Strip{S}},\n) where {M,T<:BaseMatrix{M},V,S}\n    check_strip(V, M, S)\n    T(set_strip(MMatrix(m), SVector(v), s))\nend\n\nend\n',      range = {        end = {          character = 0,          line = 52        },        start = {          character = 0,          line = 0        }      }    } }}
[DEBUG][2022-07-13 16:38:39] .../vim/lsp/rpc.lua:347	"rpc.send"	{  jsonrpc = "2.0",  method = "textDocument/didSave",  params = {    text = 'module Strips\n\nusing StaticArrays\n\nimport ..MathTypes: BaseVector, BaseMatrix\n\nexport ColumnX, ColumnY, ColumnZ, ColumnW, RowX, RowY, RowZ, RowW\n\nabstract type Strip{N} end\nabstract type Column{N} <: Strip{N} end\nabstract type Row{N} <: Strip{N} end\n\nconst ColumnX = Column{1}\nconst ColumnY = Column{2}\nconst ColumnZ = Column{3}\nconst ColumnW = Column{4}\nconst RowX = Row{1}\nconst RowY = Row{2}\nconst RowZ = Row{3}\nconst RowW = Row{4}\n\nfunction check_strip(vsize::Int64, msize::Int64, idx::Int64)\n    vsize <= msize ||\n        throw(ArgumentError("vector size $(vsize) is larger than matrix size $(msize)."))\n    idx <= msize ||\n        throw(ArgumentError("index $(idx) is larger than square matrix size $(msize)."))\nend\n\nmake_strip(m::BaseMatrix, vs::Int, ::Type{<:Column{C}}) where {C} = m[SVector{vs}(1:vs), C]\nmake_strip(m::BaseMatrix, vs::Int, ::Type{<:Row{R}}) where {R} = m[R, SVector{vs}(1:vs)]\nset_strip(m::MMatrix, v::SVector{N}, ::Type{<:Column{C}}) where {N,C} = (m[1:N, C] .= v; m)\nset_strip(m::MMatrix, v::SVector{N}, ::Type{<:Row{R}}) where {N,R} = (m[R, 1:N] .= v; m)\n\nfunction make_strip(\n    m::BaseMatrix{M},\n    v::Type{<:BaseVector{V}},\n    s::Type{<:Strip{S}},\n) where {M,V,S}\n    check_strip(V, M, S)\n    v(make_strip(m, V, s)...)\nend\n\nfunction set_strip(\n    m::T,\n    v::BaseVector{V},\n    s::Type{<:Strip{S}},\n) where {M,T<:BaseMatrix{M},V,S}\n    check_strip(V, M, S)\n    T(set_strip(MMatrix(m), SVector(v), s))\nend\n\nend\n\nend\n',    textDocument = {      uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"    }  }}
[ERROR][2022-07-13 16:38:39] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"ERROR: "
[DEBUG][2022-07-13 16:38:40] .../lua/vim/lsp.lua:1023	"LSP[julials]"	"client.request"	6	"textDocument/signatureHelp"	{  position = {    character = 12,    line = 33  },  textDocument = {    uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"  }}	<function 1>	245
[DEBUG][2022-07-13 16:38:40] .../vim/lsp/rpc.lua:347	"rpc.send"	{  id = 53,  jsonrpc = "2.0",  method = "textDocument/signatureHelp",  params = {    position = {      character = 12,      line = 33    },    textDocument = {      uri = "file:///home/mfiano/projects/Julia/Practice/src/strip.jl"    }  }}
[ERROR][2022-07-13 16:38:40] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"Mismatch between server and client text for file:///home/mfiano/projects/Julia/Practice/src/strip.jl. _open_in_editor is true. _workspace_file is true. _version is 0.\nStacktrace:"
[ERROR][2022-07-13 16:38:40] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"\n [1] textDocument_didSave_notification(params::"
[DEBUG][2022-07-13 16:38:40] .../vim/lsp/rpc.lua:454	"rpc.receive"	{  jsonrpc = "2.0",  method = "window/showMessage",  params = {    message = "Julia Extension: Please contact us! Your extension just crashed with a bug that we have been trying to replicate for a long time. You could help the development team a lot by contacting us at https://github.com/julia-vscode/julia-vscode so that we can work together to fix this issue.",    type = 1  }}
[TRACE][2022-07-13 16:38:40] .../lua/vim/lsp.lua:792	"notification"	"window/showMessage"	{  message = "Julia Extension: Please contact us! Your extension just crashed with a bug that we have been trying to replicate for a long time. You could help the development team a lot by contacting us at https://github.com/julia-vscode/julia-vscode so that we can work together to fix this issue.",  type = 1}
[TRACE][2022-07-13 16:38:40] ...lsp/handlers.lua:488	"default_handler"	"window/showMessage"	{  ctx = '{\n  client_id = 6,\n  method = "window/showMessage"\n}',  result = {    message = "Julia Extension: Please contact us! Your extension just crashed with a bug that we have been trying to replicate for a long time. You could help the development team a lot by contacting us at https://github.com/julia-vscode/julia-vscode so that we can work together to fix this issue.",    type = 1  }}
[ERROR][2022-07-13 16:38:40] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"LanguageServer.DidSaveTextDocumentParams"
[ERROR][2022-07-13 16:38:40] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	", server::LanguageServerInstance, conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint})\n   @ LanguageServer "
[ERROR][2022-07-13 16:38:40] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"~/.data/julia/packages/LanguageServer/0vsx2/src/requests/"
[ERROR][2022-07-13 16:38:40] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"textdocument.jl:50\n [2] "
[ERROR][2022-07-13 16:38:40] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	'(::LanguageServer.var"#98#99"{typeof(LanguageServer.textDocument_didSave_notification), LanguageServerInstance})'
[ERROR][2022-07-13 16:38:40] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"(conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, params::LanguageServer.DidSaveTextDocumentParams)\n   @ LanguageServer ~/.data/julia/packages/LanguageServer/0vsx2/src/languageserverinstance.jl:262\n [3] "
[ERROR][2022-07-13 16:38:40] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"dispatch_msg(x::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, dispatcher::JSONRPC.MsgDispatcher, msg::"
[ERROR][2022-07-13 16:38:40] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"Dict{String, Any})\n   @ "
[ERROR][2022-07-13 16:38:40] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"JSONRPC ~/.data/julia/packages/JSONRPC/P0G1p/src/typed.jl:67\n [4] run(server::LanguageServerInstance)\n   @ LanguageServer ~/.data/julia/packages/LanguageServer/0vsx2/src/languageserverinstance.jl:382\n [5] top-level scope\n   @ none:31\n"

mfiano avatar Jul 13 '22 20:07 mfiano

Coming to one-up this. Got this error a couple of minutes ago.

[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"ERROR: "
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"Mismatch between server and client text for file:///home/carlos/documents/git/recetario/ds/UCLUST.jl. _open_in_editor is true. _workspace_file is true. _version is 261."
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"\nStacktrace:\n [1] "
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"textDocument_didSave_notification("
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"params::"
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"LanguageServer.DidSaveTextDocumentParams, "
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"server::LanguageServerInstance, conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint})\n   @ "
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"LanguageServer "
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"~/.julia/packages/LanguageServer/0vsx2/src/requests/"
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"textdocument.jl:50"
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"\n [2] "
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	'(::LanguageServer.var"#98#99"{typeof(LanguageServer.textDocument_didSave_notification), LanguageServerInstance})(conn::'
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, params::LanguageServer.DidSaveTextDocumentParams)\n   @ LanguageServer ~/.julia/packages/LanguageServer/0vsx2/src/languageserverinstance.jl:262\n [3] dispatch_msg(x::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, dispatcher::"
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"JSONRPC.MsgDispatcher, msg::"
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"Dict{String, Any}"
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	")\n   @ JSONRPC ~/.julia/packages/JSONRPC/P0G1p/src/typed.jl:67\n [4] "
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	"run(server::LanguageServerInstance)\n   @ LanguageServer ~/.julia/packages/LanguageServer/0vsx2/src/languageserverinstance.jl:382\n"
[ERROR][2022-07-13 21:40:43] .../vim/lsp/rpc.lua:420	"rpc"	"julia"	"stderr"	" [5] top-level scope\n   @ none:10\n"

cvigilv avatar Jul 14 '22 01:07 cvigilv

I just encountered the same on NVIM v0.9.5 and v1.66.2 of julia-lsp:

[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"ERROR: "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"Mismatch between server and client text for file:///Users/*******************************************************************/scripts/fit_betas_mockdata.jl. _open_in_editor is true. _workspace_file is true. _version is 0."
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"\nStacktrace:\n [1] textDocument_didSave_notification(params::LanguageServer.DidSaveTextDocumentParams, server::LanguageServerInstance, conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint})\n   @ LanguageServer ~/.local/share/modern_nvim/mason/packages/julia-lsp/libexec/extension/scripts/packages/LanguageServer/src/requests/textdocument.jl:57\n [2] "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	'(::LanguageServer.var"#111#112"{typeof(LanguageServer.textDocument_didSave_notification), LanguageServerInstance})(conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, params::LanguageServer.DidSaveTextDocumentParams)'
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"\n   @ LanguageServer"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"~/.local/share/modern_nvim/mason/packages/julia-lsp/libexec/extension/scripts/packages/LanguageServer/src/"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"languageserverinstance.jl:265"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"\n"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"[3]"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"dispatch_msg(x::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, dispatcher::JSONRPC.MsgDispatcher, msg::Dict{String, Any})"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"\n   @"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" JSONRPC ~/.local/share/modern_nvim/mason/packages/julia-lsp/libexec/extension/scripts/packages/JSONRPC/src/"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"typed.jl:67"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"\n"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"[4]"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"run(server::LanguageServerInstance; timings::Vector{Any})"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"\n"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"   @"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"LanguageServer"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"~/.local/share/modern_nvim/mason/packages/julia-lsp/libexec/extension/scripts/packages/LanguageServer/src/"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"languageserverinstance.jl:394"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"\n"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"[5]"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"run(server::LanguageServerInstance)"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"\n"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"   @"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"LanguageServer"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"~/.local/share/modern_nvim/mason/packages/julia-lsp/libexec/extension/scripts/packages/LanguageServer/src/"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"languageserverinstance.jl:275"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"\n"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"[6]"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" top-level scope\n   @ ~/.local/share/modern_nvim/mason/packages/julia-lsp/libexec/extension/scripts/languageserver/main.jl:104\n [7] include(mod::Module, _path::String)\n   @ Base ./Base.jl:495\n [8] "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"exec_options(opts::Base.JLOptions)\n   @ "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"Base"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"./"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"client.jl:318"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"\n"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"[9]"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"_start()"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"\n"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"   @"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"Base"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	" "
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"./"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"client.jl:552"
[ERROR][2024-02-07 11:07:20] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/**************/.local/share/modern_nvim/mason/bin/julia-lsp"	"stderr"	"\n"

SirLukeSchande avatar Feb 07 '24 10:02 SirLukeSchande