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
FYI: The xcube server needs to be started with the same xcube version as the version used for the python api access.
Therefore the example with wont be working as long as the dcs4cop server is not updated.
PR #592 fixes existing test, but when serving data using DataStore schema the following problem appears:
tornado.application - ERROR - Uncaught exception HEAD /s3bucket/bigfe~HH_CityCube_RGB.zarr (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost:8080', method='HEAD', uri='/s3bucket/bigfe~HH_CityCube_RGB.zarr', version='HTTP/1.1', remote_ip='127.0.0.1')
Traceback (most recent call last):
File "/home/alicja/miniconda3/envs/xcube-dev/lib/python3.9/site-packages/tornado/web.py", line 1704, in _execute
result = await result
File "/home/alicja/Desktop/projects/xcube/xcube/webapi/handlers.py", line 223, in head
key, local_path = self._get_key_and_local_path(ds_id, path)
File "/home/alicja/Desktop/projects/xcube/xcube/webapi/handlers.py", line 285, in _get_key_and_local_path
if os.path.isabs(local_path):
File "/home/alicja/miniconda3/envs/xcube-dev/lib/python3.9/posixpath.py", line 62, in isabs
s = os.fspath(s)
TypeError: expected str, bytes or os.PathLike object, not NoneType
Describe the bug
It is not possible to load the data published via xcube serve anymore:
The Unittests are also failing.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Access was possible with prior versions.
Additional context
When testing with the dcs4cop demo server, a key error appears:
The text was updated successfully, but these errors were encountered: