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

Not all the tiles are actually downloaded upon restart #12

Open
acerioni opened this issue Sep 1, 2023 · 0 comments
Open

Not all the tiles are actually downloaded upon restart #12

acerioni opened this issue Sep 1, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@acerioni
Copy link
Member

acerioni commented Sep 1, 2023

The bug showed up when running the generate_tilesets.py as of commit 72a4825. It can be reproduced by interrupting the script (CTRL+C) while tiles are being downloaded. Upon restart, the progress bar related to the download task reaches immediately the 100% even if not all the tiles have actually been download. Indeed, the code fails soon after, when checking whether all the expected tiles can be found on the local disk.

I tried investigating the issue but didn't find any explanation. I've just noticed that it can be solved by using the threading Parallel backend instead of loky.

@GwenaelleSa

@acerioni acerioni added the bug Something isn't working label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant