Page MenuHomeSoftware Heritage

ObjectFormatException: not enough values to unpack (expected 2, got 1)
Closed, MigratedEdits Locked

Description

https://sentry.softwareheritage.org/organizations/swh/issues/104925/?referrer=phabricator_plugin

ValueError: not enough values to unpack (expected 2, got 1)
  File "dulwich/objects.py", line 1255, in parse_time_entry
    timetext, timezonetext = rest.rsplit(b" ", 1)

ObjectFormatException: not enough values to unpack (expected 2, got 1)
(7 additional frame(s) were not displayed)
...
  File "dulwich/pack.py", line 166, in sha_file
    return ShaFile.from_raw_chunks(self.obj_type_num, self.obj_chunks)
  File "dulwich/objects.py", line 456, in from_raw_chunks
    obj.set_raw_chunks(chunks, sha)
  File "dulwich/objects.py", line 356, in set_raw_chunks
    self._deserialize(chunks)
  File "dulwich/objects.py", line 817, in _deserialize
    ) = parse_time_entry(value)
  File "dulwich/objects.py", line 1259, in parse_time_entry
    raise ObjectFormatException(e)

Loading failure, updating to `failed` status

this is because the author line is missing a timezone