<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>A new request with request id 6628 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is : <br><br>Title : Koha-devel Digest, Vol 203, Issue 19<br>Category : <br>Description : <div>Send Koha-devel mailing list submissions to<br>    koha-devel@lists.koha-community.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>or, via email, send a message with subject or body 'help' to<br>    koha-devel-request@lists.koha-community.org<br><br>You can reach the person managing the list at<br>    koha-devel-owner@lists.koha-community.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Koha-devel digest..."<br><br><br>Today's Topics:<br><br>   1. Re: Koha 22.05.04: Can't locate Koha/Script.pm in @INC<br>      (Michael Kuhn)<br>   2. Re: Koha 22.05.04: Can't locate Koha/Script.pm in @INC<br>      (Michael Hafen)<br>   3. Re: Koha 22.05.04: Can't locate Koha/Script.pm in @INC<br>      (Mason James)<br>   4. Koha packages are available 馃巵 (Mason James)<br>   5. Re: [Koha] Koha 22.05.04: Can't locate Koha/Script.pm in @INC<br>      (Tomas Cohen Arazi)<br>   6. Re: [Koha] Koha 22.05.04: Can't locate Koha/Script.pm in @INC<br>      (Michael Kuhn)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Fri, 28 Oct 2022 15:51:18 +0200<br>From: Michael Kuhn <mik@adminkuhn.ch><br>To: koha-devel@lists.koha-community.org<br>Subject: Re: [Koha-devel] Koha 22.05.04: Can't locate Koha/Script.pm<br>    in @INC<br>Message-ID: <2f18f828-f368-0250-94a6-6d1d469be34a@adminkuhn.ch><br>Content-Type: text/plain; charset=UTF-8; format=flowed<br><br>Hi David<br><br>You wrote:<br><br> > could it be that you were executing the command with a different user?<br><br>No, I definitely have always run the command as Linux user "root". The <br>only difference I am aware of is this time I was first running the <br>command under Koha 22.05.<br><br>Best wishes: Michael<br>-- <br>Gesch盲ftsf眉hrer 路 Diplombibliothekar BBS, Informatiker eidg. Fachausweis<br>Admin Kuhn GmbH 路 Pappelstrasse 20 路 4123 Allschwil 路 Schweiz<br>T 0041 (0)61 261 55 61 路 E mik@adminkuhn.ch 路 W www.adminkuhn.ch<br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Fri, 28 Oct 2022 14:28:53 -0600<br>From: Michael Hafen <michael.hafen@washk12.org><br>Cc: koha-devel@lists.koha-community.org<br>Subject: Re: [Koha-devel] Koha 22.05.04: Can't locate Koha/Script.pm<br>    in @INC<br>Message-ID:<br>    <CAAh7UdnyyLL8QycjKXaO9OiXBdNxRmJPOPFnykBSADCCK4OMPQ@mail.gmail.com><br>Content-Type: text/plain; charset="utf-8"<br><br>This command has probably been changed since the last time you used it to<br>be used with the koha-shell or koha-foreach scripts that come with the<br>koha-common debian package.  Those scripts set the config and perl include<br>environment.<br><br>On Fri, Oct 28, 2022 at 7:51 AM Michael Kuhn <mik@adminkuhn.ch> wrote:<br><br>> Hi David<br>><br>> You wrote:<br>><br>>  > could it be that you were executing the command with a different user?<br>><br>> No, I definitely have always run the command as Linux user "root". The<br>> only difference I am aware of is this time I was first running the<br>> command under Koha 22.05.<br>><br>> Best wishes: Michael<br>> --<br>> Gesch盲ftsf眉hrer 路 Diplombibliothekar BBS, Informatiker eidg. Fachausweis<br>> Admin Kuhn GmbH 路 Pappelstrasse 20 路 4123 Allschwil 路 Schweiz<br>> T 0041 (0)61 261 55 61 路 E mik@adminkuhn.ch 路 W www.adminkuhn.ch<br>><br>> _______________________________________________<br>> Koha-devel mailing list<br>> Koha-devel@lists.koha-community.org<br>> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>> website : https://www.koha-community.org/<br>> git : https://git.koha-community.org/<br>> bugs : https://bugs.koha-community.org/<br>><br><br><br>-- <br>Michael Hafen<br>Washington County School District Technology Department<br>Systems Analyst<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20221028/996d191c/attachment-0001.htm><br><br>------------------------------<br><br>Message: 3<br>Date: Sat, 29 Oct 2022 15:18:40 +1300<br>From: Mason James <mtj@kohaaloha.com><br>To: Michael Kuhn <mik@adminkuhn.ch>,<br>    koha-devel@lists.koha-community.org, Koha <koha@lists.katipo.co.nz><br>Subject: Re: [Koha-devel] Koha 22.05.04: Can't locate Koha/Script.pm<br>    in @INC<br>Message-ID: <4335aa54-adc2-4ee7-5018-d868c43d2648@kohaaloha.com><br>Content-Type: text/plain; charset=UTF-8; format=flowed<br><br>On 29/10/22 12:34 am, Michael Kuhn wrote:<br>> Hi David and Indranil<br>> <br>> Thank you very much, this works!<br>> <br>> Interestingly addin variable PERL5LIB was never before necessary when I ran "bulkmarcimport.pl" (and I do this a lot).<br>> <br>> Best wishes: Michael<br><br>hi Michael<br><br>i think it's always been necessary to have the PERL5LIB set correctly<br><br><br>------------------------------<br><br>Message: 4<br>Date: Sat, 29 Oct 2022 16:00:19 +1300<br>From: Mason James <mtj@kohaaloha.com><br>To: "koha@lists.katipo.co.nz" <koha@lists.katipo.co.nz>, Koha Devel<br>    <koha-devel@lists.koha-community.org><br>Subject: [Koha-devel] Koha packages are available 馃巵<br>Message-ID: <38871fe4-7b37-66f6-b55a-9ab96251cf6a@kohaaloha.com><br>Content-Type: text/plain; charset=UTF-8; format=flowed<br><br>kia ora community,<br><br>the latest Koha packages are available<br><br>an installation guide is below...<br>https://wiki.koha-community.org/wiki/Koha_on_Debian<br><br><br>cheers, Mason<br><br><br>------------------------------<br><br>Message: 5<br>Date: Sat, 29 Oct 2022 03:29:17 -0300<br>From: Tomas Cohen Arazi <tomascohen@gmail.com><br>To: Michael Kuhn <mik@adminkuhn.ch><br>Cc: Koha <koha@lists.katipo.co.nz>,  Koha-devel<br>    <koha-devel@lists.koha-community.org><br>Subject: Re: [Koha-devel] [Koha] Koha 22.05.04: Can't locate<br>    Koha/Script.pm in @INC<br>Message-ID:<br>    <CABZfb=XKVGKNVmC2CWBe7eCZSjJPjgSAJWBmTnvY3v4vMpj6dw@mail.gmail.com><br>Content-Type: text/plain; charset="utf-8"<br><br>Are you by chance running the command in the root shell? You should always<br>run it inside koha-shell<br><br>El vie, 28 oct 2022 8:03, Michael Kuhn <mik@adminkuhn.ch> escribi贸:<br><br>> Hi<br>><br>> I am running a fresh installation of Koha 22.05.04 on Debian 11.<br>><br>> I am trying to load some data using "bulkmarcimport.pl":<br>><br>> # export KOHA_CONF=/etc/koha/sites/library/koha-conf.xml<br>> # /usr/share/koha/bin/migration_tools/bulkmarcimport.pl -b -m marcxml<br>> -framework=ABC -file TITEL.marcxml -v 2<br>> Can't locate Koha/Script.pm in @INC (you may need to install the<br>> Koha::Script module) (@INC contains: /etc/perl<br>> /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1<br>> /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5<br>> /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32<br>> /usr/share/perl/5.32 /usr/local/lib/site_perl) at<br>> /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 13.<br>> BEGIN failed--compilation aborted at<br>> /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 13.<br>><br>> "Script.pm" seems to be there:<br>><br>> # ls -al /usr/share/koha/lib/Koha/Script.pm<br>> -rw-r--r-- 1 root root 4129 24. Aug 07:51<br>> /usr/share/koha/lib/Koha/Script.pm<br>><br>> How can I get script "bulkmarcimport.pl" to actually run?<br>><br>> Best wishes: Michael<br>> --<br>> Gesch盲ftsf眉hrer 路 Diplombibliothekar BBS, Informatiker eidg. Fachausweis<br>> Admin Kuhn GmbH 路 Pappelstrasse 20 路 4123 Allschwil 路 Schweiz<br>> T 0041 (0)61 261 55 61 路 E mik@adminkuhn.ch 路 W www.adminkuhn.ch<br>> _______________________________________________<br>><br>> Koha mailing list  http://koha-community.org<br>> Koha@lists.katipo.co.nz<br>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha<br>><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20221029/34b42e4f/attachment-0001.htm><br><br>------------------------------<br><br>Message: 6<br>Date: Sat, 29 Oct 2022 10:10:59 +0200<br>From: Michael Kuhn <mik@adminkuhn.ch><br>To: Tomas Cohen Arazi <tomascohen@gmail.com><br>Cc: Koha <koha@lists.katipo.co.nz>, Koha-devel<br>    <koha-devel@lists.koha-community.org><br>Subject: Re: [Koha-devel] [Koha] Koha 22.05.04: Can't locate<br>    Koha/Script.pm in @INC<br>Message-ID: <466bf4d3-4270-504f-3644-47e9ca985a01@adminkuhn.ch><br>Content-Type: text/plain; charset=UTF-8; format=flowed<br><br>Hi Thomas<br><br>You wrote:<br><br> > Are you by chance running the command in the root shell?<br><br>Yes I am, I always did (and it worked up to Koha 21.11).<br><br>For now it worked using:<br><br># export KOHA_CONF=/etc/koha/sites/library/koha-conf.xml<br># export PERL5LIB=/usr/share/koha/lib<br># /usr/share/koha/bin/migration_tools/bulkmarcimport.pl -b -m marcxml <br>-framework=ABC -file TITEL.marcxml -v 2<br><br> > You should always run it inside koha-shell<br><br>OK - next time I'll try:<br><br>$ sudo koha-shell -c <br>"/usr/share/koha/bin/migration_tools/bulkmarcimport.pl -b -m marcxml <br>-framework=ABC -file TITEL.marcxml -v 2" library<br><br>Unfortunately <br>https://perldoc.koha-community.org/misc/migration_tools/bulkmarcimport.html <br>does not give the correct information how to run this script.<br><br>Best wishes: Michael<br>-- <br>Gesch盲ftsf眉hrer 路 Diplombibliothekar BBS, Informatiker eidg. Fachausweis<br>Admin Kuhn GmbH 路 Pappelstrasse 20 路 4123 Allschwil 路 Schweiz<br>T 0041 (0)61 261 55 61 路 E mik@adminkuhn.ch 路 W www.adminkuhn.ch<br><br><br>> El vie, 28 oct 2022 8:03, Michael Kuhn <mik@adminkuhn.ch <br>> <mailto:mik@adminkuhn.ch>> escribi贸:<br>> <br>>     Hi<br>> <br>>     I am running a fresh installation of Koha 22.05.04 on Debian 11.<br>> <br>>     I am trying to load some data using "bulkmarcimport.pl<br>>     <http://bulkmarcimport.pl>":<br>> <br>>     # export KOHA_CONF=/etc/koha/sites/library/koha-conf.xml<br>>     # /usr/share/koha/bin/migration_tools/bulkmarcimport.pl<br>>     <http://bulkmarcimport.pl> -b -m marcxml<br>>     -framework=ABC -file TITEL.marcxml -v 2<br>>     Can't locate Koha/Script.pm in @INC (you may need to install the<br>>     Koha::Script module) (@INC contains: /etc/perl<br>>     /usr/local/lib/x86_64-linux-gnu/perl/5.32.1<br>>     /usr/local/share/perl/5.32.1<br>>     /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5<br>>     /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32<br>>     /usr/share/perl/5.32 /usr/local/lib/site_perl) at<br>>     /usr/share/koha/bin/migration_tools/bulkmarcimport.pl<br>>     <http://bulkmarcimport.pl> line 13.<br>>     BEGIN failed--compilation aborted at<br>>     /usr/share/koha/bin/migration_tools/bulkmarcimport.pl<br>>     <http://bulkmarcimport.pl> line 13.<br>> <br>>     "Script.pm" seems to be there:<br>> <br>>     # ls -al /usr/share/koha/lib/Koha/Script.pm<br>>     -rw-r--r-- 1 root root 4129 24. Aug 07:51<br>>     /usr/share/koha/lib/Koha/Script.pm<br>> <br>>     How can I get script "bulkmarcimport.pl <http://bulkmarcimport.pl>"<br>>     to actually run?<br>> <br>>     Best wishes: Michael<br>>     --<br>>     Gesch盲ftsf眉hrer 路 Diplombibliothekar BBS, Informatiker eidg. Fachausweis<br>>     Admin Kuhn GmbH 路 Pappelstrasse 20 路 4123 Allschwil 路 Schweiz<br>>     T 0041 (0)61 261 55 61 路 E mik@adminkuhn.ch<br>>     <mailto:mik@adminkuhn.ch> 路 W www.adminkuhn.ch <http://www.adminkuhn.ch><br>>     _______________________________________________<br>> <br>>     Koha mailing list http://koha-community.org <http://koha-community.org><br>>     Koha@lists.katipo.co.nz <mailto:Koha@lists.katipo.co.nz><br>>     Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha<br>>     <https://lists.katipo.co.nz/mailman/listinfo/koha><br>> <br><br><br><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>Koha-devel mailing list<br>Koha-devel@lists.koha-community.org<br>https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>website : https://www.koha-community.org/<br>git : https://git.koha-community.org/<br>bugs : https://bugs.koha-community.org/<br><br><br>------------------------------<br><br>End of Koha-devel Digest, Vol 203, Issue 19<br>*******************************************<br></div><br><br>NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.<br></body></html>