[Koha-devel] FW: Importing Data

Joe Atzberger ohiocore at gmail.com
Fri Feb 20 17:11:24 CET 2009


You are missing the point of the PERL5LIB variable.  Set it to the directory
that contains the "C4" directory.  Not the location of the script.  Then
export it and try again.

--Joe

On Fri, Feb 20, 2009 at 9:36 AM, Roche III, Edward <
edward_roche at solanco.k12.pa.us> wrote:

>
> I changed the PERL5LIB value to the location of the script but still same
> error. Also tried running from the folder where the script is located but
> that gave me the same error as well.
>
>
>
> Any other ideas????
>
>
>
> Edward Roche
>
> Technology Support/Network Admin
>
> Solanco School District
>
> edward_roche at solanco.k12.pa.us
>
> 717.786.2151
>
>
>
> The greatest mistake you can make in life is to continually be afraid you will make one.
>
> Elbert Hubbard
>
>
>  ------------------------------
>
> *From:* Eric Bégin [mailto:Eric.Begin at inLibro.com]
> *Sent:* Thu 2/19/2009 10:25 AM
> *To:* Roche III, Edward
> *Subject:* Re: [Koha-devel] Importing Data
>
> Hi Ed,
>
> That is correct.
>
>
> Some people set this script to run every X minutes using crontab to update
> their catalog on a regular basis.
>
>
> Eric
>
> Roche III, Edward wrote:
>
>  Should be running this script from the command line, right? There isn't a
> link on Koha.
>
>
>
> Thanks
>
> Ed
>
>
>
> Edward J. Roche
>
> Network Administrator
>
> Solanco School District
>
> 717.786.2151 x2437
>
>
>
>
>
> "At the End of the Day, Did You Play to Win or Not to Lose?"
>
>
>
>    [image: 2976_Solanco_Comm_Graphic]                [image: MCP(rgb)]
>
>
>
>
>
> *From:* Eric Bégin [mailto:Eric.Begin at inLibro.com <Eric.Begin at inLibro.com>]
>
> *Sent:* Thursday, February 19, 2009 10:06 AM
> *To:* Roche III, Edward
> *Cc:* koha-devel
>
> *Subject:* Re: [Koha-devel] Importing Data
>
>
>
> Hi,
>
> I forgot to CCed the list in my previous email. (Am I doing to many things
> at once?)
>
> However, your error means that the C4 directory can not be reached by
> Perl.  You have too choices
>
> 1. Set the PERL5LIB environment variable to the path containing the C4 dir
> (check you koha-httpd.conf file)
> 2. Set your current directory to the path containing the C4 dir and run the
> script using a relative path.
>
> Eric
>
> Roche III, Edward wrote:
>
> !@#$%@%^^
>
>
>
> Here you go:
>
>
>
> *Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl .) at ./rebuild_zebra.pl line 5.*
>
> *BEGIN failed--compilation aborted at ./rebuild_zebra.pl line 5.*
>
>
>
>
>
>
>
> Thanks
>
> Ed
>
>
>
> Edward J. Roche
>
> Network Administrator
>
> Solanco School District
>
> 717.786.2151 x2437
>
>
>
>
>
> "At the End of the Day, Did You Play to Win or Not to Lose?"
>
>
>
>    [image: 2976_Solanco_Comm_Graphic]                [image: MCP(rgb)]
>
>
>
>
>
> *From:* Eric Bégin [mailto:Eric.Begin at inLibro.com <Eric.Begin at inLibro.com>]
>
> *Sent:* Thursday, February 19, 2009 9:50 AM
> *To:* Roche III, Edward
> *Subject:* Re: [Koha-devel] Importing Data
>
>
>
> Edward,
>
> You are right when you say you really do to much things at once :)
>
> I think you forgot to paste your error.
>
> Eric
>
> Roche III, Edward wrote:
>
> Has anyone come across this error run trying to run the rebuild_zebra.pl
> script?
>
>
>
> Thanks
>
> Ed
>
>
>
> Edward J. Roche
>
> Network Administrator
>
> Solanco School District
>
> 717.786.2151 x2437
>
>
>
>
>
> "At the End of the Day, Did You Play to Win or Not to Lose?"
>
>
>
>    [image: 2976_Solanco_Comm_Graphic]                [image: MCP(rgb)]
>
>
>
>
>
> *From:* Eric Bégin [mailto:Eric.Begin at inLibro.com <Eric.Begin at inLibro.com>]
>
> *Sent:* Wednesday, February 18, 2009 4:33 PM
> *To:* Roche III, Edward
> *Cc:* koha-devel at lists.koha.org
> *Subject:* Re: [Koha-devel] Importing Data
>
>
>
> Ed,
>
> After importing new record in your database, you need to reindex your
> database by running misc/migration_tools/rebuild_zebra.pl -b -w
>
> Let us know if this solved your problem.
>
> Eric
>
> Roche III, Edward wrote:
>
> Good Afternoon Everyone
>
>
>
> I was able to export my catalog data from Follett and I imported it into
> Koha with no errors and it confirmed that it added 16k+ records. The problem
> is when I do a search it isn't returning and listing.
>
>
>
>
>
> Did I miss something?
>
>
>
> Thanks
>
> Ed
>
>
>
> Edward J. Roche
>
> Network Administrator
>
> Solanco School District
>
> 717.786.2151 x2437
>
>
>
>
>
> "At the End of the Day, Did You Play to Win or Not to Lose?"
>
>
>
>    [image: 2976_Solanco_Comm_Graphic]                [image: MCP(rgb)]
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
>
> Koha-devel mailing list
>
> Koha-devel at lists.koha.org
>
> http://lists.koha.org/mailman/listinfo/koha-devel
>
>
>
>
>
>
>
> ------------------------------
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
>
> Koha-devel mailing list
>
> Koha-devel at lists.koha.org
>
> http://lists.koha.org/mailman/listinfo/koha-devel
>
>
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha.org
> http://lists.koha.org/mailman/listinfo/koha-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20090220/bc619c5d/attachment-0003.htm>


More information about the Koha-devel mailing list