EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #02253
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Writing a Bazaar plugin
- To: <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Writing a Bazaar plugin
- From: sf2 <sf2@ecs.soton.ac.uk>
- Date: Tue, 08 Oct 2013 10:18:52 +0100
Hi Ian, Can you make sure that: 1- your zz_rj_broker.pl file has been copied to your ~/eprints/archives/<id>/cfg/cfg.d/ directory? 2- you have reloaded Apache? & give it another try? I did test your extensions (ok I copied your PM files directly to perl_lib for the sake of testing...) and it worked. Seb. On Tue, 08 Oct 2013 10:21:33 +0100, Ian Stuart <Ian.Stuart@ed.ac.uk> wrote: > I'm trying to convert an EPrints 3.2 extension > (https://github.com/edina/RJ_Broker_Importer_3.2) to an EPrints 3.3 > Bazaar Plugin - as an extension of the SWORD 1.3 plugin. > > I know the 3.2 layout works in 3.3.5 & 3.3.12 (with one caveat, which > could be pushed into the GitHub code.) > > I'm now trying to convert this into a Bazaar package: > The config file is ~~/eprints/lib/epm/RJ_Broker/cfg/cfg.d/zz_rj_broker.pl > The package files are: > ~~/eprints/lib/plugins/EPrints/Plugin/Sword/Import/RJ_Broker.pm and > ~~/eprints/lib/plugins/EPrints/Plugin/Sword/Unpack/Sub_Zip.pm > > I've enabled the plugins in the config file: > # Ensure the plugin is enabled > $c->{plugins}->{"Sword::Import::RJ_Broker"}->{params}->{disable} = 0; > $c->{plugins}->{"Sword::Unpack::Sub_Zip"}->{params}->{disable} = 0; > > I have installed a clean repo and added both the SWORD v1.3 package from > the Bazaar and my .epm package. > > The servicedocument responds, with my importer listed > When I post a deposit, I get the following error > > [SWORD-DEPOSIT] [INTERNAL-ERROR] Failed to load the plugin > 'Sword::Import::RJ_Broker'. Make sure SWORD is properly configured. > > Any suggestions?
- References:
- [EP-tech] Writing a Bazaar plugin
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Writing a Bazaar plugin
- Prev by Date: [EP-tech] Writing a Bazaar plugin
- Next by Date: [EP-tech] Re: Writing a Bazaar plugin
- Previous by thread: [EP-tech] Writing a Bazaar plugin
- Next by thread: [EP-tech] Re: Writing a Bazaar plugin
- Index(es):