File "/usr/lib/python3/dist-packages/celery/backends/base.py", line 272, in encode
_, _, payload = self._encode(data)
File "/usr/lib/python3/dist-packages/celery/backends/base.py", line 276, in _encode
return dumps(data, serializer=self.serializer)
File "/usr/lib/python3/dist-packages/kombu/serialization.py", line 221, in dumps
payload = encoder(data)
File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/kombu/serialization.py", line 54, in _reraise_errors
reraise(wrapper, wrapper(exc), sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/vine/five.py", line 178, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/kombu/serialization.py", line 50, in _reraise_errors
yield
File "/usr/lib/python3/dist-packages/kombu/serialization.py", line 221, in dumps
payload = encoder(data)
File "/usr/lib/python3/dist-packages/kombu/utils/json.py", line 69, in dumps
**dict(default_kwargs, **kwargs))
File "/usr/lib/python3.5/json/__init__.py", line 237, in dumps
**kw).encode(obj)
File "/usr/lib/python3.5/json/encoder.py", line 198, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python3.5/json/encoder.py", line 256, in iterencode
return _iterencode(o, 0)
File "/usr/lib/python3/dist-packages/kombu/utils/json.py", line 59, in default
return super(JSONEncoder, self).default(o)
File "/usr/lib/python3.5/json/encoder.py", line 179, in default
raise TypeError(repr(o) + " is not JSON serializable")
kombu.exceptions.EncodeError: b'8dbb6aeb036e7fd80664eb8bfd1507881af1ba9f' is not JSON serializable
celery.worker.strategy: INFO: Received task: swh.indexer.tests.test_origin_metadata.test_origin_intrinsic_metadata_task[c0010766-bae2-4083-bbb5-60c8706ba5c2]
celery.app.trace: ERROR: Task swh.indexer.tests.test_origin_metadata.test_origin_intrinsic_metadata_task[c0010766-bae2-4083-bbb5-60c8706ba5c2] raised unexpected: EncodeError(TypeError("b'8dbb6aeb036e7fd80664eb8bfd1507881af1ba9f' is not JSON serializable",),)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/kombu/serialization.py", line 50, in _reraise_errors
yield
File "/usr/lib/python3/dist-packages/kombu/serialization.py", line 221, in dumps
payload = encoder(data)
File "/usr/lib/python3/dist-packages/kombu/utils/json.py", line 69, in dumps
**dict(default_kwargs, **kwargs))
File "/usr/lib/python3.5/json/__init__.py", line 237, in dumps
**kw).encode(obj)
File "/usr/lib/python3.5/json/encoder.py", line 198, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python3.5/json/encoder.py", line 256, in iterencode
return _iterencode(o, 0)
File "/usr/lib/python3/dist-packages/kombu/utils/json.py", line 59, in default
return super(JSONEncoder, self).default(o)
File "/usr/lib/python3.5/json/encoder.py", line 179, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: b'8dbb6aeb036e7fd80664eb8bfd1507881af1ba9f' is not JSON serializable
ardumont changed the title of this paste from EncodeError(TypeError("b'8dbb6aeb036e7fd80664eb8bfd1507881af1ba9f' is not JSON serializable" in debian chroot to EncodeError(TypeError("b'xxx' is not JSON serializable")) in debian stable chroot.Oct 25 2018, 3:36 PM2018-10-25 15:36:15 (UTC+2)