ScoopInstaller / Main

📦 The default bucket for Scoop.
https://scoop.sh
The Unlicense
1.54k stars 919 forks source link

python@3.12.3: decompress error #5834

Open caitlynrw opened 1 month ago

caitlynrw commented 1 month ago

Hiya, Just having this error, looks related to #83 from years ago, I've tried updating Scoop and reinstalling the package but to no avail.

This is a bit of a messy Windows install to be fair, I installed Atlas at one point then tried to do an in-place reinstall over the top to revert some of the behaviors I didn't like.

The log file it suggests I look at doesn't exist

PS C:\Users\Caitlyn Williams> scoop install python >> pylog
. : The term 'C:\Users\Caitlyn Williams\scoop\apps\scoop\current\libexec\..\lib\autoupdate.ps1' is not recognized as
the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At C:\Users\Caitlyn Williams\scoop\apps\scoop\current\libexec\scoop-install.ps1:26 char:3
+ . "$PSScriptRoot\..\lib\autoupdate.ps1" # 'generate_user_manifest' (i ...
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Caitly...\autoupdate.ps1:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

WARN  Purging previous failed installation of python.
ERROR 'python' isn't installed correctly.
Removing older version (3.12.3).
'python' was uninstalled.
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Loading python-3.12.3-amd64.exe from cache.
Checking hash of python-3.12.3-amd64.exe ... ok.
ERROR Exit code was 1639!
Failed to extract files from C:\Users\Caitlyn Williams\scoop\apps\python\3.12.3\_tmp\AttachedContainer\core.msi.
Log file:
  ~\scoop\apps\python\3.12.3\_tmp\AttachedContainer\msi.log

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Main/issues/new?title=python%403.12.3%3a+decompress+error
niheaven commented 1 month ago

Run scoop config use_lessmsi true and try again.