tasoc / photometry

The TASOC Photometry Pipeline
https://tasoc.dk
GNU General Public License v3.0
18 stars 4 forks source link

Parallel downloads hangs on HTTP Error #29

Closed rhandberg closed 3 years ago

rhandberg commented 3 years ago

If the parallel downloads (like with SPICE kernels) fails with a HTTP Error, the program hangs. This is not an issue with sequential downloads, so it is an issue with exceptions not being registered correctly when running in multiple threads.

Simple way to reproduce:

  1. Add several (>1) non-existing files to the list of SPICE kernels in spice.py.
  2. Run run_download_cache.py
  3. The program now hangs...