Open-EO / openeo-web-editor

An interactive and easy to use web-based editor for the OpenEO API.
https://editor.openeo.org
Apache License 2.0
12 stars 17 forks source link

Error when showing job results #181

Closed jdries closed 3 years ago

jdries commented 3 years ago

Trying to show batch job results for the Terrascope backend fails with an error, see below. I guess our STAC metadata could be incorrect, but can't figure out from the error what the problem is.

image

jdries commented 3 years ago

Not sure why yet, but the 'data' object in the response indeed seems to be 'null'.

jdries commented 3 years ago

web editor!

m-mohr commented 3 years ago

Yeah, just realized from the last line in the stack trace, will check. What's the state of the job?

m-mohr commented 3 years ago

Is that editor.openeo.org or editor.openeo.cloud and are you connected to VITO directly or to the aggregator?

I've tried editor.openeo.org and the VITO back-end directly, but it works for me for a finished job for all buttons related to the job. So I need more details to reproduce.

jdries commented 3 years ago

I think I found it in jupter notebook, indeed invalid json: {'assets': {'openEO.tif': {'file:nodata': [nan],

I did get a more clear error message in there: image

m-mohr commented 3 years ago

Oh, yes, that is this issue on the VITO back-end:

https://github.com/Open-EO/openeo-geopyspark-driver/issues/87

m-mohr commented 3 years ago

For the JS client, I made a quick fix to improve the error handling in this case, too.