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

couldn't download neurodesk-freesurfer--8.0.0.simg #913

Open
yibeichan opened this issue Mar 10, 2025 · 4 comments
Open

couldn't download neurodesk-freesurfer--8.0.0.simg #913

yibeichan opened this issue Mar 10, 2025 · 4 comments

Comments

@yibeichan
Copy link

Hi,

I'm trying to use neurodesk-freesurfer--8.0.0.simg from here via datalad.

here is my command

datalad run -m "Freeze neurodesk freesurfer container version" \
  code/containers/scripts/freeze_versions --save-dataset=. neurodesk-freesurfer=8.0.0

datalad containers-run \
    --explicit \
    -n neurodesk-freesurfer \
    --input "${SUBJECT_INPUT}" \
    --output "${SUBJECT_OUTPUT}" \
    '{inputs}' '{outputs}' participant \
    --participant_label "${SUBJECT_ID##*-}" \
    -w "workdir/${SUBJECT_ID}"

but then I get the following error

[https://d15yxasja65rk8.cloudfront.net/freesurfer_8.0.0_20250127.simg download failed: Forbidden
downloading from all 1 known url(s) failed
https://d15yxasja65rk8.cloudfront.net/freesurfer_8.0.0_20250127.simg download failed: Forbidden
downloading from all 1 known url(s) failed
https://d15yxasja65rk8.cloudfront.net/freesurfer_8.0.0_20250127.simg download failed: Forbidden
downloading from all 1 known url(s) failed]

If I directly do wget https://d15yxasja65rk8.cloudfront.net/freesurfer_8.0.0_20250127.simg, it fails too.

The above error appears on a cluster (Rocky 8); the same error also occurs on my laptop (MacOS, intel).

Thank you!

@stebo85
Copy link
Contributor

stebo85 commented Mar 10, 2025

i am looking into it

@stebo85
Copy link
Contributor

stebo85 commented Mar 10, 2025

freesurfer_8.0.0_20250127.simg had a bug and is deactivated. You need to use the latest release, which is freesurfer_8.0.0_20250210.

wget https://d15yxasja65rk8.cloudfront.net/freesurfer_8.0.0_20250210.simg

@stebo85 stebo85 closed this as completed Mar 10, 2025
@github-project-automation github-project-automation bot moved this from New to Completed in NeuroDesk Mar 10, 2025
@stebo85
Copy link
Contributor

stebo85 commented Mar 10, 2025

@yarikoptic - do you see a reason why the datalad repository is not updating when we push a new release?

I guess it's because it's technically the same version of freesurfer (8.0.0) - we had to rebuild it because it was missing libraries. Any idea how we could update these in datalad in a clean way?

@stebo85 stebo85 reopened this Mar 10, 2025
@github-project-automation github-project-automation bot moved this from Completed to New in NeuroDesk Mar 10, 2025
@yarikoptic
Copy link
Contributor

ATM we are not verifying anyhow that URLs changed and we skip an image if already has image known: https://github.com/ReproNim/containers/blob/master/scripts/create_singularities#L167 .

Do you think we should strive in general keep the list of registered URLs "in sync"? ATM we have hardcoded location -- https://d15yxasja65rk8.cloudfront.net so we would then filter/manage only URLs which start with that , and add new/remove new and remove no longer valid. Right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New
Development

No branches or pull requests

3 participants