swh-web_1 | [05/May/2021 09:00:06] [DEBUG] urllib3.connectionpool._make_request:461 - http://swh-scheduler:5008 "POST /task_run/get HTTP/1.1" 200 170 swh-web_1 | [05/May/2021 09:00:06] [DEBUG] Traceback (most recent call last): swh-web_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/rest_framework/views.py", line 506, in dispatch swh-web_1 | response = handler(request, *args, **kwargs) swh-web_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/rest_framework/decorators.py", line 50, in handler swh-web_1 | return func(*args, **kwargs) swh-web_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/api/apiurls.py", line 96, in api_view_f swh-web_1 | response = f(request, **kwargs) swh-web_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/api/apidoc.py", line 348, in documented_view swh-web_1 | raise exc swh-web_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/api/apidoc.py", line 345, in documented_view swh-web_1 | return {"data": f(request, **kwargs), "doc_data": doc_data} swh-web_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/api/views/origin_save.py", line 109, in api_save_origin swh-web_1 | **data, swh-web_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/common/origin_save.py", line 476, in create_save_origin_request swh-web_1 | task = scheduler.create_tasks([task_dict])[0] swh-web_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/core/api/__init__.py", line 181, in meth_ swh-web_1 | return self.post(meth._endpoint_path, post_data) swh-web_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/core/api/__init__.py", line 262, in post swh-web_1 | data = self._encode_data(data) swh-web_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/core/api/__init__.py", line 281, in _encode_data swh-web_1 | return encode_data(data, extra_encoders=self.extra_type_encoders) swh-web_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/core/api/serializers.py", line 126, in encode_data_client swh-web_1 | return msgpack_dumps(data, extra_encoders=extra_encoders) swh-web_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/core/api/serializers.py", line 275, in msgpack_dumps swh-web_1 | default=encode_types, swh-web_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/msgpack/__init__.py", line 35, in packb swh-web_1 | return Packer(**kwargs).pack(o) swh-web_1 | File "msgpack/_packer.pyx", line 292, in msgpack._cmsgpack.Packer.pack swh-web_1 | File "msgpack/_packer.pyx", line 298, in msgpack._cmsgpack.Packer.pack swh-web_1 | File "msgpack/_packer.pyx", line 295, in msgpack._cmsgpack.Packer.pack swh-web_1 | File "msgpack/_packer.pyx", line 231, in msgpack._cmsgpack.Packer._pack swh-web_1 | File "msgpack/_packer.pyx", line 264, in msgpack._cmsgpack.Packer._pack swh-web_1 | File "msgpack/_packer.pyx", line 231, in msgpack._cmsgpack.Packer._pack swh-web_1 | File "msgpack/_packer.pyx", line 231, in msgpack._cmsgpack.Packer._pack swh-web_1 | File "msgpack/_packer.pyx", line 231, in msgpack._cmsgpack.Packer._pack swh-web_1 | File "msgpack/_packer.pyx", line 264, in msgpack._cmsgpack.Packer._pack swh-web_1 | File "msgpack/_packer.pyx", line 231, in msgpack._cmsgpack.Packer._pack swh-web_1 | File "msgpack/_packer.pyx", line 289, in msgpack._cmsgpack.Packer._pack swh-web_1 | TypeError: can not serialize 'datetime.datetime' object