Closed msp-incom closed 1 year ago
Hi @msp-incom , thanks for the bug report!
I have not been able to replicate this - on windows with contextive v1.9.2 and vs code 1.8.0 it works fine for me.
Can you confirm if the issue still happens after you close and re-open vscode in the same folder?
Also, can you confirm a few details to help me diagnose:
contextive.path
setting value (probably undefined, but just in case a value has been set)Thanks!
Hmm a reboot seems to have fixed it, so maybe some wrong state just after installing it :/
Thanks for confirming.
If you have time, one option is to try replicating with an 'initialize' in a fresh folder - the reason I ask is that once the file is already there, contextive is started on workspace open and loads the file immediately, compared with the 'initialise' command which starts contextive on command invocation and then loads the file when triggered by a file watcher notification once the file is created. I haven't been able to replicate the issue even when running the initialise command, but it's possible that contextive is unable to handle something in your environment but only during initialise.
Otherwise, please re-open this if it happens again for you and or anyone in your team!
Tried again on a new repository, same machine and this time it just worked when I initialized :/
Will report back if it happens again later :)
Just installed Contextive from the marketplace in VS code 1.80.0 on Windows
Then ran the
Contextive: Initialize Definitions
And now I get errors all the time, even hovering over stuff in the output window with
"Request textDocument/hover failed. Source: Contextive (Extension) Go to output
From OutputgInnerRoute|7_0(IServiceScopeFactory serviceScopeFactory, Request request, TDescriptor descriptor, Object params, CancellationToken token, ILogger logger)
at OmniSharp.Extensions.JsonRpc.RequestRouterBaseb 5>d.MoveNext()
Code: -32603
`
[Error - 7:30:59 AM] Request textDocument/hover failed. Message: Internal Error - System.TimeoutException: MailboxProcessor.PostAndAsyncReply timed out. at <StartupCode$FSharp-Core>.$Mailbox.PostAndAsyncReply@471-1.Invoke(FSharpOption
1 res) in D:\a_work\1\s\src\FSharp.Core\mailbox.fs:line 472 at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation1 ctxt, b result1, FSharpFunc
2 userCode) in D:\a_work\1\s\src\FSharp.Core\async.fs:line 528 at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148 --- End of stack trace from previous location --- at OmniSharp.Extensions.LanguageServer.Server.Pipelines.SemanticTokensDeltaPipeline
2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate1 next) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline
2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate1 next) at MediatR.Pipeline.RequestPreProcessorBehavior
2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate1 next) at MediatR.Pipeline.RequestPostProcessorBehavior
2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate1 next) at MediatR.Pipeline.RequestExceptionProcessorBehavior
2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate1 next) at MediatR.Pipeline.RequestExceptionProcessorBehavior
2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate1 next) at MediatR.Pipeline.RequestExceptionActionProcessorBehavior
2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate1 next) at MediatR.Pipeline.RequestExceptionActionProcessorBehavior
2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate1 next) at OmniSharp.Extensions.JsonRpc.RequestRouterBase
1.1.RouteRequest(IRequestDescriptor
1 descriptors, Request request, CancellationToken token) at OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker.<>c__DisplayClass10_0.<