beyond-all-reason / beyond-all-reason/BAR-Devtools
SPADS repeatedly fails to download game
- Dominant language
- Shell
- Stars
- 6
- Forks
- 7
- Avg merge
- 12h 58m
- Merged PRs (30d)
- 2
Description
"No game found for byar:test"
Some back and forth with an LLM suggests that maybe ` image: badosu/spads:latest ` has the spring pr-downloader and not the BAR custom pr-downloader... Or just we have some version of pr-downloader that is resistant to all suggested commandline flags to set the repo location to the bar repo location...
`export PRD_RAPID_REPO_MASTER="https://repos.beyondallreason.dev/repos.gz"` is what I tried...
So maybe we need to bake pr-downloader and spads using a dockerfile we know about, rather than just an image?
```
spads-1 | Downloading BAR game data (first run only)...
spads-1 | pr-downloader 0.7-611-ge4a613e (linux64)
spads-1 | [Info] /spring/tools/pr-downloader/src/FileSystem/FileSystem.cpp:188:setWritePath():Using filesystem-writepath: /spring-data
spads-1 | [Info] /spring/tools/pr-downloader/src/pr-downloader.cpp:178:DownloadSetConfig():Free disk space: 409711 MB
spads-1 | [Info] /spring/tools/pr-downloader/src/Downloader/CurlWrapper.cpp:66:DumpVersion():libcurl 7.73.0 OpenSSL/1.1.1i
spads-1 | [Warn] /spring/tools/pr-downloader/src/Downloader/CurlWrapper.cpp:42:GetTLSBackend():SSL backend warning/error (1)
spads-1 | [Info] /spring/tools/pr-downloader/src/Downloader/CurlWrapper.cpp:46:GetTLSBackend():SSL backend #0: 'openssl' (ID: 1)
spads-1 | [Progress] 100% [==============================] 436/436
spads-1 | [Info] /spring/tools/pr-downloader/src/Downloader/Rapid/RapidDownloader.cpp:192:ParseFD():Found 50 repos in /spring-data/rapid/repos.springrts.com/repos.gz
[Progress] 100% [==============================] 332/332 3 5 /0
spads-1 | [Error] /spring/tools/pr-downloader/src/main.cpp:196:main():No game found for byar:test
spads-1 | [Error] /spring/tools/pr-downloader/src/main.cpp:241:main():Error occurred while downloading: 1
spads-1 | WARNING: Game download failed. SPADS may not start properly.
```
Contributor guide
Research direction
Start by inspecting the Docker setup that launches `badosu/spads:latest` and reproduce the logged `pr-downloader` failure for `byar:test`, including the `PRD_RAPID_REPO_MASTER` setting. Done means SPADS downloads the BAR game data successfully and starts without the reported warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100