Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • M Meta
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 471
    • Issues 471
    • List
    • Boards
    • Service Desk
    • Milestones
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Platform
  • Meta
  • Issues
  • #4644

replayer crashes on invalid directory entry name (b'gitter/gitter.xml')

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

ValueError: b'gitter/gitter.xml' is not a valid directory entry name.
(14 additional frame(s) were not displayed)
...
  File "swh/model/model.py", line 1195, in from_dict
    entries=tuple(
  File "swh/model/model.py", line 1196, in <genexpr>
    DirectoryEntry.from_dict(entry) for entry in d.pop("entries")
  File "swh/model/model.py", line 352, in from_dict
    return cls(**d)
  File "<attrs generated init swh.model.model.DirectoryEntry>", line 7, in __init__
    Implementation of Software Heritage's data model
  File "swh/model/model.py", line 1163, in check_name
    raise ValueError(f"{value!r} is not a valid directory entry name.")

Migrated from T4644 (view on Phabricator)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking