<!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 6616 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 18<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. Koha 22.05.04: Can't locate Koha/Script.pm in @INC (Michael Kuhn)<br>   2. Re: Koha 22.05.04: Can't locate Koha/Script.pm in @INC<br>      (David Schmidt)<br>   3. Re: Koha 22.05.04: Can't locate Koha/Script.pm in @INC<br>      (Michael Kuhn)<br>   4. Re: Koha 22.05.04: Can't locate Koha/Script.pm in @INC<br>      (David Schmidt)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Fri, 28 Oct 2022 13:02:12 +0200<br>From: Michael Kuhn <mik@adminkuhn.ch><br>To: Koha <koha@lists.katipo.co.nz>, Koha-devel<br>    <koha-devel@lists.koha-community.org><br>Subject: [Koha-devel] Koha 22.05.04: Can't locate Koha/Script.pm in<br>    @INC<br>Message-ID: <1c518d2e-5fec-6cf6-0f3d-2bdd77f9ce2a@adminkuhn.ch><br>Content-Type: text/plain; charset=UTF-8; format=flowed<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 /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>------------------------------<br><br>Message: 2<br>Date: Fri, 28 Oct 2022 13:14:05 +0200<br>From: "David Schmidt" <mail@davidschmidt.at><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: <1d7693a6-a881-4518-ae47-b03bd290dfc4@app.fastmail.com><br>Content-Type: text/plain; charset="utf-8"<br><br>hi<br><br>add that path to your PERL5LIB env var<br><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>cheers<br>david<br><br>On Fri, 28 Oct 2022, at 1:02 PM, Michael Kuhn wrote:<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 /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>> 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>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20221028/ab2a3fb6/attachment-0001.htm><br><br>------------------------------<br><br>Message: 3<br>Date: Fri, 28 Oct 2022 13:34:15 +0200<br>From: Michael Kuhn <mik@adminkuhn.ch><br>To: koha-devel@lists.koha-community.org, Koha<br>    <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: <c011b231-d413-a998-53b3-02c301a6deaf@adminkuhn.ch><br>Content-Type: text/plain; charset=UTF-8; format=flowed<br><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 <br>ran "bulkmarcimport.pl" (and I do this a lot).<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>Am 28.10.22 um 13:14 schrieb David Schmidt:<br>> hi<br>> <br>> add that path to your PERL5LIB env var<br>> <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>> cheers<br>> david<br><br><br>Am 28.10.22 um 13:06 schrieb Indranil Das Gupta:<br> > Hi Michael<br> ><br> >  From the snippet shared by you, it seems that you are missing:<br> ><br> > export PERL5LIB="/usr/share/koha/lib"<br> ><br> > cheers<br> > -idg<br><br><br><br>> On Fri, 28 Oct 2022, at 1:02 PM, Michael Kuhn wrote:<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 <mailto:mik@adminkuhn.ch> <br>>> · W www.adminkuhn.ch <http://www.adminkuhn.ch><br>>> _______________________________________________<br>>> Koha-devel mailing list<br>>> Koha-devel@lists.koha-community.org <br>>> <mailto:Koha-devel@lists.koha-community.org><br>>> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <br>>> <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel><br>>> website : https://www.koha-community.org/ <br>>> <https://www.koha-community.org/><br>>> git : https://git.koha-community.org/ <https://git.koha-community.org/><br>>> bugs : https://bugs.koha-community.org/ <https://bugs.koha-community.org/><br>>><br>> <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>------------------------------<br><br>Message: 4<br>Date: Fri, 28 Oct 2022 15:44:56 +0200<br>From: "David Schmidt" <mail@davidschmidt.at><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: <b0d12407-d579-4ef1-bc3f-dc3f0935ee47@app.fastmail.com><br>Content-Type: text/plain; charset="utf-8"<br><br>could it be that you were executing the command with a different user?<br><br>On Fri, 28 Oct 2022, at 1:34 PM, 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 <br>> ran "bulkmarcimport.pl" (and I do this a lot).<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>> Am 28.10.22 um 13:14 schrieb David Schmidt:<br>> > hi<br>> > <br>> > add that path to your PERL5LIB env var<br>> > <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>> > cheers<br>> > david<br>> <br>> <br>> Am 28.10.22 um 13:06 schrieb Indranil Das Gupta:<br>> > Hi Michael<br>> ><br>> >  From the snippet shared by you, it seems that you are missing:<br>> ><br>> > export PERL5LIB="/usr/share/koha/lib"<br>> ><br>> > cheers<br>> > -idg<br>> <br>> <br>> <br>> > On Fri, 28 Oct 2022, at 1:02 PM, Michael Kuhn wrote:<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 <mailto:mik@adminkuhn.ch> <br>> >> · W www.adminkuhn.ch <http://www.adminkuhn.ch><br>> >> _______________________________________________<br>> >> Koha-devel mailing list<br>> >> Koha-devel@lists.koha-community.org <br>> >> <mailto:Koha-devel@lists.koha-community.org><br>> >> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <br>> >> <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel><br>> >> website : https://www.koha-community.org/ <br>> >> <https://www.koha-community.org/><br>> >> git : https://git.koha-community.org/ <https://git.koha-community.org/><br>> >> bugs : https://bugs.koha-community.org/ <https://bugs.koha-community.org/><br>> >><br>> > <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>> 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>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20221028/b51cd923/attachment.htm><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 18<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>