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

David Cook dcook at prosentient.com.au
Mon Oct 23 06:58:29 CEST 2023


Turns out it was this problem: https://gitlab.com/koha-community/git-bz/-/issues/8#note_1180787597

 

I’d put the wrong bug number in the title line of the commit and that was causing the problem. Yikes.

 

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

 

From: Koha-devel <koha-devel-bounces at lists.koha-community.org> On Behalf Of David Cook via Koha-devel
Sent: Monday, 23 October 2023 1:47 PM
To: 'David Nind' <david at davidnind.com>
Cc: 'Koha Devel' <koha-devel at lists.koha-community.org>
Subject: Re: [Koha-devel] Anyone else having issues attaching patches to Bugzilla?

 

Thanks for confirming, David!

 

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

 

From: David Nind <david at davidnind.com <mailto:david at davidnind.com> > 
Sent: Monday, October 23, 2023 1:43 PM
To: David Cook <dcook at prosentient.com.au <mailto:dcook at prosentient.com.au> >
Cc: Koha Devel <koha-devel at lists.koha-community.org <mailto:koha-devel at lists.koha-community.org> >
Subject: Re: [Koha-devel] Anyone else having issues attaching patches to Bugzilla?

 

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 <mailto: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 <mailto: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/4d3451a1/attachment-0001.htm>


More information about the Koha-devel mailing list