Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • S swh-loader-git
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 28
    • Issues 28
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Platform
  • Development
  • swh-loader-git
  • Issues
  • #4658
Closed
Open
Issue created Oct 26, 2022 by Sentry Integration@swh-sentry-integrationMaintainer

ObjectFormatException: Unknown field b'>'

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

ObjectFormatException: Unknown field b'>'
(6 additional frame(s) were not displayed)
...
  File "dulwich/pack.py", line 1476, in _result
    return unpacked.sha_file()
  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 832, in _deserialize
    raise ObjectFormatException("Unknown field %s" % field)

Loading failure, updating to `failed` status

This is caused by an unescaped \n in the author email.

$ git clone https://bitbucket.org/cacotopia/cacotopia.git
$ cd cacotopia
$ git cat-file -p commit_message
object 1319800c18ca5ea54d8068828308ff82fbede0e5
type commit
tag commit_message
tagger cacotopia
 <sinosie7en@gmail.com
> 1372081650 +0800

commit message

Migrated from T4658 (view on Phabricator)

Assignee
Assign to
Time tracking