config_explorer icon indicating copy to clipboard operation
config_explorer copied to clipboard

File cannot be extracted on Windows

Open tmontney opened this issue 5 years ago • 3 comments

File was uploaded but could not be extracted because the required application (tar/unzip) not found.

I've gotten this on Linux, where I installed unzip to fix the issue. On Windows, unzipping should be natively available, so I'm not sure why it can't extract.

tmontney avatar Nov 02 '20 15:11 tmontney

Yeah unfortunatly this feature requires you to use the Linux subsystem in Windows. You can enable it like so: https://docs.microsoft.com/en-au/windows/wsl/install-win10#enable-the-windows-subsystem-for-linux-feature-gui

You can also install cygwin.

ChrisYounger avatar Nov 02 '20 22:11 ChrisYounger

It looks like you're calling it through line 47, subprocess. Why not just use PowerShell's Expand-Archive or CMD and CreateObject("Scripting.FileSystemObject")?

tmontney avatar Nov 03 '20 22:11 tmontney

yeah that seems like a good idea. I don't have any experience with Powershell, but if you did want to send me the code to make this work that I can include it.

ChrisYounger avatar Nov 05 '20 10:11 ChrisYounger