EPrints Technical Mailing List Archive
Message: #04860
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Errors from event queue
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Errors from event queue
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Date: Tue, 6 Oct 2015 09:50:35 +0000
Thanks Adam and John, I've finally managed to see an error message from the indexer trying to process my job! For clarity to anyone else on the list; In ~/var/indexer.log the '~' in this instance effectively means the root of your eprints install (which may or may not be the same place as your eprints user home directory) Changes to functions called by the indexer may require a restart of the indexer (e.g. via the web interface) rather than, or possibly as well as, a restart of the apache service, in order for the changes to be picked up. Now to figure out how to make my function work properly! For some reason the indexer can see my event plugin function but trying to run it from the command line can't see the plugin... Alan -----Original Message----- From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of John Salter Sent: 05 October 2015 09:35 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] Re: Errors from event queue Hi Alan, As the event queue jobs are processed by the indexer, you should find things in ~/var/indexer.log If you're running multiple archives under one install of EPrints, you might not be able to tell which one the error logs are coming from. You can change that in ~/archives/ARCHIVEID/cfg/cfg.d/log.pl (commented out code) or cfg/cfg.d/core.pl ($c->{show_ids_in_log} = 1;) Cheers, John -----Original Message----- From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Field A.N. Sent: 02 October 2015 16:41 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] Re: Errors from event queue I've had this problem before. You know you can trigger event plugins with test script. See https://github.com/gobfrey/tweepository/blob/master/bin/tweepository/update_tweetstreams.pl Output comes out of STDERR as normal. -- Adam Field Business Relationship Manager and Community Lead EPrints Services +44 (0)23 8059 8814 On 2 Oct 2015, at 16:35, Alan.Stiles wrote: > Any idea where I'd find error messages from the event queue jobs? > I've tried a 'print STDERR' from the sub and I can't see it in the > httpd logs. There's also nothing there about the function not being > available to process Thanks, Alan > > -----Original Message----- > From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Field A.N. > Sent: 02 October 2015 16:01 > To: eprints-tech@ecs.soton.ac.uk > Subject: [EP-tech] Re: Updating a compound multiple field > > Your assumptions are all correct. > > -- > Adam Field > Business Relationship Manager and Community Lead EPrints Services > +44 (0)23 8059 8814 > > > > > > On 2 Oct 2015, at 15:37, martin.braendle@id.uzh.ch wrote: > >> Hi, >> >> just a short question: Am I assuming correctly if I update a compound >> multiple field with >> >> $dataobj->set_value( array of hashes ) >> >> that the new values overwrite the existing ones and are not appended to the existing values? >> >> E.g. if I want to keep the existing values, I need to read them out first and create a merged array with the new values that I have to write back? >> >> Thanks, >> >> Martin >> >> -- >> Dr. Martin Brändle >> Zentrale Informatik >> Universität Zürich >> Stampfenbachstr. 73 >> CH-8006 Zürich >> *** 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/ > > > *** 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/ > -- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority. > > *** 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/ *** 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/ *** 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] Errors from event queue
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- [EP-tech] Re: Errors from event queue
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: Errors from event queue
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Errors from event queue
- Prev by Date: [EP-tech] Re: Advanced Search by date
- Next by Date: [EP-tech] Re: Errors from event queue
- Previous by thread: [EP-tech] Re: Errors from event queue
- Next by thread: [EP-tech] Re: Errors from event queue
- Index(es):