Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Bug]: scoop fails to download winpython with aria2 #6198

Open
3 tasks done
NicolasReyrolle opened this issue Sep 20, 2024 · 0 comments
Open
3 tasks done

[Bug]: scoop fails to download winpython with aria2 #6198

NicolasReyrolle opened this issue Sep 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@NicolasReyrolle
Copy link

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

winpython

Expected/Current Behaviour

scoop fails to download winpython with aria2

Steps to Reproduce

PS C:\Users\*****> scoop install winpython
Installing 'winpython' (3.12.4.1) [64bit] from 'main' bucket
Starting download with aria2 ...
Download: 09/20 14:18:50 [ERROR] CUID#9 - Download aborted. URI=https://downloads.sourceforge.net/project/winpython/WinPDownload: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://deac-fra.dl.sourceforge.net/project/winpython/WinPDownload:   -> [HttpResponse.cc:81] errorCode=8 Invalid range header. Request: 447463424-504365055/906901445, Response: Download: 09/20 14:18:52 [ERROR] CUID#10 - Download aborted. URI=https://downloads.sourceforge.net/project/winpython/WinDownload: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://kumisystems.dl.sourceforge.net/project/winpython/WDownload:   -> [HttpResponse.cc:81] errorCode=8 Invalid range header. Request: 677380096-792723455/906901445, Response: Download: 09/20 14:18:53 [ERROR] CUID#12 - Download aborted. URI=https://downloads.sourceforge.net/project/winpython/WinDownload: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://unlimited.dl.sourceforge.net/project/winpython/WinDownload:   -> [HttpResponse.cc:81] errorCode=8 Invalid range header. Request: 735051776-906901444/906901445, Response: Download: 09/20 14:18:55 [ERROR] CUID#11 - Download aborted. URI=https://downloads.sourceforge.net/project/winpython/WinDownload: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://kumisystems.dl.sourceforge.net/project/winpython/WDownload:   -> [HttpResponse.cc:81] errorCode=8 Invalid range header. Request: 705691648-906901444/906901445, Response: Download: 09/20 14:18:57 [ERROR] CUID#13 - Download aborted. URI=https://downloads.sourceforge.net/project/winpython/WinDownload: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://kumisystems.dl.sourceforge.net/project/winpython/WDownload:   -> [HttpResponse.cc:81] errorCode=8 Invalid range header. Request: 447463424-906901444/906901445, Response: Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: e3b700|ERR |       0B/s|C:/Users/*****/scoop/cache/winpython#3.12.4.1#97c7cec.7z
Download: Status Legend:
Download: (ERR):error occurred.
Download: aria2 will resume download if the transfer is restarted.
Download: If there are any errors, then see the log file. See '-l' option in help/man page for details.

ERROR Download failed! (Error 8) Remote server did not support resume when resume was required to complete download
ERROR https://downloads.sourceforge.net/project/winpython/WinPython_3.12/3.12.4.1/Winpython64-3.12.4.1.exe#/dl.7z
    dir=C:\Users\******\scoop\cache
    out=winpython#3.12.4.1#97c7cec.7z

ERROR & 'C:\Users\*****\scoop\apps\aria2\current\aria2c.exe' --input-file='C:\Users\******\scoop\cache\winpython.txt' --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/5.1 (Windows NT 10.0; Win64; x64; Desktop)' --allow-overwrite=true --auto-file-renaming=false --retry-wait=2 --split=5 --max-connection-per-server=5 --min-split-size=5M --console-log-level=warn --enable-color=false --no-conf=true --follow-metalink=true --metalink-preferred-protocol=https --min-tls-version=TLSv1.2 --stop-with-process=33560 --continue --summary-interval=0 --auto-save-interval=1

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=winpython%403.12.4.1%3a+download+via+aria2+failed

Possible Solution

No idea. Disabling aria2 should make it, but that is not really a solution

Scoop and Buckets Version

PS> scoop --version
Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
5398c4935 (HEAD -> master, origin/master, origin/HEAD) terragrunt: Update to version 0.67.10

'extras' bucket:
f3eed441e (HEAD -> master, origin/master, origin/HEAD) [email protected]: Fix hash (Closes #14061)

'java' bucket:
36087be9 (HEAD -> master, origin/master, origin/HEAD) temurin17-nightly-jre: Update to version 17.0.13-8.0.ea

Scoop Config

> scoop config


last_update           : 2024-09-20T14:11:05.4457866+02:00
scoop_branch          : master
scoop_repo            : https://github.com/ScoopInstaller/Scoop
virustotal_api_key    : d700d41bd91d563303db0355f43b45e5a4e6907df388054dc41bc42ec0a0410e
aria2-warning-enabled : False

PowerShell Version

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.22621.4111
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.4111
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

No response

@NicolasReyrolle NicolasReyrolle added the bug Something isn't working label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant