EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #05386


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: IRStats2 process_stats error message


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.

 

Alan

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Hercules
Sent: 03 February 2016 13:08
To: eprints-tech@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!

 

Cheers,


Andrew

 

--

Andrew Hercules

Developer & UX Strategist

University of London Computer Centre

Senate House, Malet Street, London WC1E 7HU

T: +44 (0)20 7863 1342

-- 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.