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

Export Dialogue as Spreadsheet URI Error #52

Open
shrippen opened this issue Apr 25, 2024 · 1 comment
Open

Export Dialogue as Spreadsheet URI Error #52

shrippen opened this issue Apr 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@shrippen
Copy link

What is the current behavior?

I want to use the included function to export the dialogue as a spreadsheet but this throws the following error:

Error in the language server: Error: Internal Error - System.UriFormatException: Invalid URI: The URI scheme is not valid.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
   at System.Uri..ctor(String uriString)
   at YarnLanguageServer.YarnLanguageServer.ExtractVoiceoverSpreadsheet(Workspace workspace, ExecuteCommandParams`1 commandParams) in /home/runner/work/VSCodeExtension/VSCodeExtension/YarnSpinner/YarnSpinner.LanguageServer/src/Server/YarnLanguageServer.cs:line 631
   at YarnLanguageServer.YarnLanguageServer.<>c__DisplayClass2_0.<ConfigureOptions>b__14(ExecuteCommandParams`1 commandParams) in /home/runner/work/VSCodeExtension/VSCodeExtension/YarnSpinner/YarnSpinner.LanguageServer/src/Server/YarnLanguageServer.cs:line 139
   at OmniSharp.Extensions.LanguageServer.Protocol.HandlerAdapter`1.<>c__DisplayClass3_0`2.<Adapt>b__0(TParams a, TCapability _, CancellationToken _)
   at OmniSharp.Extensions.LanguageServer.Protocol.LanguageProtocolDelegatingHandlers.Request`4.MediatR.IRequestHandler<TParams,TResult>.Handle(TParams request, CancellationToken cancellationToken)
   at OmniSharp.Extensions.JsonRpc.JsonRpcServerServiceCollectionExtensions.RequestHandlerDecorator`2.Handle(T request, CancellationToken cancellationToken)
   at OmniSharp.Extensions.LanguageServer.Server.Pipelines.SemanticTokensDeltaPipeline`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next)
   at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next)
   at MediatR.Pipeline.RequestPreProcessorBehavior`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next)
   at MediatR.Pipeline.RequestPostProcessorBehavior`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next)
   at MediatR.Pipeline.RequestExceptionProcessorBehavior`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next)
   at MediatR.Pipeline.RequestExceptionProcessorBehavior`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next)
   at MediatR.Pipeline.RequestExceptionActionProcessorBehavior`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next)
   at MediatR.Pipeline.RequestExceptionActionProcessorBehavior`2.Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate`1 next)
   at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.<RouteRequest>g__InnerRoute|7_0(IServiceScopeFactory serviceScopeFactory, Request request, TDescriptor descriptor, Object params, CancellationToken token, ILogger logger)
   at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.RouteRequest(IRequestDescriptor`1 descriptors, Request request, CancellationToken token)
   at OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker.<>c__DisplayClass10_0.<<RouteRequest>b__5>d.MoveNext()

Please provide the steps to reproduce, and if possible a minimal demo of the problem:

This error appears in the simplest of projects. I tried it with this script
`title: start

Hello
===`

What is the expected behavior?

An export of the dialogue

Please tell us about your environment:

  • Arch Linux
  • Visual Studio Code 1.88.1
  • Extension Version: 2.4.6
@shrippen shrippen added the bug Something isn't working label Apr 25, 2024
@jacknkandy
Copy link

jacknkandy commented Sep 27, 2024

I got this same error message, except for the Preview Dialogue command first time trying after a new install. I just uninstalled and reinstalled and I got it to work.

OSX Sonoma 14.2.1
Visual Studio: 1.93.1
Extension Version: 2.4.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants