[Koha] Problem importing authority records

LAURENT Henri-Damien henridamien.laurent at biblibre.com
Wed Jan 6 05:15:00 NZDT 2010


Hi Amy,
it seems you have not set PERL5LIB and KOHA_CONF environment variable 
before launching commandline scripts as you have to do.
export KOHA_CONF=/path/to/koha-conf.xml
export PERL5LIB=/path/to/koha_source
before running the commandline script
Hope this helps.
-- 
Henri-Damien LAURENT
Amy Schuler wrote:
>
> Hello,
>
> We just ran the bulkauthimport script and it returned the following:
>
>
> koha at 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.
>
> 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.
>
>  
>
> This looks a lot like the error I get when I run bulkmarcimport, 
> also.  Thankfully I was able to get my marc records (and items) into 
> Koha using the web interface.  However, the fact that I cannot seem to 
> get any (or most) of these scripts to run is problematic.  I cannot 
> seem to get rebuild_zebra to work either.  I mention these other 
> problems in case they help with this latest authority import problem.  
> I am running Koha 3.0
>
> Thanks!
>
> Amy
>
>
> <mailto:schulera at ecostudies.org>
>


More information about the Koha mailing list