Flow-Launcher / Flow-Launcher/Flow.Launcher
BUG: Won't run pythron
- Dominant language
- C#
- Stars
- 15.6k
- Forks
- 644
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 4
Description
### Checks
- [x] I have checked that this issue has not already been reported.
- [x] I am using the latest version of Flow Launcher.
- [ ] I am using the prerelease version of Flow Launcher.
### Problem Description
This code says failed!
import sys
import json
from flowlauncher import FlowLauncher
def main():
query_raw = sys.argv[1] if len(sys.argv) > 1 else ""
results = [{
"Title": "✅ Test Plugin Triggered",
"SubTitle": f"You typed: {query_raw}",
"IcoPath": "icon.png",
"JsonRPCAction": {
"method": "flow.launch",
"parameters": ["https://www.flowlauncher.com"],
"dontHideAfterAction": False
}
}]
print(json.dumps(results))
if __name__ == "__main__":
main()
### To Reproduce
1. ...
2. ...
3. ...
### Screenshots
_No response_
### Flow Launcher Version
1.20.2
### Windows Build Number
10.0.26100.4652
### Error Log
```shell
Flow Launcher version: 1.20.2
OS Version: 26100.4652
IntPtr Length: 8
x64: True
Python Path: C:\Users\kevin\AppData\Local\Programs\Python\Python313\pythonw.exe
Node Path:
Date: 07/15/2025 17:49:43
Exception:
System.UriFormatException: Invalid URI: The URI is empty.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
at System.Uri..ctor(String uriString)
at Flow.Launcher.ReportWindow.Hyperlink(String textBeforeUrl, String url) in C:\projects\flow-launcher\Flow.Launcher\ReportWindow.xaml.cs:line 81
at Flow.Launcher.ReportWindow.SetException(Exception exception) in C:\projects\flow-launcher\Flow.Launcher\ReportWindow.xaml.cs:line 51
at Flow.Launcher.ReportWindow..ctor(Exception exception) in C:\projects\flow-launcher\Flow.Launcher\ReportWindow.xaml.cs:line 22
at Flow.Launcher.Helper.ErrorReporting.Report(Exception e, Boolean silent, String methodName) in C:\projects\flow-launcher\Flow.Launcher\Helper\ErrorReporting.cs:line 19
at Flow.Launcher.Helper.ErrorReporting.DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e) in C:\projects\flow-launcher\Flow.Launcher\Helper\ErrorReporting.cs:line 32
at System.Windows.Threading.Dispatcher.CatchException(Exception e)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
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)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.