[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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 at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Field A.N.
Sent: 02 October 2015 16:41
To: eprints-tech at 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 at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Field A.N.
> Sent: 02 October 2015 16:01
> To: eprints-tech at 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 at 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/