-
Notifications
You must be signed in to change notification settings - Fork 304
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
Fix downloading files in windows #330
base: main
Are you sure you want to change the base?
Conversation
Thanks!
As I said before, did you try simply changing "multiprocessing.Pool" to
"multiprocessing.dummy.Pool"? I know that multiprocessing is messy and
best avoided here, but multiprocessing.dummy should not have the same
drawbacks (it has other drawbacks instead.)
If multiprocessing.dummy.Pool doesn't work for you either, that's a
bigger problem and something I'd like to try to understand.
|
I think we can merge in this change after the requested changes are made. It seems useful in general. Let's figure out #306 separately. |
1 similar comment
I think we can merge in this change after the requested changes are made. It seems useful in general. Let's figure out #306 separately. |
If we do want to make parallel downloads optional, I'd say the name of the argument should be I'm not opposed to adding that option, I just don't want to add the option solely to avoid a known bug in the package, instead of just fixing the bug. I also don't understand this change, which seems unrelated:
I think this is probably a mistake, we do want to request a path ending in slash (the path with the slash is the "real" URL, without the slash is a redirection.) I don't remember off the top of my head if check_access=True will treat a redirected URL as valid or not. |
Yes, let's set the param name to And I agree that this change isn't meant as a way to avoid solving the actual issue. |
Adding a small change to make optional the use of multiple threads for download files. We couldn't make it work in a conda environment in windows.
With this change, default is the same, but multithread download can be disabled by optional parameter.