[Koha] importing authorities
Nicole Engard
nengard at gmail.com
Sat Dec 5 11:18:24 NZDT 2009
Bleh :(
nengard at debian:~/kohaclone/misc/migration_tools$ perl -I
/Users/nengard/kohaclone bulkauthimport.pl -file
/Users/nengard/Desktop/authoritymarc.mrc
Can't locate C4/Context.pm in @INC (@INC contains:
/Users/nengard/kohaclone /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at
bulkauthimport.pl line 18.
BEGIN failed--compilation aborted at bulkauthimport.pl line 18.
You have new mail in /var/mail/nengard
Nicole
On Fri, Dec 4, 2009 at 4:50 PM, Walls, Ian <Ian.Walls at med.nyu.edu> wrote:
> Nicole,
>
>
> Oh, that's the PERL5LIB thing. Try this:
>
> perl -I /Users/nengard/kohaclone bulkauthimport.pl -file /Users/nengard/Desktop/authoritymarc.mrc
>
> Assuming that path after the -I is where your kohaclone is.
>
>
> -Ian
>
>
> -----Original Message-----
> From: Nicole Engard [mailto:nengard at gmail.com]
> Sent: Friday, December 04, 2009 4:47 PM
> To: Walls, Ian
> Cc: Owen Leonard; Koha List
> Subject: Re: [Koha] importing authorities
>
> Oh poo -- looks like I'm missing something I need installed --
>
> nengard at debian:~/kohaclone/misc/migration_tools$ perl
> bulkauthimport.pl -file /Users/nengard/Desktop/authoritymarc.mrc
> Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
> /usr/local/lib/site_perl .) at bulkauthimport.pl line 18.
> BEGIN failed--compilation aborted at bulkauthimport.pl line 18.
> nengard at debian:~/kohaclone/misc/migration_tools$
>
> Hmmm
>
> 2009/12/4 Nicole Engard <nengard at gmail.com>:
>> Thank you! I will add this to the manual and use it right now :)
>>
>> On Fri, Dec 4, 2009 at 4:40 PM, Walls, Ian <Ian.Walls at med.nyu.edu> wrote:
>>> Nicole,
>>>
>>>
>>> You'd need a MARC file (either ISO2709 or MARCXML) with the authority data in it, and to navigate to the misc/migration_tools directory for your install. Then type:
>>>
>>> perl bulkauthimport.pl -file /path/to/file
>>>
>>> You can also use the -h flag to investigate other options. One really useful one is -m, which sets the incoming file format (ISO2709 or MARCXML).
>>>
>>> Oh, right, and be sure you've exported your PERL5LIB, so the script knows where to find the Koha Perl modules.
>>>
>>> Hope that's helpful! And yes, we should absolutely package up some example authorities to go with the sample catalog data and patrons.
>>>
>>>
>>> -Ian
>>>
>>> -----Original Message-----
>>> From: Nicole Engard [mailto:nengard at gmail.com]
>>> Sent: Friday, December 04, 2009 4:32 PM
>>> To: Walls, Ian
>>> Cc: Owen Leonard; Koha List
>>> Subject: Re: [Koha] importing authorities
>>>
>>> Ian do you know what command I need to type and what file I need to
>>> create to use bulkauthimport.pl?
>>>
>>> And Owen - yeah I think we should have some default Auth records we
>>> can fill the system with like we do with catalog data and patrons.
>>>
>>> Nicole
>>>
>>> On Fri, Dec 4, 2009 at 4:10 PM, Walls, Ian <Ian.Walls at med.nyu.edu> wrote:
>>>> As far as I know, the only way currently is to use bulkauthimport.pl. I would think it wouldn't be that difficult to modify the Stage MARC Records for Import tool to do authorities as well as biblios. My cataloger tells me that authorities are going to be particularly important in RDA, so we may want to consider beefing up that end of the codebase. I will happily look into it as I get the time.
>>>>
>>>> Cheers,
>>>>
>>>>
>>>> Ian Walls
>>>> Systems Integration Librarian
>>>> NYU Health Sciences Libraries
>>>> 550 First Ave., New York, NY 10016
>>>> (212) 263-8687
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: koha-bounces at lists.katipo.co.nz [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Owen Leonard
>>>> Sent: Friday, December 04, 2009 4:04 PM
>>>> To: Koha List
>>>> Subject: Re: [Koha] importing authorities
>>>>
>>>>> Is there a way to import authority records?
>>>>
>>>> If so, I'd love to get my hands on some MARC21 authority records. I
>>>> always end up creating a couple of dummy records, and having some to
>>>> import would be so much better for testing.
>>>>
>>>> -- Owen
>>>>
>>>> --
>>>> Web Developer
>>>> Athens County Public Libraries
>>>> http://www.myacpl.org
>>>> _______________________________________________
>>>> Koha mailing list
>>>> Koha at lists.katipo.co.nz
>>>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>>>
>>>> ------------------------------------------------------------
>>>> This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.
>>>> =================================
>>>>
>>>> _______________________________________________
>>>> Koha mailing list
>>>> Koha at lists.katipo.co.nz
>>>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>>>
>>>
>>> ------------------------------------------------------------
>>> This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.
>>> =================================
>>>
>>
>>
>
> ------------------------------------------------------------
> This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.
> =================================
>
More information about the Koha
mailing list