Hi all,
Trying to attach a patch to Bugzilla this afternoon and I get the following error:
Cleaning up back to original state on error
Traceback (most recent call last):
File "/usr/bin/git-bz", line 2840, in <module>
do_attach(*args)
File "/usr/bin/git-bz", line 2168, in do_attach
add_url(bug, commits)
File "/usr/bin/git-bz", line 1719, in add_url
add_url_to_head_commit(commit, bug)
File "/usr/bin/git-bz", line 1682, in add_url_to_head_commit
git.commit(file="-", amend=True, _input=input)
File "/usr/bin/git-bz", line 197, in f
o = git_run(command, *args, **kwargs)
File "/usr/bin/git-bz", line 167, in git_run
output, error = process.communicate(input)
File "/usr/lib/python3.9/subprocess.py", line 1134, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "/usr/lib/python3.9/subprocess.py", line 1961, in _communicate
input_view = memoryview(self._input)
TypeError: memoryview: a bytes-like object is required, not 'str'
I figure it’s probably a “me problem” but just want to check…
David Cook
Senior Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia
Office: 02 9212 0899
Online: 02 8005 0595