Skip to content

cooked plugin (pls fix) #6

@ThrowTop

Description

@ThrowTop

happens whenever i do "z custom" it correctly finds and opens the folder in file explorer but flow launcher crashes for some reason.

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

  1. Upload log file: C:\Users\Throw\AppData\Roaming\FlowLauncher\Logs\1.20.2\2025-09-03.txt
  2. Copy below exception message

Flow Launcher version: 1.20.2
OS Version: 26100.4770
IntPtr Length: 8
x64: True

Python Path: C:\Users\Throw\AppData\Roaming\FlowLauncher\Environments\Python\PythonEmbeddable-v3.11.4\pythonw.exe
Node Path:

Date: 09/03/2025 16:54:52
Exception:
System.IO.InvalidDataException: Traceback (most recent call last):
File "C:\Users\Throw\AppData\Roaming\FlowLauncher\Plugins\ZoxidePy-1.2.0\lib\pyflowlauncher\event.py", line 46, in trigger_exception_handler
handler = self._handlers[exception.class]
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
KeyError: <class 'OSError'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 9, in
File "", line 291, in run_path
File "", line 98, in _run_module_code
File "", line 88, in _run_code
File "C:\Users\Throw\AppData\Roaming\FlowLauncher\Plugins\ZoxidePy-1.2.0\main.py", line 47, in
plugin.run()
File "C:\Users\Throw\AppData\Roaming\FlowLauncher\Plugins\ZoxidePy-1.2.0\lib\pyflowlauncher\plugin.py", line 76, in run
feedback = asyncio.run(self._event_handler.trigger_event(method, *parameters))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "asyncio\runners.py", line 190, in run
File "asyncio\runners.py", line 118, in run
File "asyncio\base_events.py", line 653, in run_until_complete
File "C:\Users\Throw\AppData\Roaming\FlowLauncher\Plugins\ZoxidePy-1.2.0\lib\pyflowlauncher\event.py", line 56, in trigger_event
return await self.trigger_exception_handler(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Throw\AppData\Roaming\FlowLauncher\Plugins\ZoxidePy-1.2.0\lib\pyflowlauncher\event.py", line 49, in trigger_exception_handler
raise exception
File "C:\Users\Throw\AppData\Roaming\FlowLauncher\Plugins\ZoxidePy-1.2.0\lib\pyflowlauncher\event.py", line 53, in trigger_event
result = self.get_event(event)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Throw\AppData\Roaming\FlowLauncher\Plugins\ZoxidePy-1.2.0\lib\pyflowlauncher\plugin.py", line 40, in wrapper
return method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Throw\AppData\Roaming\FlowLauncher\Plugins\ZoxidePy-1.2.0\main.py", line 33, in open_directory
zoxide.zoxide_add(path)
File "C:\Users\Throw\AppData\Roaming\FlowLauncher\Plugins\ZoxidePy-1.2.0\src\zoxide.py", line 46, in zoxide_add
result = subprocess.run(
^^^^^^^^^^^^^^^
File "subprocess.py", line 548, in run
File "subprocess.py", line 1026, in init
File "subprocess.py", line 1538, in _execute_child
OSError: [WinError 87] The parameter is incorrect

at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 226
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 226
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteResultAsync(JsonRPCResult result) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 95
at Flow.Launcher.Core.Plugin.JsonRPCPluginBase.<>c__DisplayClass16_0.<b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPluginBase.cs:line 72
--- End of stack trace from previous location ---
at Flow.Launcher.ViewModel.MainViewModel.OpenResultAsync(String index) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 459
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions