Good morning, Sorry for the re-post. I did not receive any responses so I will try once more in case there are any bright ideas A few days ago it was suggested to me that my environmental variables Koha_conf and PERL5LIB were not set up, which may lead to the problems I had running the migration tools (bulkmarcimport, authority import) . It seems to me that my environmental variables are set up correctly. Here we have run the echo command and also tried bulk authority import again. If this printout below suggests anything new, I am grateful to hear your thoughts. Thanks again! koha@Koha3:~/kohaclone/misc/migration_tools$ echo $KOHA_CONF && echo $PERL5LIB /home/koha/koha-dev/etc/koha-conf.xml /etc/perl/C4 koha@Koha3:~/kohaclone/misc/migration_tools$ ./bulkauthimport.pl -file bulkauthimport.xml Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321. read_config_file() returned undef at /etc/perl/C4/Context.pm line 321. Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321. read_config_file() returned undef at /etc/perl/C4/Context.pm line 321. Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321. read_config_file() returned undef at /etc/perl/C4/Context.pm line 321. Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321. read_config_file() returned undef at /etc/perl/C4/Context.pm line 321. Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321. read_config_file() returned undef at /etc/perl/C4/Context.pm line 321. Can't call method "config" on unblessed reference at /etc/perl/C4/Context.pm line 655. Compilation failed in require at /etc/perl/C4/Items.pm line 30. Compilation failed in require at /etc/perl/C4/XSLT.pm line 22. BEGIN failed--compilation aborted at /etc/perl/C4/XSLT.pm line 22. Compilation failed in require at /etc/perl/C4/Search.pm line 27. BEGIN failed--compilation aborted at /etc/perl/C4/Search.pm line 27. Compilation failed in require at /etc/perl/C4/AuthoritiesMarc.pm line 24. BEGIN failed--compilation aborted at /etc/perl/C4/AuthoritiesMarc.pm line 24. Compilation failed in require at ./bulkauthimport.pl line 20. BEGIN failed--compilation aborted at ./bulkauthimport.pl line 20. Amy C. Schuler Manager of Information Services Cary Institute of Ecosystem Studies PO Box AB Millbrook, NY 12545 (845) 677-7600 x164 schulera@caryinstitute.org<mailto:schulera@ecostudies.org>
Hi Amy 2010/1/14 Amy Schuler <schulera@caryinstitute.org>
Good morning,
Sorry for the re-post. I did not receive any responses so I will try once more in case there are any bright ideas
Perhaps you missed my response, so I'll repost it below. Kind Regards, Chris Hi Amy, 2010/1/7 Amy Schuler <schulera@caryinstitute.org>:
koha@Koha3:~/kohaclone/misc/migration_tools$ ./bulkauthimport.pl -file bulkauthimport.xml
You need to supply the -m parameter: '-m MARCXML' as I assume your records are in xml format from your file extension. See 'perl bulkauthimport.pl -h' for more info on commandline params.
I am also interested in the response to Luis Diaz recent question, about
how
to make sure that zebra indexing is actually working when you have chosen to use the zebra indexing after the initial web installer setup (turning nozebra sys pref OFF, then running rebuild_zebra.pl – is this all it takes?)
You can 'sudo ps -ef | grep zebra' at the command line to verify that the daemon is running. Searches that work with the nozebra syspref off should also indicate zebra is running and healthy. Kind Regards, Chris
2010/1/15 Amy Schuler <schulera@caryinstitute.org>:
Good morning,
Sorry for the re-post. I did not receive any responses so I will try once more in case there are any bright ideas
A few days ago it was suggested to me that my environmental variables Koha_conf and PERL5LIB were not set up, which may lead to the problems I had running the migration tools (bulkmarcimport, authority import) .
It seems to me that my environmental variables are set up correctly. Here we have run the echo command and also tried bulk authority import again. If this printout below suggests anything new, I am grateful to hear your thoughts.
Thanks again!
koha@Koha3:~/kohaclone/misc/migration_tools$ echo $KOHA_CONF && echo $PERL5LIB /home/koha/koha-dev/etc/koha-conf.xml
/etc/perl/C4
Hi Amy And /home/koha/koha-dev/etc/koha-conf.xml definitely exists and is readable ? Chris
koha@Koha3:~/kohaclone/misc/migration_tools$ ./bulkauthimport.pl -file bulkauthimport.xml Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321.
read_config_file() returned undef at /etc/perl/C4/Context.pm line 321.
Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321.
read_config_file() returned undef at /etc/perl/C4/Context.pm line 321.
Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321.
read_config_file() returned undef at /etc/perl/C4/Context.pm line 321.
Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321.
read_config_file() returned undef at /etc/perl/C4/Context.pm line 321.
Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321.
read_config_file() returned undef at /etc/perl/C4/Context.pm line 321.
Can't call method "config" on unblessed reference at /etc/perl/C4/Context.pm line 655.
Compilation failed in require at /etc/perl/C4/Items.pm line 30.
Compilation failed in require at /etc/perl/C4/XSLT.pm line 22.
BEGIN failed--compilation aborted at /etc/perl/C4/XSLT.pm line 22.
Compilation failed in require at /etc/perl/C4/Search.pm line 27.
BEGIN failed--compilation aborted at /etc/perl/C4/Search.pm line 27.
Compilation failed in require at /etc/perl/C4/AuthoritiesMarc.pm line 24.
BEGIN failed--compilation aborted at /etc/perl/C4/AuthoritiesMarc.pm line 24.
Compilation failed in require at ./bulkauthimport.pl line 20.
BEGIN failed--compilation aborted at ./bulkauthimport.pl line 20.
Amy C. Schuler
Manager of Information Services
Cary Institute of Ecosystem Studies
PO Box AB
Millbrook, NY 12545
(845) 677-7600 x164
schulera@caryinstitute.org
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
2010/1/14 Amy Schuler <schulera@caryinstitute.org>
Good morning,
Sorry for the re-post. I did not receive any responses so I will try once more in case there are any bright ideas
A few days ago it was suggested to me that my environmental variables Koha_conf and PERL5LIB were not set up, which may lead to the problems I had running the migration tools (bulkmarcimport, authority import) .
It seems to me that my environmental variables are set up correctly. Here we have run the echo command and also tried bulk authority import again. If this printout below suggests anything new, I am grateful to hear your thoughts.
Thanks again!
koha@Koha3:~/kohaclone/misc/migration_tools$ echo $KOHA_CONF && echo $PERL5LIB /home/koha/koha-dev/etc/koha-conf.xml
/etc/perl/C4
koha@Koha3:~/kohaclone/misc/migration_tools$ ./bulkauthimport.pl -file bulkauthimport.xml Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321.
read_config_file() returned undef at /etc/perl/C4/Context.pm line 321.
Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321.
read_config_file() returned undef at /etc/perl/C4/Context.pm line 321.
Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321.
read_config_file() returned undef at /etc/perl/C4/Context.pm line 321.
Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321.
read_config_file() returned undef at /etc/perl/C4/Context.pm line 321.
Use of uninitialized value $conf_fname in concatenation (.) or string at /etc/perl/C4/Context.pm line 321.
read_config_file() returned undef at /etc/perl/C4/Context.pm line 321.
Can't call method "config" on unblessed reference at /etc/perl/C4/Context.pm line 655.
Compilation failed in require at /etc/perl/C4/Items.pm line 30.
Compilation failed in require at /etc/perl/C4/XSLT.pm line 22.
BEGIN failed--compilation aborted at /etc/perl/C4/XSLT.pm line 22.
Compilation failed in require at /etc/perl/C4/Search.pm line 27.
BEGIN failed--compilation aborted at /etc/perl/C4/Search.pm line 27.
Compilation failed in require at /etc/perl/C4/AuthoritiesMarc.pm line 24.
BEGIN failed--compilation aborted at /etc/perl/C4/AuthoritiesMarc.pm line 24.
Compilation failed in require at ./bulkauthimport.pl line 20.
BEGIN failed--compilation aborted at ./bulkauthimport.pl line 20.
Are these environment variables exported, or merely set? You can test using: env | grep KOHA_CONF If you've set KOHA_CONF (for example) using the following: KOHA_CONF=/home/koha/koha-dev/etc/koha-conf.xml then it will not be passed to launched programs. Make sure you're using export for both of them: export KOHA_CONF=/home/koha/koha-dev/etc/koha-conf.xml export PERL5LIB=/etc/perl/C4 -- Jesse Weaver
participants (4)
-
Amy Schuler -
Chris Cormack -
Chris Nighswonger -
Jesse