[EP-tech] Re: IRStats2 process_stats error message

Alan.Stiles alan.stiles at open.ac.uk
Wed Feb 3 13:43:39 GMT 2016

Hi Andrew,

Have you tried running process stats from the command line with "--verbose --verbose" ? It might give you a clue as to what record it is failing on.


From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Andrew Hercules
Sent: 03 February 2016 13:08
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] IRStats2 process_stats error message

Hi there,

Just wondering if anybody has come across this error message when running cfg/bin/stats/process_stats:

Can't call method "context" on an undefined value at lib/plugins/EPrints/Plugin/Stats/Processor/EPrint/CacheDownloads.pm line 43.

I've gone into CacheDownloads.pm and can't see any error in the script. And I've run a diff on the file and compared it to other repositories with IRStats2 and there's no differences.

Unfortunately, I think this error message is preventing some of the key figures from showing on the main stats report page.

Thanks for your help!



Andrew Hercules
Developer & UX Strategist
University of London Computer Centre
Senate House, Malet Street, London WC1E 7HU
T: +44 (0)20 7863 1342
E: andrew.hercules at ulcc.ac.uk<mailto:andrew.hercules at ulcc.ac.uk>
W: http://www.ulcc.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/20160203/a40c4025/attachment-0001.html 

More information about the Eprints-tech mailing list