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
I have tested the logs functionatliy within the openeo-python-client and the openeo-webeditor. But the logs request of a job fails with an internal server error: TypeError: Object of type EoLink is not JSON serializable.
[2021-10-02 18:55:17,249] ERROR in app: Exception on /api/v1.0/jobs/user-job-6f60f678-1dee-42af-864e-ebbfa1f3364b/logs [GET]
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/python3.8/site-packages/flask_restful/__init__.py", line 468, in wrapper
resp = resource(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/openeo_grass_gis_driver/authentication.py", line 76, in decorated
return f(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/flask/views.py", line 89, in view
return self.dispatch_request(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/flask_restful/__init__.py", line 583, in dispatch_request
resp = meth(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/openeo_grass_gis_driver/jobs_job_id_logs.py", line 87, in get
return make_response(jsonify(job_logs), 200)
File "/usr/lib/python3.8/site-packages/flask/json/__init__.py", line 370, in jsonify
dumps(data, indent=indent, separators=separators) + "\n",
File "/usr/lib/python3.8/site-packages/flask/json/__init__.py", line 211, in dumps
rv = _json.dumps(obj, **kwargs)
File "/usr/lib/python3.8/json/__init__.py", line 234, in dumps
return cls(
File "/usr/lib/python3.8/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python3.8/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/usr/lib/python3.8/site-packages/flask/json/__init__.py", line 100, in default
return _json.JSONEncoder.default(self, o)
File "/usr/lib/python3.8/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type EoLink is not JSON serializable
The text was updated successfully, but these errors were encountered:
I have tested the logs functionatliy within the openeo-python-client and the openeo-webeditor. But the
logs
request of a job fails with an internal server error: TypeError: Object of type EoLink is not JSON serializable.The text was updated successfully, but these errors were encountered: