bulkmarcimport error

View: New views
3 Messages — Rating Filter:   Alert me  

bulkmarcimport error

by Amy Schuler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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@...

 

 


_______________________________________________
Koha mailing list
Koha@...
http://lists.katipo.co.nz/mailman/listinfo/koha

Re: bulkmarcimport error

by Jesse-34 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



2009/11/10 Amy Schuler <schulera@...>

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@...

 

 


_______________________________________________
Koha mailing list
Koha@...
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@...
http://lists.katipo.co.nz/mailman/listinfo/koha

Re: bulkmarcimport error

by nitesh rijal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>


2009/11/10 Amy Schuler <schulera@...>

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@...

 

 


_______________________________________________
Koha mailing list
Koha@...
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@...
http://lists.katipo.co.nz/mailman/listinfo/koha




--
Nitesh Rijal
BE IT
http://niteshrijal.com.np
+9779841458173

_______________________________________________
Koha mailing list
Koha@...
http://lists.katipo.co.nz/mailman/listinfo/koha