benchmark-launcher-cli-3.1.0-linux getting 404 when Choose a Blender version: 4.1.0 #101872

Open
opened 2024-03-29 01:48:20 +01:00 by Jaakan-Shorter · 1 comment

benchmark-launcher-cli-3.1.0-linux ( Same error with GUI/Linux )
Ubuntu 23.10 x86_64
Intel i5-12400F
Intel Arc A750 + Intel GPU Ubuntu Repo drivers ( updated as of today / Mar 28 2023 and GPU shows up in Blender 4.1 )
64GB of ram

benchmark-launcher-cli-3.1.0-linux getting 404 when Choose a Blender version: 4.1.0

$ ./benchmark-launcher-cli --verbosity 3
2024/03/29 00:21:20 metadata.go:14: Fetching Metadata: https://opendata.blender.org/benchmarks/metadata/
2024/03/29 00:21:21 metadata.go:49: Successfully fetched metadata
2024/03/29 00:21:21 metadata.go:71: Getting current launcher.
2024/03/29 00:21:21 checksum.go:16: Calculating checksum of current launcher.
2024/03/29 00:21:21 checksum.go:35: Launcher checksum: d2504fddc513b6b1ccbf18cb75aa381d21a543fe4662d790f24aa7275fa255e9.
? Choose a Blender version: 4.1.0

Will render scenes: monster, junkshop, classroom
? Download size will be 299 MB, continue? Yes
2024/03/29 00:21:24 download.go:52: Getting Blender version: 4.1.0
2024/03/29 00:21:24 download.go:60: Blender version not available locally, downloading.
2024/03/29 00:21:24 download.go:128: Removing Blender version: 4.1.0
2024/03/29 00:21:24 download.go:435: Downloading as '.tar'.
2024/03/29 00:21:24 download.go:436: URL: https://opendata.blender.org/cdn/Blender4.1/blender-4.1.0-linux-x64.tar.xz
2024/03/29 00:21:24 download.go:437: destinationDirectory: /home/XXXXXX/.cache/blender-benchmark-launcher/blender-versions/d2ac5390f4a9cb9416c8eb23bdd8fa8e49e68165a889575fd8f56563f5cccaf1
0 / 299117800 [] 0.00% ? p/s2024/03/29 00:21:25 download.go:128: Removing Blender version: 4.1.0
0 / 299117800 [] 0.00% ? p/s
ERROR: There was an error while downloading the requested files.
ERROR: download error: non-success status code returned: 404
benchmark-launcher-cli-3.1.0-linux ( Same error with GUI/Linux ) Ubuntu 23.10 x86_64 Intel i5-12400F Intel Arc A750 + Intel GPU Ubuntu Repo drivers ( updated as of today / Mar 28 2023 and GPU shows up in Blender 4.1 ) 64GB of ram benchmark-launcher-cli-3.1.0-linux getting 404 when Choose a Blender version: 4.1.0 $ ./benchmark-launcher-cli --verbosity 3 2024/03/29 00:21:20 metadata.go:14: Fetching Metadata: https://opendata.blender.org/benchmarks/metadata/ 2024/03/29 00:21:21 metadata.go:49: Successfully fetched metadata 2024/03/29 00:21:21 metadata.go:71: Getting current launcher. 2024/03/29 00:21:21 checksum.go:16: Calculating checksum of current launcher. 2024/03/29 00:21:21 checksum.go:35: Launcher checksum: d2504fddc513b6b1ccbf18cb75aa381d21a543fe4662d790f24aa7275fa255e9. ? Choose a Blender version: 4.1.0 Will render scenes: monster, junkshop, classroom ? Download size will be 299 MB, continue? Yes 2024/03/29 00:21:24 download.go:52: Getting Blender version: 4.1.0 2024/03/29 00:21:24 download.go:60: Blender version not available locally, downloading. 2024/03/29 00:21:24 download.go:128: Removing Blender version: 4.1.0 2024/03/29 00:21:24 download.go:435: Downloading as '.tar'. 2024/03/29 00:21:24 download.go:436: URL: https://opendata.blender.org/cdn/Blender4.1/blender-4.1.0-linux-x64.tar.xz 2024/03/29 00:21:24 download.go:437: destinationDirectory: /home/XXXXXX/.cache/blender-benchmark-launcher/blender-versions/d2ac5390f4a9cb9416c8eb23bdd8fa8e49e68165a889575fd8f56563f5cccaf1 0 / 299117800 [] 0.00% ? p/s2024/03/29 00:21:25 download.go:128: Removing Blender version: 4.1.0 0 / 299117800 [] 0.00% ? p/s ERROR: There was an error while downloading the requested files. ERROR: download error: non-success status code returned: 404

