Hi Andrea, On Fri, Oct 16, 2009 at 1:51 PM, Andrea Schurr <Andrea-Schurr@utc.edu>wrote:
I'm trying to process a sample batch bib record load, and I'm getting the following error:
koha@Koha3:~/kohaclone$ export KOHA_CONF=/home/koha/kohaclone/etc/koha-conf.xml koha@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@Koha3:~/kohaclone$
It looks like you need to 'export PERL5LIB=/home/koha/kohaclone' as well. Kind Regards, Chris