[Koha-devel] Anyone else having issues attaching patches to Bugzilla?

David Nind david at davidnind.com
Mon Oct 23 04:43:05 CEST 2023


Hi David.

It's working for me, just signed of a patch - git bz attach -e XXXXX HEAD

So it must be you! 8-)

David Nind
New Zealand

On Mon, 23 Oct 2023 at 15:25, David Cook via Koha-devel <
koha-devel at lists.koha-community.org> wrote:

> 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
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : https://www.koha-community.org/
> git : https://git.koha-community.org/
> bugs : https://bugs.koha-community.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20231023/c31818fd/attachment-0001.htm>


More information about the Koha-devel mailing list