-
Notifications
You must be signed in to change notification settings - Fork 12
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
Templates not loaded on Windows #89
Comments
We will need further information to understand the problem. What templates are affected? In all the cases was the download successful for Linux but wasn't for Windows? |
I think I can provide the necessary details here. I usually use linux without issue, but was trying to hack at a script in Windows and ran into this issue. It also popped up on neurostars. I was going to respond to that, but thought it would be more appropriate here. When I try to replicate the error at the neurostars post, I get this in my python console.
Note the correct forward slashes in the url up to right before the filename, where there's a backslash instead. I can open the .nii.gz file in a text editor and read the xml error about how the file was not found.
The .nii.gz file is no longer zero-length and won't get overwritten, even though it's not a nifti file. I just get errors when I try to access it with nibabel. I would say this is a bug in the templateflow code (probably because Windows is rarely used and it works fine on platforms using forward slashes?) at this line. When I manually execute the
correctly replaces the backslash. |
Should be resolved in 23.1.0. |
Hello,
we are using the templateflow python-client both on a Windows and Linux environment (WSL system) using anaconda with python 3.9. Whereas the WSL system loads the templates just fine, the templates are not loaded on the Windows environment (similar to templateflow/tpl-MNI152NLin2009cAsym#6). Initially, I thought this might be due to an erroneous SSL certificate (oftentimes the reason for issues at our institute), but both systems use the identical certificate. I tried both with and without the datalad option.
Thus, I would like to ask you whether there could be a problem with the windows system.
If you need any other information, please let me know!
Thanks a lot!
Christian
The text was updated successfully, but these errors were encountered: