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

When fetching ... 'tput' is not reco... #1829

Closed
Garyfallidis opened this issue May 9, 2019 · 4 comments · Fixed by #1842

Comments

@Garyfallidis
Copy link
Member

commented May 9, 2019

operable program or batch file.
Download Progress: [--------------------] 1.84% of 304.72 MB'tput' is not recognized as an internal or external command,
operable program or batch file.
Download Progress: [--------------------] 1.84% of 304.72 MB'tput' is not recognized as an internal or external command,
operable program or batch file.
Download Progress: [--------------------] 1.85% of 304.72 MB'tput' is not recognized as an internal or external command,
operable program or batch file.
Download Progress: [---------------

To replicate just try

from dipy.data import fetcher
fetcher.fetch_bundle_atlashcp842()
@arokem

This comment has been minimized.

Copy link
Member

commented May 9, 2019

Annoying, but harmless, I think.

Someone was trying to be clever: https://github.com/nipy/dipy/blob/master/dipy/data/fetcher.py#L55, but if tput is not available, this will raise this error (presumably from the system call) and then go on to the except clause.

I would suggest getting rid of the try clause and always doing the fall-back option.

@Garyfallidis

This comment has been minimized.

Copy link
Member Author

commented May 22, 2019

Okay this still needs fixing. I have seen cases where the download never completes. Only saw this in Windows.

@Garyfallidis

This comment has been minimized.

Copy link
Member Author

commented May 22, 2019

Git blame suggests @skoudoro ... sorry.

@Garyfallidis

This comment has been minimized.

Copy link
Member Author

commented May 22, 2019

Probably not his fault but providing a fix asap. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.