[Koha] bulkmarcimport.pl problems

Han, Yan hany at u.library.arizona.edu
Fri May 18 05:06:48 NZST 2007


Besides changing file permission. 

Bulkmarcimport.pl takes mrc file, I believe. 

So the command should be: 
> ~/koha-2.2.9/scripts/misc/migration_tools# ./bulkmarcimport.pl -d -c
UNIMARC --file test.mrc 

You can use '-t' for testing purpose.
> ~/koha-2.2.9/scripts/misc/migration_tools# ./bulkmarcimport.pl -d -c
UNIMARC --file test.mrc -t

Yan

-----Original Message-----
From: koha-bounces at lists.katipo.co.nz
[mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Jason Ronallo
Sent: Thursday, May 17, 2007 9:25 AM
To: bo at weavebrain.com.au
Cc: koha at lists.katipo.co.nz
Subject: Re: [Koha] bulkmarcimport.pl problems

Try exporting environmental variables before running bulkmarcimport.
Something like:
export PERL5LIB=/path/to/koha/intranet/modules
For me on Debian Etch:
export PERL5LIB=/usr/local/koha/intranet/modules

--Jason

On 5/17/07, Bo Schafers <bo at weavebrain.com.au> wrote:
> Hi All,
>
> I'm new to the list and Koha. Hope you can help. Seems like I'm so 
> close, just stuck at the last hurdle?
>
> I think I have the installation (2.9.9 on Debian Etch, MySQL 5.0
> Apache2) up and running more or less the way its meant to, but after 
> many hours of reading though the documentation and trying various 
> commands, STILL cannot bulk-import records from an ISO2709 file.
> dumpmarc.pl runs fine, easily recognising the six entries. However 
> when I try to run bulkmarcimport.pl on the file it fails no matter
what I do...
>
> EXAMPLE:
> ~/koha-2.2.9/scripts/misc/migration_tools# ./bulkmarcimport.pl -d -c 
> UNIMARC --file test.mrk
> bash: ./bulkmarcimport.pl: Permission denied
>
> I have tried renaming the file and switching UNIMARK on in the admin 
> preferences and many other things. Please, what am i doing wrong, what

> elese can I try?
>
> TIA,
> Bo
>
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
_______________________________________________
Koha mailing list
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list