EPrints Technical Mailing List Archive

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

Message: #06565


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

Re: [EP-tech] Issue setting up IRStats


Okay, so I’m hitting an error now when trying to access the stats.

 

Can’t call method “context” on an undefined value at /usr/share/eprints3/lib/plugins/EPrints/Plugin/Screen/IRStats2/Report.pm line 63.

 

The line in question is:

 

$processor->{stats}->{handler} = self->{session}->plugin( ‘Stats::Handler’ );

 

I know there are a couple of patches on GitHub however they suggest that they are only for EPrints 3.3.1 to 3.3.10 so I’m unsure if they’re relevant here?

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: 07 June 2017 10:08
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Issue setting up IRStats

 

Manually installed the deps as recommended by Enio (realised I wasn’t using CPAN right as well!) and everything seems to be working now.

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: 06 June 2017 14:36
To:
eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Issue setting up IRStats

 

Yes, installed via the Bazaar.

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Alan.Stiles
Sent: 06 June 2017 14:05
To:
eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Issue setting up IRStats

 

Hi Andrew,

Did you install IRStats via the Bazaar?  It sounds like you’re missing bits of the plugin which should be in [EPRINTS_ROOT]/lib/plugins/EPrints/Plugin/Stats/

(specifically Handler.pm )  which should have been installed by the bazaar.

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken
Sent: 06 June 2017 13:55
To:
eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Issue setting up IRStats

 

Hello all!

 

I’m trying to get IRStats set up on my new EPrints server, however I’m running into an issue. I’ve got the plugin installed okay but when I come to fire off the setup process (bin/stats/process_stats REPO_ID –setup –verbose) I’m getting an error that basically sums up to:

 

Plugin ‘Stats::Handler’ not found

FTAL ERROR: Stats handler (Stats::Handler.pm) not available

 

I presume this is down to a specific perl module not being installed, however when I’ve tried installing it under CPAN I can’t seem to find the correct module.

 

Any thoughts?

 

Andrew


The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research.


The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.

Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.

The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at:
http://www.lincoln.ac.uk/legal.

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