On 2007/12/13, at 5:08 PM, Bradley Peters wrote:
Hello,
I was poking around the installation of koha that I made using the tarball linked earlier by Galen Charlton. Once I got the install done and entered some settings I tried to use the bulkmarcimport.pl command. Which failed with the following message:
Undefined subroutine &main::GetMarcFromKohaField called at ./bulkmarcimport.pl line 219.
heya Bradley , easy questions 1st have you got your KOHA_CONF var set ok? and your PERL5LIB set var set too? those are the usual suspects.. mason$/koha/production/koha/misc/migration_tools$ export declare -x KOHA_CONF="/opt/koha/etc/koha.xml" declare -x PERL5LIB="/opt/koha/production/koha" PS: your paths will be different to mine :) then... mason$/koha/production/koha/misc/migration_tools$ perl ./ bulkmarcimport.pl -file ~/5000.mrc ........................................................................ ......100 ........................................................................ ...200 ........................................................................ ...300 Cheers, Mason -- Mason James mason.james@liblime.com Programmer www.liblime.com LibLime +64 21 542 117