Re: [Koha] OAI-PMH Set Question

2017-11-23 Thread Pedro Amorim
Hello Alphie, That database error is expected (I think) because the script will always attempt to insert the records matching your mappings, regardless or already being in the set or not, unless you run with the -r *reset* flag. So just so I'm understanding correctly in the future, when will I

Re: [Koha] OAI-PMH Set Question

2017-11-22 Thread Alphie Garcia
Thanks, Mark. It gave me a different set of errors this time, but testing the sets in OAI, I see that the records are now displaying which is great. On the errors: Running perl /usr/share/koha/bin/migration_tools/build_oai_sets.pl in koha-shell gave me a 100 of these SQL errors: DBD::mysql::st

Re: [Koha] OAI-PMH Set Question

2017-11-22 Thread Mark Alexander
Excerpts from Alphie Garcia's message of 2017-11-22 09:56:03 -1000: > When I'm in Linux and type: > > perl /usr/share/koha/bin/migration_tools/build_oai_sets.pl > > > I get the following error: > > Can't locate C4/Context.pm in @INC (you may need to install the C4::Context > module) (@INC

Re: [Koha] OAI-PMH Set Question

2017-11-22 Thread Alphie Garcia
Apologies for the late reply, Pedro. I think this is where my newness is showing because I hadn't run the build_oai_sets.pl but I'm having trouble getting it to actually execute. When I'm in Linux and type: perl /usr/share/koha/bin/migration_tools/build_oai_sets.pl I get the following error:

Re: [Koha] OAI-PMH Set Question

2017-11-08 Thread Pedro Amorim
Hey Alphie, Just to make sure, did you run build_oai_sets.pl after you created the set + mapping? /usr/share/koha/bin/migration_tools/build_oai_sets.pl Regards, Pedro Amorim On 8 November 2017 at 00:42, Alphie Garcia wrote: > Hi, everyone, > > I'm a bit of a Koha newbie so

[Koha] OAI-PMH Set Question

2017-11-07 Thread Alphie Garcia
Hi, everyone, I'm a bit of a Koha newbie so I hope this is the appropriate place to send this question. I am trying to set up an OAI-PMH set in Koha that looks in the 949 field, $a for OUWKanopy. This info is definitely in the MARC records I've uploaded but for whatever reason, I get an error