Page MenuHomeSoftware Heritage

origin reference in skipped_content is still an id
Closed, ResolvedPublic

Description

[2019-09-30 08:01:31,259: ERROR/ForkPoolWorker-5742] Loading failure, updating to `partial` status
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/swh/loader/core/loader.py", line 874, in load
    self.store_data()
  File "/usr/lib/python3/dist-packages/swh/loader/core/loader.py", line 973, in store_data
    self.send_batch_contents(self.get_contents())
  File "/usr/lib/python3/dist-packages/swh/loader/core/loader.py", line 652, in send_batch_contents
    packet_size_bytes=packet_size_bytes)
  File "/usr/lib/python3/dist-packages/swh/loader/core/loader.py", line 42, in send_in_packets
    sender(formatted_objects)
  File "/usr/lib/python3/dist-packages/retrying.py", line 49, in wrapped_f
    return Retrying(*dargs, **dkw).call(f, *args, **kw)
  File "/usr/lib/python3/dist-packages/retrying.py", line 206, in call
    return attempt.get(self._wrap_exception)
  File "/usr/lib/python3/dist-packages/retrying.py", line 247, in get
    six.reraise(self.value[0], self.value[1], self.value[2])
  File "/usr/lib/python3/dist-packages/six.py", line 686, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/retrying.py", line 200, in call
    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
  File "/usr/lib/python3/dist-packages/swh/loader/core/loader.py", line 403, in send_contents
    result = self.storage.content_add(content_list)
  File "/usr/lib/python3/dist-packages/swh/storage/api/client.py", line 24, in content_add
    return self.post('content/add', {'content': content})
  File "/usr/lib/python3/dist-packages/swh/core/api/__init__.py", line 205, in post
    return self._decode_response(response)
  File "/usr/lib/python3/dist-packages/swh/core/api/__init__.py", line 237, in _decode_response
    raise pickle.loads(decode_response(response))
psycopg2.DataError: invalid input syntax for integer: "https://bitbucket.org/roserose/ds_eta.git"
CONTEXT:  COPY tmp_skipped_content, line 1, column origin: "https://bitbucket.org/roserose/ds_eta.git"

Event Timeline

ardumont triaged this task as High priority.Sep 30 2019, 10:06 AM
ardumont created this task.
olasd closed this task as Resolved.Sep 30 2019, 1:25 PM
olasd assigned this task to vlorentz.
olasd added a subscriber: olasd.

Should have been closed by rDSTOe2393243e07f ?