Hi Andrea,<br><br><div class="gmail_quote">On Fri, Oct 16, 2009 at 1:51 PM, Andrea Schurr <span dir="ltr"><<a href="mailto:Andrea-Schurr@utc.edu">Andrea-Schurr@utc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm trying to process a sample batch bib record load, and I'm getting the following error:<br>
<br>
koha@Koha3:~/kohaclone$ export KOHA_CONF=/home/koha/kohaclone/etc/koha-conf.xml<br>
koha@Koha3:~/kohaclone$ misc/migration_tools/<a href="http://bulkmarcimport.pl" target="_blank">bulkmarcimport.pl</a> -file /home/koha/kohaclone/misc/migration_tools/SampleMrkBibs2.mrc<br>
Use of uninitialized value $db_driver in concatenation (.) or string at C4/Context.pm line 666.<br>
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<br>
Compilation failed in require at C4/Items.pm line 30.<br>
Compilation failed in require at misc/migration_tools/<a href="http://bulkmarcimport.pl" target="_blank">bulkmarcimport.pl</a> line 24.<br>
BEGIN failed--compilation aborted at misc/migration_tools/<a href="http://bulkmarcimport.pl" target="_blank">bulkmarcimport.pl</a> line 24.<br>
koha@Koha3:~/kohaclone$<br>
</blockquote></div><br><br>It looks like you need to 'export PERL5LIB=/home/koha/kohaclone' as well.<br><br>Kind Regards,<br>Chris<br>