Flow-Launcher / Flow.Launcher

:mag: Quick file search & app launcher for Windows with community-made plugins
https://flowlauncher.com
MIT License
7.91k stars 308 forks source link

File manager by files-community / Files set to default and it doesnt work #1160

Closed ultra-black closed 2 years ago

ultra-black commented 2 years ago

Describe the bug/issue Whenever you try and use the file manager Files It says Errorr

To Reproduce Steps to reproduce the behavior:

  1. Go settings
  2. Set to it to files (profile )and click done
  3. Open a folder it would crash

Screenshots If applicable, add screenshots to help explain your problem.

Your System

Windows build number: Microsoft Windows [Version 10.0.19044.1645]
Flow Launcher version: 1.9.3

Flow Launcher Error Log Please open new issue in: https://github.com/Flow-Launcher/Flow.Launcher/issues/new

  1. upload log file: C:\Users\darea\AppData\Roaming\FlowLauncher\Logs\1.9.3\2022-04-29.txt
  2. copy below exception message

Flow Launcher version: 1.9.3 OS Version: Microsoft Windows NT 10.0.19044.0 IntPtr Length: 8 x64: True

Python Path: Date: 04/29/2022 21:26:59 Exception: System.ComponentModel.Win32Exception (2): The system cannot find the file specified. at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at Flow.Launcher.PublicAPIInstance.OpenDirectory(String DirectoryPath, String FileName) in C:\projects\flow-launcher\Flow.Launcher\PublicAPIInstance.cs:line 209 at Flow.Launcher.Plugin.Explorer.Search.ResultManager.<>c__DisplayClass8_0.b0(ActionContext c) in C:\projects\flow-launcher\Plugins\Flow.Launcher.Plugin.Explorer\Search\ResultManager.cs:line 117 at Flow.Launcher.ViewModel.MainViewModel.b19_9(Object index) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 207 at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs) at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled) at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers) at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param) 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)

PS: I know I missed doing something, I think it is setting the path for it, however I have no idea how since its in the application folder. Which I cant find out how to get the path out of it.

ultra-black commented 2 years ago

chrome_L5CHqp3m4Z

taooceros commented 2 years ago

It doesn't work for all path?

taooceros commented 2 years ago

image Could you check whether this is on?

ultra-black commented 2 years ago

Im on windows 10, I cant find this.

taooceros commented 2 years ago

win10 has the same setting. Try to find it under apps

ultra-black commented 2 years ago

ApplicationFrameHost_2DBC4Xxljm Well yeah.

taooceros commented 2 years ago

I can't reproduce though. Could you open a cmd and check whether you can open files by typing files?

ultra-black commented 2 years ago

Whats the command, I just switched from macos to windows

taooceros commented 2 years ago

Open Command Prompt, and type files, and check whether files is opened. image

ultra-black commented 2 years ago

cmd_hDYh6ilzA9

taooceros commented 2 years ago

I guess you can try restarting computer or switch on and off that setting option. It's not flow's issue but probably windows issue.

ultra-black commented 2 years ago

Doesnt work

taooceros commented 2 years ago

I don't have a lot of ways to help you with that. check this link. Probably it helps https://superuser.com/questions/1568956/windows-10-app-aliases-not-working

ultra-black commented 2 years ago

Thank you so much, that works.