Re: [Koha] Koha 22.05.04: Can't locate Koha/Script.pm in @INC

2022-10-28 Thread Tomas Cohen Arazi
Are you by chance running the command in the root shell? You should always
run it inside koha-shell

El vie, 28 oct 2022 8:03, Michael Kuhn  escribió:

> Hi
>
> I am running a fresh installation of Koha 22.05.04 on Debian 11.
>
> I am trying to load some data using "bulkmarcimport.pl":
>
> # export KOHA_CONF=/etc/koha/sites/library/koha-conf.xml
> # /usr/share/koha/bin/migration_tools/bulkmarcimport.pl -b -m marcxml
> -framework=ABC -file TITEL.marcxml -v 2
> Can't locate Koha/Script.pm in @INC (you may need to install the
> Koha::Script module) (@INC contains: /etc/perl
> /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1
> /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5
> /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32
> /usr/share/perl/5.32 /usr/local/lib/site_perl) at
> /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 13.
> BEGIN failed--compilation aborted at
> /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 13.
>
> "Script.pm" seems to be there:
>
> # ls -al /usr/share/koha/lib/Koha/Script.pm
> -rw-r--r-- 1 root root 4129 24. Aug 07:51
> /usr/share/koha/lib/Koha/Script.pm
>
> How can I get script "bulkmarcimport.pl" to actually run?
>
> Best wishes: Michael
> --
> Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
> Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
> T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch · W www.adminkuhn.ch
> ___
>
> Koha mailing list  http://koha-community.org
> Koha@lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>
___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] Koha packages are available 🎁

2022-10-28 Thread Mason James

kia ora community,

the latest Koha packages are available

an installation guide is below...
https://wiki.koha-community.org/wiki/Koha_on_Debian


cheers, Mason
___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] [Koha-devel] Koha 22.05.04: Can't locate Koha/Script.pm in @INC

2022-10-28 Thread Mason James

On 29/10/22 12:34 am, Michael Kuhn wrote:

Hi David and Indranil

Thank you very much, this works!

Interestingly addin variable PERL5LIB was never before necessary when I ran 
"bulkmarcimport.pl" (and I do this a lot).

Best wishes: Michael


hi Michael

i think it's always been necessary to have the PERL5LIB set correctly
___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] [Koha-devel] Koha 22.05.04: Can't locate Koha/Script.pm in @INC

2022-10-28 Thread Michael Kuhn

Hi David and Indranil

Thank you very much, this works!

Interestingly addin variable PERL5LIB was never before necessary when I 
ran "bulkmarcimport.pl" (and I do this a lot).


Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch · W www.adminkuhn.ch



Am 28.10.22 um 13:14 schrieb David Schmidt:

hi

add that path to your PERL5LIB env var

$ export PERL5LIB=/usr/share/koha/lib
$ /usr/share/koha/bin/migration_tools/bulkmarcimport.pl -b -m marcxml
-framework=ABC -file TITEL.marcxml -v 2

cheers
david



Am 28.10.22 um 13:06 schrieb Indranil Das Gupta:
> Hi Michael
>
>  From the snippet shared by you, it seems that you are missing:
>
> export PERL5LIB="/usr/share/koha/lib"
>
> cheers
> -idg




On Fri, 28 Oct 2022, at 1:02 PM, Michael Kuhn wrote:

Hi

I am running a fresh installation of Koha 22.05.04 on Debian 11.

I am trying to load some data using "bulkmarcimport.pl":

# export KOHA_CONF=/etc/koha/sites/library/koha-conf.xml
# /usr/share/koha/bin/migration_tools/bulkmarcimport.pl -b -m marcxml
-framework=ABC -file TITEL.marcxml -v 2
Can't locate Koha/Script.pm in @INC (you may need to install the
Koha::Script module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1
/usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32
/usr/share/perl/5.32 /usr/local/lib/site_perl) at
/usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 13.
BEGIN failed--compilation aborted at
/usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 13.

"Script.pm" seems to be there:

# ls -al /usr/share/koha/lib/Koha/Script.pm
-rw-r--r-- 1 root root 4129 24. Aug 07:51 
/usr/share/koha/lib/Koha/Script.pm


How can I get script "bulkmarcimport.pl" to actually run?

Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch  
· W www.adminkuhn.ch 

___
Koha-devel mailing list
koha-de...@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/ 




___
Koha-devel mailing list
koha-de...@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/



