[Koha] bulkmarcimport error
nitesh rijal
rijal.it at gmail.com
Wed Nov 11 17:37:03 NZDT 2009
I had the similar problem and I did the following. It is working.
I assume that you have installed koha in /usr/share/koha
Now you need to do the following:
$ sudo cp -a /usr/share/koha/lib/* /etc/perl
2009/11/10 Jesse <pianohacker at gmail.com>
>
>
> 2009/11/10 Amy Schuler <schulera at caryinstitute.org>
>
>> Hello,
>>
>> Recently, I finally ran Bulkmarcimport.pl to import a batch of my MARC
>> records into my newly installed Koha 3.0001005. Here is the error
>> message I received:
>>
>>
>>
>> unable to locate Koha configuration file koha-conf.xml at
>> /etc/perl/C4/Context.pm line 312.
>>
>> unable to locate Koha configuration file koha-conf.xml at
>> /etc/perl/C4/Context.pm line 312.
>>
>> unable to locate Koha configuration file koha-conf.xml at
>> /etc/perl/C4/Context.pm line 312.
>>
>> unable to locate Koha configuration file koha-conf.xml at
>> /etc/perl/C4/Context.pm line 312.
>>
>> Can't call method "config" on unblessed reference at
>> /etc/perl/C4/Context.pm line 654.
>>
>> Compilation failed in require at /etc/perl/C4/Items.pm line 30.
>>
>> Compilation failed in require at kohaclone/misc/migration_tools/
>> bulkmarcimport.pl line 24.
>>
>> BEGIN failed--compilation aborted at kohaclone/misc/migration_tools/
>> bulkmarcimport.pl line 24.
>>
>>
>>
>> I googled this error, and in a Koha listserve archive I read that I should
>> export PERL5LIB=/home/koha/kohaclone. I checked with my IT guy about
>> this, and he told me that PERL5LIB path is already set to
>> /home/koha/kohaclone. Neither one of us has any other ideas. Do you?
>>
>>
>>
>> Thanks again to all of you who have provided advice & assistance over the
>> past few months. I truly appreciate it and hope that I will be able to
>> repay the debt someday by helping other new users of Koha…
>>
>>
>>
>> Amy
>>
>>
>>
>> Amy C. Schuler
>>
>> Manager of Information Services
>>
>> Cary Institute of Ecosystem Studies
>>
>> PO Box AB
>>
>> Millbrook, NY 12545
>>
>> (845) 677-7600 x164
>>
>> schulera at caryinstitute.org <schulera at ecostudies.org>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Koha mailing list
>> Koha at lists.katipo.co.nz
>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>
>>
> You have to export one other environment variable:
>
> KOHA_CONF=/etc/koha/koha-conf.xml
>
> The actual path will vary based on where you installed Koha to, but the
> filename will always be koha-conf.xml.
>
> --
> Jesse Weaver
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
>
--
Nitesh Rijal
BE IT
http://niteshrijal.com.np
+9779841458173
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20091110/8a997596/attachment.htm
More information about the Koha
mailing list