Plugin fails to install if already downloaded
See original GitHub issueDescribe the bug/issue If the plugin zip is already downloaded, installing the plugin will fail. This can happen when python is required for the plugin but it is not found after the user enters its location. When the user puts the correct location of python and tries to install the plugin again, it fails.
To Reproduce Steps to reproduce the behavior:
- Install steam plugin
- Fail to locate python
- Restart flow launcher
- Locate python in Settings
- Install steam plugin
Your System
Windows build number: 22000.376
Flow Launcher version: 1.9.1
Flow Launcher Error Log
10:49:59.1102+00:00 - ERROR - PluginsManager.InstallOrUpdate - An error occured while downloading plugin
EXCEPTION OCCURS: System.IO.IOException: The file 'C:\Users\me\scoop\apps\flow-launcher\current\app-1.9.1\UserData\Plugins\Steam Search-3.0.4.zip' already exists.
at SafeFileHandle System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at SafeFileHandle System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at new System.IO.FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options) x 2
at async Task Flow.Launcher.Infrastructure.Http.Http.DownloadAsync(string url, string filePath, CancellationToken token) in C:/projects/flow-launcher/Flow.Launcher.Infrastructure/Http/Http.cs:line 96
at async Task Flow.Launcher.Plugin.PluginsManager.PluginsManager.InstallOrUpdate(UserPlugin plugin) in C:/projects/flow-launcher/Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs:line 154
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:13 (10 by maintainers)
Top Results From Across the Web
plugin installations are failing
plugin installations are failing · Download the ZIP file for the plugin from the Plugins Repository. · Navigate to Plugins > Add New....
Read more >How To Fix the “Installation Failed: Destination Folder ...
One of the most common reasons for this error is that the uploaded software is already installed on your website. If you're installing...
Read more >Trouble installing the plug-in?
Plug-in download fails · Click Tools > Internet Options. · Click the Security tab > Custom Level. · Scroll down to Downloads and...
Read more >How to Fix Installation Failed: Destination Folder Already ...
It usually happens when a previous attempt to install or uninstall a theme or a plugin has failed, leaving behind an empty destination...
Read more >Wordpress plugin install fail
Downloading install package from https://downloads.wordpress.org/plugin/types.1.8.11.zip… Unpacking the package… Installing the plugin… The ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We are planning to remove that 🤣. That’s too much.
I think we should fix both either? I have already finish the resource for windowssetting plugin.