Giter VIP home page Giter VIP logo

visualstudio4flow's Issues

Plugin failed to start using

Here info from log

18:20:40.3985+03:00 - ERROR - PluginManager.InitializePluginsAsync - Fail to Init plugin: Visual Studio Launcher
EXCEPTION OCCURS: System.InvalidOperationException: Cannot transcode invalid UTF-8 JSON text to UTF-16 string.
---> System.Text.DecoderFallbackException: Unable to translate bytes [FF] at index 23 from specified code page to Unicode.
at void System.Text.DecoderExceptionFallbackBuffer.Throw(byte[] bytesUnknown, int index)
at bool System.Text.DecoderExceptionFallbackBuffer.Fallback(byte[] bytesUnknown, int index)
at int System.Text.Encoding.GetCharCountWithFallback(ReadOnlySpan bytes, int originalBytesLength, DecoderNLS decoder) x 2
at int System.Text.UTF8Encoding.GetCharCount(Byte* bytes, int count)
at string string.CreateStringFromEncoding(Byte* bytes, int byteLength, Encoding encoding)
at string System.Text.Encoding.GetString(ReadOnlySpan bytes)
at string System.Text.Json.JsonReaderHelper.TranscodeHelper(ReadOnlySpan utf8Unescaped)
--- End of inner exception stack trace ---
at string System.Text.Json.JsonReaderHelper.TranscodeHelper(ReadOnlySpan utf8Unescaped)
at string System.Text.Json.JsonDocument.GetString(int index, JsonTokenType expectedType)
at new Flow.Launcher.Plugin.VisualStudio.VisualStudioInstance(JsonElement element)
at Task Flow.Launcher.Plugin.VisualStudio.VisualStudioPlugin.GetVisualStudioInstances()+(int index) => { }
at ParallelLoopResult System.Threading.Tasks.Parallel.ForWorker(int fromInclusive, int toExclusive, ParallelOptions parallelOptions, Action body, Action<int, ParallelLoopState> bodyWithState, Func<int, ParallelLoopState, TLocal, TLocal> bodyWithLocal, Func localInit, Action localFinally)+(ref RangeWorker currentWorker, int timeout, out bool replicationDelegateYieldedBeforeCompletion) => { } x 2
at void System.Threading.Tasks.TaskReplicator+Replica.Execute()

Visual Studio plugin does not launch Visual Studio Insiders

I have MS Visual Studio Insiders installed, not the stable version. Version I have is installed through Choco package manager. I am not sure if this plugin can be adjusted to secondarily look for the Insiders (or any one of the other forks or versions) but her is what I am seeing:

2024-03-26.txt

Flow Launcher version: 1.17.2
OS Version: 22621.3296
IntPtr Length: 8
x64: True

Python Path: C:\Users\Administrator\AppData\Roaming\FlowLauncher\Environments\Python\PythonEmbeddable-v3.11.4\pythonw.exe
Node Path: 
Date: 03/26/2024 15:37:48
Exception:
Visual Studio Launcher Exception: 
Websites: https://github.com/Odotocodot/VisualStudio4Flow
Author: Odotocodot
Version: 1.0.2
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: Object reference not set to an instance of an object.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Flow.Launcher.Plugin.VisualStudio.Main.QueryAsync(Query query, CancellationToken token)
   at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass23_0.<<QueryForPluginAsync>b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 196
--- End of stack trace from previous location ---
   at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 34
   at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 195
   --- End of inner exception stack trace ---
   at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass23_1.<QueryForPluginAsync>b__1(ActionContext _) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 224
   at Flow.Launcher.Plugin.Result.ExecuteAsync(ActionContext context) in /_/Flow.Launcher.Plugin/Result.cs:line 221
   at Flow.Launcher.ViewModel.MainViewModel.OpenResultAsync(String index) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 294
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.