You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.openeo.geotrellissentinelhub.BatchProcessingService will throw a NoSuchFeaturesException in case the SHub catalog returns no hits for the specified extents, at least in the non-CARD4L case. This needs to be done for CARD4L too. There's already a test that could use a better name in the form of org.openeo.geotrellissentinelhub.BatchProcessingServiceTest#startCard4LBatchProcessesForXXX.
This problem manifested itself recently (j-7f841b9888c247929df5f69bfb053c6d) as a misleading error in the async_task handler:
failed to handle polling batch processes for batch job j-7f841b9888c247929df5f69bfb053c6d:
Traceback (most recent call last):
File "/opt/venv/lib64/python3.8/site-packages/openeogeotrellis/async_task.py", line 228, in main
batch_jobs.poll_sentinelhub_batch_processes(job_info, sentinel_hub_client_alias, vault_token)
File "/opt/venv/lib64/python3.8/site-packages/openeogeotrellis/backend.py", line 993, in poll_sentinelhub_batch_processes
batch_processes = reduce(partial(dict_merge_recursive, overwrite=True),
File "/opt/venv/lib64/python3.8/site-packages/openeogeotrellis/backend.py", line 994, in <genexpr>
(batch_request_details(dependency) for dependency in dependencies))
File "/opt/venv/lib64/python3.8/site-packages/openeogeotrellis/backend.py", line 976, in batch_request_details
[batch_process_dependency['batch_request_id']])
KeyError: 'batch_request_id'
org.openeo.geotrellissentinelhub.BatchProcessingService will throw a NoSuchFeaturesException in case the SHub catalog returns no hits for the specified extents, at least in the non-CARD4L case. This needs to be done for CARD4L too. There's already a test that could use a better name in the form of org.openeo.geotrellissentinelhub.BatchProcessingServiceTest#startCard4LBatchProcessesForXXX.
Don't forget to translate it to an appropriate error code (Open-EO/openeo-geopyspark-driver#224)
The text was updated successfully, but these errors were encountered: