A new request with request id 9247 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is :

Title : Koha-devel Digest, Vol 199, Issue 13
Category :
Description :
Send Koha-devel mailing list submissions to
    koha-devel@lists.koha-community.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
or, via email, send a message with subject or body 'help' to
    koha-devel-request@lists.koha-community.org

You can reach the person managing the list at
    koha-devel-owner@lists.koha-community.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Koha-devel digest..."


Today's Topics:

1. Re: koha 22:05 elasticsearch (Mason James)
2. opac-overdrive-search.tt translation bug (Alex Buckley)
3. Re: koha 22:05 elasticsearch (Stowasser Rainer)
4. Call for news - Newsletter June 2022 (Koha Newsletter)


----------------------------------------------------------------------

Message: 1
Date: Mon, 13 Jun 2022 00:59:29 +1200
From: Mason James <mtj@kohaaloha.com>
To: Michael Hafen <michael.hafen@washk12.org>, Stowasser Rainer
    <rainer.stowasser@zamg.ac.at>
Cc: "koha-devel@lists.koha-community.org"
    <koha-devel@lists.koha-community.org>
Subject: Re: [Koha-devel] koha 22:05 elasticsearch
Message-ID: <5e1c90fc-dc49-c8a8-35dc-7a7d38ae43a1@kohaaloha.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

hi Rainer
the problem should be fixed now

On 10/06/22 3:59 pm, Mason James wrote:
> hi folks
> the koha repo does have a redundant 'libmarc-file-xml-perl' package
>
> i'll aim to remove the package, after running some tests - this should fix the problem
>
>
> On 10/06/22 4:16 am, Michael Hafen wrote:
>> According to the error both libmarc-xml-perl_1.0.5-1 and libmarc-file-
>> xml-perl_1.0.5-1 are trying to place the file /usr/bin/marc2xml, which the package manager helpfully catches and gives this wonder error message about.
>> I'm guessing that libmarc-file-xml-perl_1.0.5-1 is coming from the koha-community repo.
>> The real question is what to do about it.  I'm not familiar enough with debian packaging to say if there is a way to override the other packages claim on the file.  I suppose it's possible to put that file in the alternatives system (/etc/alternatives), but that might be overkill.
>> I think the root of the error is that either the name of the debian package (libmarc-xml-perl) has diverged from the the koha-community package (libmarc-file-xml-perl), or this file found its way into the libmarc-file-xml-perl package my mistake.  Though if the problem was the package name (which could be fixed with a "provides" entry) I would expect to see more file conflicts, but maybe the package manager just stopped on the first one.
>> I think the proper solution is to either change the libmarc-file-xml-perl package to match the libmarc-xml-perl package (probably with a "provides" entry), or to take this file out of it (and provide a modified libmarc-xml-perl package if necessary).
>> Again, that advice is given with my very limited knowledge of debian packaging.
>>
>>
>> On Thu, Jun 9, 2022 at 12:52 AM Stowasser Rainer <rainer.stowasser@zamg.ac.at> wrote:
>>
>>     Dear Fridolin
>>
>>     Debian buster
>>
>>     koha common 22.05
>>
>>     yes
>>
>>     what I found out till now is that it seems to be related to catmandu
>>     and 2 versions of marc2xml
>>     perl dependencies are "very interesting" ;-)
>>
>>     Kind regards
>>     Hofrat Mag. Rainer Stowasser
>>     Head of Library and Archives ZAMG
>>
>>     ________________________________________
>>     Von: Koha-devel <koha-devel-bounces@lists.koha-community.org> im Auftrag von Fridolin SOMERS <fridolin.somers@biblibre.com>
>>     Gesendet: Donnerstag, 9. Juni 2022 08:36:55
>>     An: koha-devel@lists.koha-community.org
>>     Betreff: Re: [Koha-devel] koha 22:05 elasticsearch
>>
>>     Hi,
>>
>>     What is the version of Koha (package koha-common) ?
>>
>>     Debian 5.10.106-1 ? Which name is that (Buster, Bullseye, ...) ?
>>
>>     Did you first run "apt update" ?
>>
>>     Le 07/06/2022 à 22:40, Stowasser Rainer a écrit :
>>     > Hy
>>     >
>>     > with the new version I thought I would give elasticsearch a try (zebra works ;-)
>>     >
>>     > new server
>>     > Debian 5.10.106-1
>>     > 10.5.15-MariaDB
>>     > Apache/2.4.53
>>     >
>>     > but
>>     >
>>     > koha-elasticsearch
>>     >
>>     > Preparing to unpack .../libmarc-xml-perl_1.0.5-1_all.deb ...
>>     > Unpacking libmarc-xml-perl (1.0.5-1) ...
>>     > dpkg: error processing archive /var/cache/apt/archives/libmarc-xml-perl_1.0.5-1_
>>     > all.deb (--unpack):
>>     >   trying to overwrite '/usr/bin/marc2xml', which is also in package libmarc-file-
>>     > xml-perl 1.0.5-1~koha+1
>>     > Errors were encountered while processing:
>>     >  /var/cache/apt/archives/libmarc-xml-perl_1.0.5-1_all.deb
>>     >
>>     > apt --fix-broken install
>>     > The following additional packages will be installed:
>>     >    libmarc-xml-perl
>>     >
>>     > dpkg: error processing archive /var/cache/apt/archives/libmarc-xml-perl_1.0.5-1_
>>     > all.deb (--unpack):
>>     >   trying to overwrite '/usr/bin/marc2xml', which is also in package libmarc-file-
>>     > xml-perl 1.0.5-1~koha+1
>>     >
>>     > Did anyone else encounter this problem ?
>>     >
>>     > Kind regards
>>     > Hofrat Mag. Rainer Stowasser
>>     > Head of Library and Archives ZAMG
>>     > _______________________________________________
>>     > Koha-devel mailing list
>>     > Koha-devel@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/
>>
>>     --
>>     Fridolin SOMERS <fridolin.somers@biblibre.com>
>>     Software and system maintainer 🦄
>>     BibLibre, France
>>     _______________________________________________
>>     Koha-devel mailing list
>>     Koha-devel@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/
>>     EXTERNAL EMAIL: Do not click any links or open any attachments unless you trust the sender and know the content is safe.
>>
>>
>>     _______________________________________________
>>     Koha-devel mailing list
>>     Koha-devel@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/
>>
>>
>>
>> --
>> Michael Hafen
>> Washington County School District Technology Department
>> Systems Analyst
>>
>>
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel@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/
>



------------------------------

Message: 2
Date: Mon, 13 Jun 2022 18:13:01 +1200
From: Alex Buckley <alexbuckley@catalyst.net.nz>
To: koha-translate@lists.koha-community.org,
    koha-devel@lists.koha-community.org
Subject: [Koha-devel] opac-overdrive-search.tt translation bug
Message-ID: <1df0cf80-f602-b0c0-1b64-2d1aba7f8633@catalyst.net.nz>
Content-Type: text/plain; charset="utf-8"

Hi there,

I see this line
https://github.com/Koha-Community/Koha/blob/beb663836b45a77f45195774133cc9b78957fcd5/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt#L75
does not get translated correctly.

The 0 in the ELSE is lost in the translated versions of
opac-overdrive-search.tt, for example below:

/var OD_password_required = [% IF
Koha.Preference('OverDrivePasswordRequired') %]1[% ELSE %][% END %];/

This in turn throws a JavaScript error if a library does not have the
/OverDrivePasswordRequired/ syspref enabled./
/

I checked the en-NZ-opac-bootstrap.po
<https://translate.koha-community.org/export/22.05/en_NZ/en-NZ-opac-bootstrap.po>
and it has no translation for that JS line.

Could someone please give me some pointers on how we could stop the 0
being lost?

Any help gratefully received!

Many thanks,

Alex


--
Alex Buckley (he/him)
Koha Developer | Implementation Lead

Catalyst IT - Expert Open Source Solutions
www.catalyst.net.nz <http://www.catalyst.net.nz>

CONFIDENTIALITY NOTICE: This email is intended for the named recipients
only. It may contain privileged, confidential or copyright information.
If you are not the named recipient, any use, reliance upon, disclosure
or copying of this email or its attachments is unauthorised. If you have
received this email in error, please reply via email or call +64 4 499 2267.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220613/706b30ad/attachment-0001.htm>

------------------------------

Message: 3
Date: Mon, 13 Jun 2022 06:59:14 +0000
From: Stowasser Rainer <rainer.stowasser@zamg.ac.at>
To: Mason James <mtj@kohaaloha.com>, Michael Hafen
    <michael.hafen@washk12.org>
Cc: "koha-devel@lists.koha-community.org"
    <koha-devel@lists.koha-community.org>
Subject: Re: [Koha-devel] koha 22:05 elasticsearch
Message-ID: <992d44b83c0344b79c9c9a11c3ced0aa@zamg.ac.at>
Content-Type: text/plain; charset="utf-8"

Dear James

thx

I can confirm that

Kind regards
Hofrat Mag. Rainer Stowasser
Head of Library and Archives ZAMG

________________________________________
Von: Mason James <mtj@kohaaloha.com>
Gesendet: Sonntag, 12. Juni 2022 14:59:29
An: Michael Hafen; Stowasser Rainer
Cc: koha-devel@lists.koha-community.org
Betreff: Re: [Koha-devel] koha 22:05 elasticsearch

hi Rainer
the problem should be fixed now

On 10/06/22 3:59 pm, Mason James wrote:
> hi folks
> the koha repo does have a redundant 'libmarc-file-xml-perl' package
>
> i'll aim to remove the package, after running some tests - this should fix the problem
>
>
> On 10/06/22 4:16 am, Michael Hafen wrote:
>> According to the error both libmarc-xml-perl_1.0.5-1 and libmarc-file-
>> xml-perl_1.0.5-1 are trying to place the file /usr/bin/marc2xml, which the package manager helpfully catches and gives this wonder error message about.
>> I'm guessing that libmarc-file-xml-perl_1.0.5-1 is coming from the koha-community repo.
>> The real question is what to do about it. I'm not familiar enough with debian packaging to say if there is a way to override the other packages claim on the file. I suppose it's possible to put that file in the alternatives system (/etc/alternatives), but that might be overkill.
>> I think the root of the error is that either the name of the debian package (libmarc-xml-perl) has diverged from the the koha-community package (libmarc-file-xml-perl), or this file found its way into the libmarc-file-xml-perl package my mistake. Though if the problem was the package name (which could be fixed with a "provides" entry) I would expect to see more file conflicts, but maybe the package manager just stopped on the first one.
>> I think the proper solution is to either change the libmarc-file-xml-perl package to match the libmarc-xml-perl package (probably with a "provides" entry), or to take this file out of it (and provide a modified libmarc-xml-perl package if necessary).
>> Again, that advice is given with my very limited knowledge of debian packaging.
>>
>>
>> On Thu, Jun 9, 2022 at 12:52 AM Stowasser Rainer <rainer.stowasser@zamg.ac.at> wrote:
>>
>> Dear Fridolin
>>
>> Debian buster
>>
>> koha common 22.05
>>
>> yes
>>
>> what I found out till now is that it seems to be related to catmandu
>> and 2 versions of marc2xml
>> perl dependencies are "very interesting" ;-)
>>
>> Kind regards
>> Hofrat Mag. Rainer Stowasser
>> Head of Library and Archives ZAMG
>>
>> ________________________________________
>> Von: Koha-devel <koha-devel-bounces@lists.koha-community.org> im Auftrag von Fridolin SOMERS <fridolin.somers@biblibre.com>
>> Gesendet: Donnerstag, 9. Juni 2022 08:36:55
>> An: koha-devel@lists.koha-community.org
>> Betreff: Re: [Koha-devel] koha 22:05 elasticsearch
>>
>> Hi,
>>
>> What is the version of Koha (package koha-common) ?
>>
>> Debian 5.10.106-1 ? Which name is that (Buster, Bullseye, ...) ?
>>
>> Did you first run "apt update" ?
>>
>> Le 07/06/2022 à 22:40, Stowasser Rainer a écrit :
>> > Hy
>> >
>> > with the new version I thought I would give elasticsearch a try (zebra works ;-)
>> >
>> > new server
>> > Debian 5.10.106-1
>> > 10.5.15-MariaDB
>> > Apache/2.4.53
>> >
>> > but
>> >
>> > koha-elasticsearch
>> >
>> > Preparing to unpack .../libmarc-xml-perl_1.0.5-1_all.deb ...
>> > Unpacking libmarc-xml-perl (1.0.5-1) ...
>> > dpkg: error processing archive /var/cache/apt/archives/libmarc-xml-perl_1.0.5-1_
>> > all.deb (--unpack):
>> >  trying to overwrite '/usr/bin/marc2xml', which is also in package libmarc-file-
>> > xml-perl 1.0.5-1~koha+1
>> > Errors were encountered while processing:
>> > /var/cache/apt/archives/libmarc-xml-perl_1.0.5-1_all.deb
>> >
>> > apt --fix-broken install
>> > The following additional packages will be installed:
>> >  libmarc-xml-perl
>> >
>> > dpkg: error processing archive /var/cache/apt/archives/libmarc-xml-perl_1.0.5-1_
>> > all.deb (--unpack):
>> >  trying to overwrite '/usr/bin/marc2xml', which is also in package libmarc-file-
>> > xml-perl 1.0.5-1~koha+1
>> >
>> > Did anyone else encounter this problem ?
>> >
>> > Kind regards
>> > Hofrat Mag. Rainer Stowasser
>> > Head of Library and Archives ZAMG
>> > _______________________________________________
>> > Koha-devel mailing list
>> > Koha-devel@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/
>>
>> --
>> Fridolin SOMERS <fridolin.somers@biblibre.com>
>> Software and system maintainer 🦄
>> BibLibre, France
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel@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/
>> EXTERNAL EMAIL: Do not click any links or open any attachments unless you trust the sender and know the content is safe.
>>
>>
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel@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/
>>
>>
>>
>> --
>> Michael Hafen
>> Washington County School District Technology Department
>> Systems Analyst
>>
>>
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel@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/
>

EXTERNAL EMAIL: Do not click any links or open any attachments unless you trust the sender and know the content is safe.



------------------------------

Message: 4
Date: Mon, 13 Jun 2022 09:33:14 +0200
From: Koha Newsletter <kohanews@gmail.com>
To: koha <koha@lists.katipo.co.nz>, koha-devel
    <koha-devel@lists.koha-community.org>
Subject: [Koha-devel] Call for news - Newsletter June 2022
Message-ID:
    <CAEqgz_myOX3kARezqamdVhA83w9bzkREyA1NM=SbCr=m0m-KPw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi

I'm collecting news for the June 2022 Koha Community Newsletter.
Please send anything noteworthy to:

kohanews (at) gmail (dot) com

News criteria:
* News items can be of any length.
* Images are fine.
* Anything and everything Koha.
* Submit by the 26th of the month.

Text format criteria:
* Just structured plain text, or
* HTML text to include tables or similar

For events:
* Consider adding your event to the Koha Community calendar at
https://koha-community.org/calendar/

Thank you!

Michael Kuhn
Editor, Koha Community Newsletter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220613/f61cb7b3/attachment.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
Koha-devel mailing list
Koha-devel@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/


------------------------------

End of Koha-devel Digest, Vol 199, Issue 13
*******************************************


NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.