INFO:werkzeug:127.0.0.1 - - [19/Aug/2020 11:21:54] "POST /revision HTTP/1.1" 500 - Traceback (most recent call last): File "/home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "/home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "", line 2, in revision_get File "/home/antoine/swh/swh-environment/swh-core/swh/core/api/negotiation.py", line 148, in _negotiate return f.negotiator(*args, **kwargs) File "/home/antoine/swh/swh-environment/swh-core/swh/core/api/negotiation.py", line 91, in __call__ return formatter(result) File "/home/antoine/swh/swh-environment/swh-core/swh/core/api/negotiation.py", line 64, in __call__ self.render(obj), content_type=self.response_mimetype File "/home/antoine/swh/swh-environment/swh-core/swh/core/api/__init__.py", line 87, in render return msgpack_dumps(obj, extra_encoders=self.extra_encoders) File "/home/antoine/swh/swh-environment/swh-core/swh/core/api/serializers.py", line 227, in msgpack_dumps return msgpack.packb(data, use_bin_type=True, default=encode_types) File "/home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/msgpack/__init__.py", line 46, in packb return Packer(**kwargs).pack(o) File "msgpack/_packer.pyx", line 284, in msgpack._cmsgpack.Packer.pack File "msgpack/_packer.pyx", line 290, in msgpack._cmsgpack.Packer.pack File "msgpack/_packer.pyx", line 287, in msgpack._cmsgpack.Packer.pack File "msgpack/_packer.pyx", line 277, in msgpack._cmsgpack.Packer._pack File "/home/antoine/swh/swh-environment/swh-core/swh/core/api/serializers.py", line 217, in encode_types return list(obj) File "/home/antoine/swh/swh-environment/swh-core/swh/core/db/common.py", line 97, in _meth yield from meth(self, *args, db=db, cur=cur, **kwargs) File "/home/antoine/swh/swh-environment/swh-storage/swh/storage/storage.py", line 612, in revision_get data = converters.db_to_revision(dict(zip(db.revision_get_cols, line))) File "/home/antoine/swh/swh-environment/swh-storage/swh/storage/converters.py", line 197, in db_to_revision db_revision["date_neg_utc_offset"], File "/home/antoine/swh/swh-environment/swh-storage/swh/storage/converters.py", line 108, in db_to_date negative_utc=neg_utc_offset, File "", line 9, in __init__ File "/home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/attr/_make.py", line 2146, in __call__ v(inst, attr, value) File "/home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/attrs_strict/_type_validation.py", line 63, in _validator _validate_elements(attribute, field, attribute.type) File "/home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/attrs_strict/_type_validation.py", line 80, in _validate_elements raise AttributeTypeError(value, attribute) attrs_strict._error.AttributeTypeError: negative_utc must be (got None that is a ) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/flask/app.py", line 2464, in __call__ return self.wsgi_app(environ, start_response) File "/home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/flask/app.py", line 2450, in wsgi_app response = self.handle_exception(e) File "/home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/flask/app.py", line 1867, in handle_exception reraise(exc_type, exc_value, tb) File "/home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise raise value File "/home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app response = self.full_dispatch_request() File "/home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/flask/app.py", line 1822, in handle_user_exception return handler(e) File "/home/antoine/swh/swh-environment/swh-storage/swh/storage/api/server.py", line 46, in my_error_handler return error_handler(exception, encode_data) File "/home/antoine/swh/swh-environment/swh-core/swh/core/api/__init__.py", line 403, in error_handler response = encoder(exception_to_dict(exception)) File "/home/antoine/swh/swh-environment/swh-core/swh/core/api/__init__.py", line 379, in encode_data_server encoded_data = ENCODERS[content_type](data, extra_encoders=extra_type_encoders) File "/home/antoine/swh/swh-environment/swh-core/swh/core/api/serializers.py", line 227, in msgpack_dumps return msgpack.packb(data, use_bin_type=True, default=encode_types) File "/home/antoine/.virtualenvs/swh/lib/python3.7/site-packages/msgpack/__init__.py", line 46, in packb return Packer(**kwargs).pack(o) File "msgpack/_packer.pyx", line 284, in msgpack._cmsgpack.Packer.pack File "msgpack/_packer.pyx", line 290, in msgpack._cmsgpack.Packer.pack File "msgpack/_packer.pyx", line 287, in msgpack._cmsgpack.Packer.pack File "msgpack/_packer.pyx", line 234, in msgpack._cmsgpack.Packer._pack File "msgpack/_packer.pyx", line 234, in msgpack._cmsgpack.Packer._pack File "msgpack/_packer.pyx", line 263, in msgpack._cmsgpack.Packer._pack File "msgpack/_packer.pyx", line 281, in msgpack._cmsgpack.Packer._pack TypeError: can not serialize 'Attribute' object