[Koha-devel] Error message from bulkmarcimport.pl

Mason James mason.james at liblime.com
Thu Dec 13 05:55:50 CET 2007


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 at liblime.com
Programmer                                         www.liblime.com
LibLime                                             +64 21 542 117


-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20071213/6ff8726a/attachment-0002.htm>


More information about the Koha-devel mailing list