I see this as well. Looking at what's happening here, I see the following requests being made (along with the response codes - sniffed using HTTP Toolkit):

  1. GET https://opendata.blender.org/benchmarks/metadata (returns a 200)
  2. GET https://opendata.blender.org/cdn/Blender4.1/blender-4.1.0-linux-x64.tar.xz (returns a 301)
  3. GET https://mirrors.ocf.berkeley.edu/blender/release/Blender4.1/blender-4.1.0-linux-x64.tar.xz (returns a 404)

Looking at the URL in request #3, I see that the file is missing from that mirror.

There doesn't appear to be any way to specifically select a mirror or pre-download the package and put it somewhere so the benchmark program can just use it.

In my case, I have 4.1.0 installed through Steam, but it's not detected by the benchmark program, either, even if I put the executable's path in the system's path.

I see nothing of use in the log either:

$ cat benchmark-launcher.log 
2024/04/01 17:20:05 metadata.go:14: Fetching Metadata: https://opendata.blender.org/benchmarks/metadata/
2024/04/01 17:20:06 metadata.go:49: Successfully fetched metadata
2024/04/01 17:20:06 metadata.go:71: Getting current launcher.
2024/04/01 17:20:06 checksum.go:16: Calculating checksum of current launcher.
2024/04/01 17:20:06 checksum.go:35: Launcher checksum: d2504fddc513b6b1ccbf18cb75aa381d21a543fe4662d790f24aa7275fa255e9.
2024/04/01 17:20:07 download.go:52: Getting Blender version: 4.1.0
2024/04/01 17:20:07 download.go:60: Blender version not available locally, downloading.
2024/04/01 17:20:07 download.go:128: Removing Blender version: 4.1.0
2024/04/01 17:20:07 download.go:435: Downloading as '.tar'.
2024/04/01 17:20:07 download.go:436: URL: https://opendata.blender.org/cdn/Blender4.1/blender-4.1.0-linux-x64.tar.xz
2024/04/01 17:20:07 download.go:437: destinationDirectory: /home/USERNAME/.cache/blender-benchmark-launcher/blender-versions/d2ac5390f4a9cb9416c8eb23bdd8fa8e49e68165a889575fd8f56563f5cccaf1
2024/04/01 17:20:08 download.go:128: Removing Blender version: 4.1.0
ERROR: There was an error while downloading the requested files.
ERROR: download error: non-success status code returned: 404

I tried creating the directory noted here and putting the tar.xz file in that directory, and the script just deleted the directory and its contents. Same with unpacking Blender 4.1.0 to that directory (which, looking at what happens when I select 4.0.0, is what should work).

The GUI tool just exits with an error, but it seems the issue is that the mirror that's automatically selected doesn't have the file, and there's no way to override it, and no fallback if the file isn't found to a different mirror.

