Open heldheld opened 1 year ago
I think I see the issue. Please try using Python 3.8 and see if your issue goes away.
I think I see the issue. Please try using Python 3.8 and see if your issue goes away.
Now it does work! So this plugin doesn't support later versions of Python?
The plugin does. But requests (a library uses in this plugin) does not support multiple versions of python when pre-packaged.
Edit: I'll have a fix for this when I have more time.
Same here;
Please open new issue in: https://github.com/Garulf/github-notifications/issues/new
Flow Launcher version: 1.11.0 OS Version: Microsoft Windows NT 10.0.22623.0 IntPtr Length: 8 x64: True
Python Path: C:\Users\Anwender\AppData\Local\Programs\Python\Python38\pythonw.exe
Node Path:
Date: 01/19/2023 13:51:35
Exception:
Github Notifications Exception:
Websites: https://github.com/Garulf/github-notifications
Author: Garulf
Version: 3.0.12
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: An error occurred trying to start process 'C:\Users\Anwender\AppData\Local\Programs\Python\Python39\pythonw.exe' with working directory 'C:\Users\Anwender\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.12'. Das System kann die angegebene Datei nicht finden.
---> System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'C:\Users\Anwender\AppData\Local\Programs\Python\Python39\pythonw.exe' with working directory 'C:\Users\Anwender\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.12'. Das System kann die angegebene Datei nicht finden.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 247
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 307
at Flow.Launcher.Core.Plugin.PluginManager.<>cDisplayClass22_0.<
Running on Python 3.8 though.
@Dultus your error looks to be some issue with Flow Launcher not being able to run Python or access the pythonw.exe.
According to the logs the plugin was never even started. Please make sure Flow Launcher has the proper permissions to run Python.
Alternatively you could try and let Flow use it's own embedded Python.
You can force Flow to download and use it's embedded Python by first clearing the Pythn path and restarting Flow.
Flow Launcher got an error
` Please open new issue in: https://github.com/Garulf/github-notifications/issues/new
Flow Launcher version: 1.11.0 OS Version: Microsoft Windows NT 10.0.19045.0 IntPtr Length: 8 x64: True
Python Path: C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310\pythonw.exe Node Path: C:\Program Files\nodejs\node.exe Date: 01/04/2023 17:08:24 Exception: Github Notifications Exception: Websites: https://github.com/Garulf/github-notifications Author: Garulf Version: 3.0.11 Flow.Launcher.Core.ExternalPlugins.FlowPluginException: Traceback (most recent call last): File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\run.py", line 9, in
from plugin.main import GithubNotifications
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\plugin\main.py", line 4, in
from github import Github
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\github__init.py", line 56, in
from github.MainClass import Github, GithubIntegration
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\github\MainClass.py", line 59, in
import github.Event
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\github\Event.py", line 32, in
import github.NamedUser
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\github\NamedUser.py", line 44, in
import github.Organization
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\github\Organization.py", line 50, in
import github.Repository
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\github\Repository.py", line 128, in
import github.PublicKey
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\github\PublicKey.py", line 34, in
from nacl import encoding, public
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\nacl\public.py", line 16, in
import nacl.bindings
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\nacl\bindings\ init__.py", line 16, in
from nacl.bindings.crypto_aead import (
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\nacl\bindings\crypto_aead.py", line 17, in
from nacl._sodium import ffi, lib
ModuleNotFoundError: No module named '_cffi_backend'
---> System.IO.InvalidDataException: Traceback (most recent call last): File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\run.py", line 9, in
from plugin.main import GithubNotifications
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\plugin\main.py", line 4, in
from github import Github
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\github__init.py", line 56, in
from github.MainClass import Github, GithubIntegration
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\github\MainClass.py", line 59, in
import github.Event
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\github\Event.py", line 32, in
import github.NamedUser
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\github\NamedUser.py", line 44, in
import github.Organization
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\github\Organization.py", line 50, in
import github.Repository
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\github\Repository.py", line 128, in
import github.PublicKey
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\github\PublicKey.py", line 34, in
from nacl import encoding, public
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\nacl\public.py", line 16, in
import nacl.bindings
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\nacl\bindings\ init__.py", line 16, in
from nacl.bindings.crypto_aead import (
File "C:\Users\Gebruiker\AppData\Roaming\FlowLauncher\Plugins\Github Notifications-3.0.11\lib\nacl\bindings\crypto_aead.py", line 17, in
from nacl._sodium import ffi, lib
ModuleNotFoundError: No module named '_cffi_backend'
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 287 at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 292 at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 307 at Flow.Launcher.Core.Plugin.PluginManager.<>cDisplayClass22_0.<b0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 191
--- 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 40
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 190
--- 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 210
at Flow.Launcher.ViewModel.MainViewModel.<>cDisplayClass135_0.<g QueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 821
--- End of stack trace from previous location ---
at Flow.Launcher.ViewModel.MainViewModel.QueryResults() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 785
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)
`