Page MenuHomeSoftware Heritage
Paste P488

Error while loading snapshot
ActivePublic

Authored by nahimilega on Aug 7 2019, 1:12 PM.
DEBUG:swh.loader.package.GNULoader:Sending 2 revisions
DEBUG:urllib3.connectionpool:Resetting dropped connection: localhost
DEBUG:urllib3.connectionpool:http://localhost:5002 "POST /revision/add HTTP/1.1" 400 85
ERROR:swh.loader.package.GNULoader:Loading failure, updating to `partial` status
Traceback (most recent call last):
File "/home/archit/swh-environment/swh-loader-core/swh/loader/core/loader.py", line 872, in load
self.store_data()
File "/home/archit/swh-environment/swh-loader-core/swh/loader/package/loader.py", line 380, in store_data
self.generate_and_load_snapshot()
File "/home/archit/swh-environment/swh-loader-core/swh/loader/package/loader.py", line 392, in generate_and_load_snapshot
self.maybe_load_snapshot(snapshot)
File "/home/archit/swh-environment/swh-loader-core/swh/loader/core/loader.py", line 644, in maybe_load_snapshot
self.bulk_send_snapshot(snapshot)
File "/home/archit/swh-environment/swh-loader-core/swh/loader/core/loader.py", line 609, in bulk_send_snapshot
self.send_batch_revisions(self.revisions.pop())
File "/home/archit/swh-environment/swh-loader-core/swh/loader/core/loader.py", line 661, in send_batch_revisions
send_in_packets(revisions, self.send_revisions, packet_size)
File "/home/archit/swh-environment/swh-loader-core/swh/loader/core/loader.py", line 47, in send_in_packets
sender(formatted_objects)
File "/home/archit/.virtualenvs/swh/lib/python3.7/site-packages/retrying.py", line 49, in wrapped_f
return Retrying(*dargs, **dkw).call(f, *args, **kw)
File "/home/archit/.virtualenvs/swh/lib/python3.7/site-packages/retrying.py", line 206, in call
return attempt.get(self._wrap_exception)
File "/home/archit/.virtualenvs/swh/lib/python3.7/site-packages/retrying.py", line 247, in get
six.reraise(self.value[0], self.value[1], self.value[2])
File "/home/archit/.virtualenvs/swh/lib/python3.7/site-packages/six.py", line 693, in reraise
raise value
File "/home/archit/.virtualenvs/swh/lib/python3.7/site-packages/retrying.py", line 200, in call
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
File "/home/archit/swh-environment/swh-loader-core/swh/loader/core/loader.py", line 452, in send_revisions
result = self.storage.revision_add(revision_list)
File "/home/archit/swh-environment/swh-storage/swh/storage/api/client.py", line 79, in revision_add
return self.post('revision/add', {'revisions': revisions})
File "/home/archit/swh-environment/swh-core/swh/core/api/__init__.py", line 205, in post
return self._decode_response(response)
File "/home/archit/swh-environment/swh-core/swh/core/api/__init__.py", line 237, in _decode_response
raise pickle.loads(decode_response(response))
TypeError: Object of type bytes is not JSON serializable

Event Timeline

nahimilega created this paste.Aug 7 2019, 1:12 PM
nahimilega created this object in space S1 Public.