ETA: I was able to work around this by doing the following (I'm on Linux, so if you're not, you may need to adjust this to fit your filesystem structure):

  1. Download the 4.1.0 release of blender separately.
  2. Create a directory called d2ac5390f4a9cb9416c8eb23bdd8fa8e49e68165a889575fd8f56563f5cccaf1 in /home/USERNAME/.cache/blender-benchmark-launcher/blender-versions/ (the filename comes from the log file)
  3. Extract the blender 4.1.0 distrubtion into that directory.
  4. Create a 0-byte file called valid.launcher in that directory. (I used touch)

Then run benchmark-launcher-cli and it'll detect the Blender 4.1.0 installation is present.

I see this as well. Looking at what's happening here, I see the following requests being made (along with the response codes - sniffed using HTTP Toolkit): 1. GET https://opendata.blender.org/benchmarks/metadata (returns a 200) 2. GET https://opendata.blender.org/cdn/Blender4.1/blender-4.1.0-linux-x64.tar.xz (returns a 301) 3. GET https://mirrors.ocf.berkeley.edu/blender/release/Blender4.1/blender-4.1.0-linux-x64.tar.xz (returns a 404) Looking at the URL in request #3, I see that the file is missing from that mirror. There doesn't appear to be any way to specifically select a mirror or pre-download the package and put it somewhere so the benchmark program can just use it. In my case, I have 4.1.0 installed through Steam, but it's not detected by the benchmark program, either, even if I put the executable's path in the system's path. I see nothing of use in the log either: ``` $ cat benchmark-launcher.log 2024/04/01 17:20:05 metadata.go:14: Fetching Metadata: https://opendata.blender.org/benchmarks/metadata/ 2024/04/01 17:20:06 metadata.go:49: Successfully fetched metadata 2024/04/01 17:20:06 metadata.go:71: Getting current launcher. 2024/04/01 17:20:06 checksum.go:16: Calculating checksum of current launcher. 2024/04/01 17:20:06 checksum.go:35: Launcher checksum: d2504fddc513b6b1ccbf18cb75aa381d21a543fe4662d790f24aa7275fa255e9. 2024/04/01 17:20:07 download.go:52: Getting Blender version: 4.1.0 2024/04/01 17:20:07 download.go:60: Blender version not available locally, downloading. 2024/04/01 17:20:07 download.go:128: Removing Blender version: 4.1.0 2024/04/01 17:20:07 download.go:435: Downloading as '.tar'. 2024/04/01 17:20:07 download.go:436: URL: https://opendata.blender.org/cdn/Blender4.1/blender-4.1.0-linux-x64.tar.xz 2024/04/01 17:20:07 download.go:437: destinationDirectory: /home/USERNAME/.cache/blender-benchmark-launcher/blender-versions/d2ac5390f4a9cb9416c8eb23bdd8fa8e49e68165a889575fd8f56563f5cccaf1 2024/04/01 17:20:08 download.go:128: Removing Blender version: 4.1.0 ERROR: There was an error while downloading the requested files. ERROR: download error: non-success status code returned: 404 ``` I tried creating the directory noted here and putting the tar.xz file in that directory, and the script just deleted the directory and its contents. Same with unpacking Blender 4.1.0 to that directory (which, looking at what happens when I select 4.0.0, is what should work). The GUI tool just exits with an error, but it seems the issue is that the mirror that's automatically selected doesn't have the file, and there's no way to override it, and no fallback if the file isn't found to a different mirror. ETA: I was able to work around this by doing the following (I'm on Linux, so if you're not, you may need to adjust this to fit your filesystem structure): 1. Download the 4.1.0 release of blender separately. 2. Create a directory called `d2ac5390f4a9cb9416c8eb23bdd8fa8e49e68165a889575fd8f56563f5cccaf1` in `/home/USERNAME/.cache/blender-benchmark-launcher/blender-versions/` (the filename comes from the log file) 3. Extract the blender 4.1.0 distrubtion into that directory. 4. Create a 0-byte file called `valid.launcher` in that directory. (I used `touch`) Then run `benchmark-launcher-cli` and it'll detect the Blender 4.1.0 installation is present.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/blender-open-data#101872
No description provided.