[Koha] Batch Marc Load Error

Chris Nighswonger cnighswonger at foundations.edu
Sat Oct 17 07:46:42 NZDT 2009


Hi Andrea,

On Fri, Oct 16, 2009 at 1:51 PM, Andrea Schurr <Andrea-Schurr at utc.edu>wrote:

> I'm trying to process a sample batch bib record load, and I'm getting the
> following error:
>
> koha at Koha3:~/kohaclone$ export
> KOHA_CONF=/home/koha/kohaclone/etc/koha-conf.xml
> koha at Koha3:~/kohaclone$ misc/migration_tools/bulkmarcimport.pl -file
> /home/koha/kohaclone/misc/migration_tools/SampleMrkBibs2.mrc
> Use of uninitialized value $db_driver in concatenation (.) or string at
> C4/Context.pm line 666.
> Can't connect to data source
> 'dbname=__DB_NAME__;host=__DB_HOST__;port=__DB_PORT__' because I can't work
> out what driver to use (it doesn't seem to contain a 'dbi:driver:' prefix
> and the DBI_DRIVER env var is not set) at C4/Context.pm line 666
> Compilation failed in require at C4/Items.pm line 30.
> Compilation failed in require at misc/migration_tools/bulkmarcimport.plline 24.
> BEGIN failed--compilation aborted at misc/migration_tools/
> bulkmarcimport.pl line 24.
> koha at Koha3:~/kohaclone$
>


It looks like you need to 'export PERL5LIB=/home/koha/kohaclone' as well.

Kind Regards,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20091016/750b18e1/attachment.htm 


More information about the Koha mailing list