Skip to content

TypeError: %b requires a bytes-like object, or an object that implements __bytes #630

Open
@kkmuffme

Description

@kkmuffme
Traceback (most recent call last):
  File "C:\python311\lib\site-packages\git_filter_repo.py", line 4976, in <modul
e>
    main()
  File "C:\python311\lib\site-packages\git_filter_repo.py", line 4973, in main
    filter.run()
  File "C:\python311\lib\site-packages\git_filter_repo.py", line 4892, in run
    self._parser.run(self._input, self._output)
  File "C:\python311\lib\site-packages\git_filter_repo.py", line 1527, in run
    self._parse_commit()
  File "C:\python311\lib\site-packages\git_filter_repo.py", line 1378, in _parse
_commit
    self._commit_callback(commit, aux_info)
  File "C:\python311\lib\site-packages\git_filter_repo.py", line 4125, in _tweak
_commit
    self._insert_into_stream(commit)
  File "C:\python311\lib\site-packages\git_filter_repo.py", line 4865, in _inser
t_into_stream
    self._parser.insert(obj)
  File "C:\python311\lib\site-packages\git_filter_repo.py", line 1505, in insert
    obj.dump(self._output)
  File "C:\python311\lib\site-packages\git_filter_repo.py", line 800, in dump
    file_.write((b'commit %s\n'
                ^^^^^^^^^^^^^^^
TypeError: %b requires a bytes-like object, or an object that implements __bytes
__, not 'NoneType'
fatal: stream ends early
fast-import: dumping crash report to .git/fast_import_crash_69216

For --force --refs "staging~17"..staging --email-callback '...'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions