Skip to content

Image downloads can fail due to ThreadPoolExecutor context loss #401

@manning-ncsa

Description

@manning-ncsa

We are seeing errors like this sometimes during image downloads:

<Filter: PanSTARRS_y> generated an exception: \
cannot access local variable 'overwrite' \
where it is not associated with a value

It is not clear how the overwrite variable could be uninitialized, given that it is set with a default value and an assert statement ensures it is boolean. Perhaps the use of ThreadPoolExecutor (to download image data from the source catalogs in parallel) is somehow to blame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions