Page MenuHomeSoftware Heritage
Paste P1179

(An Untitled Masterwork)
ActivePublic

Authored by douardda on Sep 28 2021, 4:46 PM.
DEBUG:swh.storage.replay:Inserting 200 raw_extrinsic_metadata objects
Traceback (most recent call last):
File "/usr/bin/swh", line 11, in <module>
load_entry_point('swh.core==0.15.0', 'console_scripts', 'swh')()
File "/usr/lib/python3/dist-packages/swh/core/cli/__init__.py", line 185, in main
return swh(auto_envvar_prefix="SWH")
File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/lib/python3/dist-packages/swh/storage/cli.py", line 194, in replay
client.process(worker_fn)
File "/usr/lib/python3/dist-packages/swh/journal/client.py", line 265, in process
batch_processed, at_eof = self.handle_messages(messages, worker_fn)
File "/usr/lib/python3/dist-packages/swh/journal/client.py", line 292, in handle_messages
worker_fn(dict(objects))
File "/usr/lib/python3/dist-packages/swh/storage/replay.py", line 62, in process_replay_objects
_insert_objects(object_type, objects, storage)
File "/usr/lib/python3/dist-packages/swh/storage/replay.py", line 151, in _insert_objects
storage.metadata_authority_add(authorities)
File "/usr/lib/python3/dist-packages/swh/core/api/__init__.py", line 181, in meth_
return self.post(meth._endpoint_path, post_data)
File "/usr/lib/python3/dist-packages/swh/core/api/__init__.py", line 262, in post
data = self._encode_data(data)
File "/usr/lib/python3/dist-packages/swh/core/api/__init__.py", line 281, in _encode_data
return encode_data(data, extra_encoders=self.extra_type_encoders)
File "/usr/lib/python3/dist-packages/swh/core/api/serializers.py", line 126, in encode_data_client
return msgpack_dumps(data, extra_encoders=extra_encoders)
File "/usr/lib/python3/dist-packages/swh/core/api/serializers.py", line 275, in msgpack_dumps
default=encode_types,
File "/usr/lib/python3/dist-packages/msgpack/__init__.py", line 35, in packb
return Packer(**kwargs).pack(o)
File "msgpack/_packer.pyx", line 286, in msgpack._cmsgpack.Packer.pack
File "msgpack/_packer.pyx", line 292, in msgpack._cmsgpack.Packer.pack
File "msgpack/_packer.pyx", line 289, in msgpack._cmsgpack.Packer.pack
File "msgpack/_packer.pyx", line 225, in msgpack._cmsgpack.Packer._pack
File "msgpack/_packer.pyx", line 283, in msgpack._cmsgpack.Packer._pack
TypeError: can not serialize 'set' object