Flow.Launcher icon indicating copy to clipboard operation
Flow.Launcher copied to clipboard

BUG: UnauthorizedAccessException for Cache Files

Open VelonWoo opened this issue 6 months ago • 1 comments

Checks

  • [ ] 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

Flow Launcher version: 1.20.0 OS Version: 22631.4751 IntPtr Length: 8 x64: True

Python Path: Node Path:

Date: 06/12/2025 20:26:20 Exception: System.UnauthorizedAccessException: Access to the path 'D:\Program Files\FlowLauncher\app-1.20.0\UserData\Cache\Image.cache' is denied. at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) at System.IO.FileStream..ctor(String path, FileMode mode) at Flow.Launcher.Infrastructure.Storage.BinaryStorage1.TryLoadAsync(T defaultData) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Storage\BinaryStorage.cs:line 69 at Flow.Launcher.Infrastructure.Image.ImageLoader.LoadStorageToConcurrentDictionaryAsync() in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Image\ImageLoader.cs:line 98 at Flow.Launcher.Infrastructure.Image.ImageLoader.InitializeAsync() in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Image\ImageLoader.cs:line 42 at Flow.Launcher.App.<OnStartup>b__14_0() in C:\projects\flow-launcher\Flow.Launcher\App.xaml.cs:line 199 at Flow.Launcher.Infrastructure.Stopwatch.InfoAsync(String className, String message, Func`1 action, String methodName) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 53 at Flow.Launcher.App.OnStartup(Object sender, StartupEventArgs e) in C:\projects\flow-launcher\Flow.Launcher\App.xaml.cs:line 161 at System.Threading.Tasks.Task.<>c.<ThrowAsync>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)

To Reproduce

  1. ...
  2. ...
  3. ...

Screenshots

No response

Flow Launcher Version

1.20.0

Windows Build Number

10.0.22631.4751

Error Log

2025-06-12.txt

VelonWoo avatar Jun 12 '25 12:06 VelonWoo

Please check your privilege for file D:\Program Files\FlowLauncher\app-1.20.0\UserData\Cache\Image.cache

Look like we need administrator rights for this file

Jack251970 avatar Jun 12 '25 12:06 Jack251970

@VelonWoo Hi, could you please check if this issue can be resolved?

Jack251970 avatar Jul 16 '25 12:07 Jack251970

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh

github-actions[bot] avatar Sep 15 '25 02:09 github-actions[bot]