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

Registry access error from app update notification #1722

Closed brunolorang closed 1 year ago

brunolorang commented 1 year ago

Flow Launcher version: 1.10.1 OS Version: Microsoft Windows NT 10.0.22623.0 IntPtr Length: 8 x64: True

Python Path: Date: 12/26/2022 20:16:10 Exception: System.InvalidOperationException: Failed initializing notifications ---> System.IO.IOException: Não é possível criar uma subchave estável em uma chave pai volátil. at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.CreateSubKeyInternalCore(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions) at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions) at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey) at Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat.Initialize() at Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat..cctor() --- End of inner exception stack trace --- at Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat.CreateToastNotifier() at Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder.Show(CustomizeToast customize) at Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder.Show() at Flow.Launcher.Notification.Show(String title, String subTitle, String iconPath) in C:\projects\flow-launcher\Flow.Launcher\Notification.cs:l 2022-12-26.txt ine 35 at Flow.Launcher.PublicAPIInstance.<>c__DisplayClass13_0.b0() in C:\projects\flow-launcher\Flow.Launcher\PublicAPIInstance.cs:line 97 at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout) at System.Windows.Threading.Dispatcher.Invoke(Action callback) at Flow.Launcher.PublicAPIInstance.ShowMsg(String title, String subTitle, String iconPath, Boolean useMainWindowAsOwner) in C:\projects\flow-launcher\Flow.Launcher\PublicAPIInstance.cs:line 95 at Flow.Launcher.PublicAPIInstance.ShowMsg(String title, String subTitle, String iconPath) in C:\projects\flow-launcher\Flow.Launcher\PublicAPIInstance.cs:line 91 at Flow.Launcher.Core.Updater.UpdateAppAsync(IPublicAPI api, Boolean silentUpdate) in C:\projects\flow-launcher\Flow.Launcher.Core\Updater.cs:line 40 at Flow.Launcher.ViewModel.SettingWindowViewModel.UpdateApp() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\SettingWindowViewModel.cs:line 71 at System.Threading.Tasks.Task.<>c.b128_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)

jjw24 commented 1 year ago

Error due to registry access denied. Looks like app is doing an update and tries to do a toast notification, not sure why it needs registry access though.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.

VictoriousRaptor commented 1 year ago

2073