___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] [Koha-devel] Koha 22.05.04: Can't locate Koha/Script.pm in @INC

2022-10-28 Thread Indranil Das Gupta
Hi Michael

From the snippet shared by you, it seems that you are missing:

export PERL5LIB="/usr/share/koha/lib"

cheers
-idg


On Fri, Oct 28, 2022, 16:32 Michael Kuhn  wrote:

> Hi
>
> I am running a fresh installation of Koha 22.05.04 on Debian 11.
>
> I am trying to load some data using "bulkmarcimport.pl":
>
> # export KOHA_CONF=/etc/koha/sites/library/koha-conf.xml
> # /usr/share/koha/bin/migration_tools/bulkmarcimport.pl -b -m marcxml
> -framework=ABC -file TITEL.marcxml -v 2
> Can't locate Koha/Script.pm in @INC (you may need to install the
> Koha::Script module) (@INC contains: /etc/perl
> /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1
> /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5
> /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32
> /usr/share/perl/5.32 /usr/local/lib/site_perl) at
> /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 13.
> BEGIN failed--compilation aborted at
> /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 13.
>
> "Script.pm" seems to be there:
>
> # ls -al /usr/share/koha/lib/Koha/Script.pm
> -rw-r--r-- 1 root root 4129 24. Aug 07:51
> /usr/share/koha/lib/Koha/Script.pm
>
> How can I get script "bulkmarcimport.pl" to actually run?
>
> Best wishes: Michael
> --
> Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
> Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
> T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch · W www.adminkuhn.ch
> ___
> Koha-devel mailing list
> koha-de...@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/
>
___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] Koha 22.05.04: Can't locate Koha/Script.pm in @INC

2022-10-28 Thread Michael Kuhn

Hi

I am running a fresh installation of Koha 22.05.04 on Debian 11.

I am trying to load some data using "bulkmarcimport.pl":

# export KOHA_CONF=/etc/koha/sites/library/koha-conf.xml
# /usr/share/koha/bin/migration_tools/bulkmarcimport.pl -b -m marcxml 
-framework=ABC -file TITEL.marcxml -v 2
Can't locate Koha/Script.pm in @INC (you may need to install the 
Koha::Script module) (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 
/usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 
/usr/share/perl/5.32 /usr/local/lib/site_perl) at 
/usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 13.
BEGIN failed--compilation aborted at 
/usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 13.


"Script.pm" seems to be there:

# ls -al /usr/share/koha/lib/Koha/Script.pm
-rw-r--r-- 1 root root 4129 24. Aug 07:51 /usr/share/koha/lib/Koha/Script.pm

How can I get script "bulkmarcimport.pl" to actually run?

Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch · W www.adminkuhn.ch
___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Question on OPACUserCSS

2022-10-28 Thread Bruns, Anke
Hi and thanks, Lucas, Andy and Thomas (Lucas, Bruns is my last name btw. 😉 ),

Now I tried:

- using a URL instead of the relative path from /usr/share/koha/opac/htdocs 
(Thomas)
- Adding the body * element recommended by Andy.

And different combinations of both.

Result stays the same.

Lucas, I'll send you the URL off-list.

Kind regards,
Anke



> -Ursprüngliche Nachricht-
> Von: Koha  Im Auftrag von Thomas
> Klausner
> Gesendet: Freitag, 28. Oktober 2022 00:47
> An: koha@lists.katipo.co.nz
> Betreff: Re: [Koha] Question on OPACUserCSS
> 
> Hi!
> 
> On Thu, Oct 27, 2022 at 02:25:48PM +, Bruns, Anke wrote:
> 
> > we are struggling with a background image for the OPAC pages.
> >
> > The description of the parameter OPACUserCSS says " Include the following
> > CSS on all pages in the OPAC". However, the style declaration
> >
> > body {
> >   background-image: url(path/to/our/image.jpg);
> 
> seems like you're using a relative path to the image
> 
> > So, obviously, it makes a difference if the start page is reached via
> >
> > https://our.opac.url or
> > https://our.opac.url/cgi-bin/koha/opac-main.pl
> 
> and here you are using different base paths, so maybe the image is just
> not found in one case or the other? Have you checked the Network Tools
> in your Browser? There you should see if the background image cannot be
> loaded (404)
> 
> Greetings,
> domm
> 
> --
> #!/usr/bin/perl https://domm.plix.at
> for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
> ___
> 
> Koha mailing list  http://koha-community.org
> Koha@lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha