EPrints Technical Mailing List Archive
Message: #03839
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: CLI Import
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: CLI Import
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- Date: Fri, 23 Jan 2015 13:51:00 +0000
Hi Ray As to point 1, you are correct. This is not supported in 3.2.2 (I downloaded it and checked the script). Point 2 is believable. I think you may be using the import script in a way that wasn't envisaged. Perhaps you could let us know what you're trying to achieve, and we could suggest alternative routes to getting it sorted out. I tend to control large imports from perl scripts using the API directly rather than from bash scripts. -- Adam Field Business Relationship Manager and Community Lead EPrints Services On 22 Jan 2015, at 16:09, CARRICK Ray wrote: > Hi folks, > > I have created a import plugin which uses the eprints/bin/import command > > http://wiki.eprints.org/w/API:bin/import > > and have 2 problems with it. > > 1. in the doc it says you can pass arguments to the plugin by > > --argument key=value > > this doesn't seem to be implemented in version EPrints 3.2.2 (Chocolate Cake) > > 2. the return value of the plugin seems to get hidden by the import command. If I test the return value of the import command in a shell script it seems to return success no matter what. > > Is there any other way to pass in parameters to the plugin and any way to get the success/failure of the plugin back out. > > Any thoughts appreciated. > > Thanks, > > Ray. > > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech > *** Archive: http://www.eprints.org/tech.php/ > *** EPrints community wiki: http://wiki.eprints.org/ > *** EPrints developers Forum: http://forum.eprints.org/
- References:
- [EP-tech] CLI Import
- From: CARRICK Ray <rcarric2@exseed.ed.ac.uk>
- [EP-tech] CLI Import
- Prev by Date: [EP-tech] Re: Can't find configuration files
- Next by Date: [EP-tech] Re: CLI Import
- Previous by thread: [EP-tech] CLI Import
- Next by thread: [EP-tech] Re: CLI Import
- Index(es):