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

plugin crashes when starting #61

Open
Sucaiking opened this issue Oct 1, 2023 · 1 comment
Open

plugin crashes when starting #61

Sucaiking opened this issue Oct 1, 2023 · 1 comment

Comments

@Sucaiking
Copy link

I used zip file to install, and when i type st, it immediately crashes.

2023-10-01.txt

Flow Launcher version: 1.16.1
OS Version: 22621.2283
IntPtr Length: 8
x64: True

Python Path: C:\Python311\pythonw.exe
Node Path: 
Date: 10/01/2023 08:28:55
Exception:
Steam Search Exception: 
Websites: https://github.com/Garulf/Steam-Search
Author: Garulf
Version: 9.0.1
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: Traceback (most recent call last):
  File "E:\Software\Flow-Launcher-Portable-1.10.1\FlowLauncher\app-1.16.1\Plugins\Steam-Search\run.py", line 7, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "E:\Software\Flow-Launcher-Portable-1.10.1\FlowLauncher\app-1.16.1\Plugins\Steam-Search\plugin\main.py", line 6, in <module plugin.main>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "E:\Software\Flow-Launcher-Portable-1.10.1\FlowLauncher\app-1.16.1\Plugins\Steam-Search\flox\__init__.py", line 51, in <module flox>
FileNotFoundError: Unable to locate Launcher directory
Current working directory: E:\Software\Flow-Launcher-Portable-1.10.1\FlowLauncher\app-1.16.1\Plugins\Steam-Search

 ---> System.IO.InvalidDataException: Traceback (most recent call last):
  File "E:\Software\Flow-Launcher-Portable-1.10.1\FlowLauncher\app-1.16.1\Plugins\Steam-Search\run.py", line 7, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "E:\Software\Flow-Launcher-Portable-1.10.1\FlowLauncher\app-1.16.1\Plugins\Steam-Search\plugin\main.py", line 6, in <module plugin.main>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "E:\Software\Flow-Launcher-Portable-1.10.1\FlowLauncher\app-1.16.1\Plugins\Steam-Search\flox\__init__.py", line 51, in <module flox>
FileNotFoundError: Unable to locate Launcher directory
Current working directory: E:\Software\Flow-Launcher-Portable-1.10.1\FlowLauncher\app-1.16.1\Plugins\Steam-Search

   at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 291
   at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 296
   at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 311
   at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass22_0.<<QueryForPluginAsync>b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 194
--- End of stack trace from previous location ---
   at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func`1 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 193
   --- End of inner exception stack trace ---
   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 213
   at Flow.Launcher.ViewModel.MainViewModel.<>c__DisplayClass139_0.<<QueryResults>g__QueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 839
--- End of stack trace from previous location ---
   at Flow.Launcher.ViewModel.MainViewModel.QueryResults(Boolean isReQuery) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 850
   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)

@MaskedRPGFan
Copy link

Fix is simple, you can not change name of the FlowLaucher directory to sth different from FlowLaucher. Flox lib is bugged and depends on this name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants