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

[EP-tech] Event Queue question



Has anyone played with creating and executing events?

For some reason, when I create a new event and stop/start the indexer daemon (using --verbose --verbose -loglevel 6 ) , it fails my event with a message in the indexer.log to say the package is unavailable:

[Thu May 19 11:22:55 2016] 5764 ** Processing queue from oro
[Thu May 19 11:22:55 2016] 5764 oro:   urn:uuid:f8caad0e-69ba-435f-800a-ab2f05407daa Event::OrcidSync::update_affiliation( [ '/id/user/10565' ]  )
[Thu May 19 11:22:55 2016] [eprints] [urn:uuid:f8caad0e-69ba-435f-800a-ab2f05407daa] Event::OrcidSync::update_affiliation: Event::OrcidSync not available
[Thu May 19 11:22:55 2016] 5764 * tick: 5764
[Thu May 19 11:22:55 2016] 5764 ** Processing queue from oro
[Thu May 19 11:22:55 2016] 5764 ** Empty task list

But when I stop and then restart the indexer with the --retry flag it works fine and calls the appropriate function.

Any reason why "retry" would work when the normal operation doesn't?  (Package is in ~eprints3/lib/plugins/EPrints/Plugin/Event/OrcidSync.pm )

Cheers,

Alan Stiles
Digital Repository Developer
Library Services, The Open University
oro.open.ac.uk<http://oro.open.ac.uk/>

-- 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160519/127fd8ca/attachment.html