openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.98k stars 2.55k forks source link

Failed to download openFrameworksLibs_bleeding_vs_*.zip #8116

Open NEIL-smtg opened 2 months ago

NEIL-smtg commented 2 months ago

Recently, while building openFrameworks from source, the script scripts/vs/download_libs.sh failed to download openFrameworksLibs_bleedingvs*.zip.

Output

 openFrameworks download_libs.sh v2.5.0
 -----
 [openFrameworks downloader v4.3.2] ...
 [downloader] Invalid URL: [1]
 [downloader] enabled brotli/zlib losslesss compression response

As I tried adding echo "File entering validate_url: $1" into downloader.sh (line 29), I get the following error:

 openFrameworks download_libs.sh v2.5.0
 -----
 [openFrameworks downloader v4.3.2] ...
File entering validate_url: https://github.com/openframeworks/apothecary/releases/download/bleeding/openFrameworksLibs_bleeding_vs_64_1.zip
File entering validate_url: https://github.com/openframeworks/apothecary/releases/download/bleeding/openFrameworksLibs_bleeding_vs_64_2.zip
File entering validate_url: https://github.com/openframeworks/apothecary/releases/download/bleeding/openFrameworksLibs_bleeding_vs_arm64_1.zip
File entering validate_url: https://github.com/openframeworks/apothecary/releases/download/bleeding/openFrameworksLibs_bleeding_vs_arm64_2.zip
File entering validate_url: https://github.com/openframeworks/apothecary/releases/download/bleeding/openFrameworksLibs_bleeding_vs_arm64ec_1.zip
File entering validate_url: https://github.com/openframeworks/apothecary/releases/download/bleeding/openFrameworksLibs_bleeding_vs_arm64ec_2.zip
File entering validate_url: 1
  [downloader] Invalid URL: [1]
  [downloader] enabled brotli/zlib losslesss compression response
File entering validate_url: https://github.com/openframeworks/apothecary/releases/download/bleeding/openFrameworksLibs_bleeding_vs_64_1.zip

I'm not sure why the script is passing '1' as argument to downloader.sh.

Reproduce step:

  1. git clone https://github.com/openframeworks/openFrameworks.git
  2. cd openframeworks\openFrameworks
  3. "C:\Program Files\Git\bin\sh.exe" ./scripts/vs/download_libs.sh -p vs --silent 2>&1