Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Failed to extract files #83

Closed
CodisRedding opened this issue Mar 21, 2014 · 8 comments
Closed

Failed to extract files #83

CodisRedding opened this issue Mar 21, 2014 · 8 comments

Comments

@CodisRedding
Copy link

I'm following your instructs to install the solarized theme, but i'm running into issues

PS C:\Users\Rocky Assad> scoop install 7zip
installing 7zip (9.20)
loading http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920-x64.msi from cache...
checking hash...ok
extracting...exit code was 1639
failed to extract files from C:\Users\Rocky Assad\appdata\local\scoop\apps\7zip\9.20\7z920-x64.msi
@ntwb
Copy link
Contributor

ntwb commented Mar 21, 2014

Hmmm... Just updating 7z to 9.22 I don't get that error:

C:\Users\Stephen\Dev\scoop [master +2 ~1 -0 !]PS>scoop uninstall 7zip
uninstalling 7zip (9.20)
removing shim for 7z
7zip was uninstalled
C:\Users\Stephen\Dev\scoop [master +2 ~1 -0 !]PS>scoop install C:\Users\Stephen\dev\scoop\bucket\7zip.json
installing 7zip (9.22)
downloading http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.22/7z922-x64.msi...done
checking hash...ok
extracting...done
creating shim for 7z
7zip (9.22) was installed successfully!

@ntwb ntwb mentioned this issue Mar 21, 2014
@lukesampson
Copy link
Member

Sorry about my previous (deleted) message, I accidentally hit enter.

1639 is an invalid command line, so maybe there are some unexpected characters in the path that Scoop's trying to use.

Can you please try extracting the MSI manually with these commands which will hopefully log information about what went wrong:

mkdir test
msiexec /a (resolve-path "~\appdata\local\scoop\cache\7zip#9.20#http_downloads.sourceforge.net_project_sevenzip_7-zip_9.20_7z920-x64.msi") TARGETDIR="$pwd\test" /log debug.txt

This will leave a test directory and a debug.txt file in the directory you run it from. If you can post the debug.txt file here that'd be great (and delete the test directory too).

@lukesampson
Copy link
Member

@ntwb I don't think it's the 9.20 version that's the problem—it still works fine for me, and the hash check passes so it's the right file.

@CodisRedding
Copy link
Author

@lukesampson I did what you wrote, but the debug.txt file wasn't ever created.

@CodisRedding
Copy link
Author

This Windows Installer app pops up everytime I run the command.

@lukesampson
Copy link
Member

Oh thanks. I should have spotted it earlier—it wasn't handling the space in your user path properly. This should be fixed now if you run scoop update; scoop uninstall 7zip; scoop install 7zip.

I couldn't find any other similar problems with the space after some quick tests, but if you find any more please let us know!

Thanks 😄

@CodisRedding
Copy link
Author

wonderful, fixed! ty

@lukesampson
Copy link
Member

Cool 😄

@ScoopInstaller ScoopInstaller locked as resolved and limited conversation to collaborators Apr 24, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants