EPrints Technical Mailing List Archive

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

Message: #01027


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

[EP-tech] Re: {Disarmed} Citation Count Dataset and Import Plug-ins for GNU EPrints 3


In that case, the constant should be declared in EPrints::Const but for some reason it is not imported correctly.  You could try adding ‘use EPrints::Const qw(EP_TRIGGER_CREATED);’ to the top of datasets.pl.

 

Mark

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Sheraaz Buksh
Sent: Wednesday, 5 September 2012 6:35 AM
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: {Disarmed} Citation Count Dataset and Import Plug-ins for GNU EPrints 3

 

Thanks Mark.

 

We are currently running version 3.2.

 

Regards

 

Sheraaz

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Mark Gregson
Sent: 04 September 2012 2:56 PM
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: {Disarmed} Citation Count Dataset and Import Plug-ins for GNU EPrints 3

 

Hi Sheraaz

 

It seems that the EP_TRIGGER_CREATED constant has not been declared by EPrints which suggests that you may be running an incompatible, older version of EPrints, i.e.,  < 3.2. If this is the case, I’m afraid you won’t be able to run the plugin without modification.  The trigger is used to update eprint records when a corresponding citation count is imported.  Without the trigger you would have to implement something like a daily cron job that does this for each new citation count.

 

Regards

Mark

 

Mark Gregson | Applications and Development Team Leader
Library eServices | Queensland University of Technology
Level 3 | R Block | Kelvin Grove Campus | GPO Box 2434 | Brisbane 4001
Phone: +61 7 3138 3782 | Web:
http://eprints.qut.edu.au/
ABN: 83 791 724 622
CRICOS No: 00213J

 

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Sheraaz Buksh
Sent: Thursday, 30 August 2012 3:34 PM
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] {Disarmed} Citation Count Dataset and Import Plug-ins for GNU EPrints 3

 

Hi all

 

I faced the following errors when updating the database structure after installing the Citation Count Dataset and Import Plug-ins for GNU EPrints 3 plugin.

 

------------------------------------------------------------------

---------------- EPrints System Warning --------------------------

------------------------------------------------------------------

Failed to load config module for myRepoName

------------------------------------------------------------------

error in /opt/eprints3/archives/ myRepoName/cfg/cfg.d/datasets.pl:

Bareword "EP_TRIGGER_CREATED" not allowed while "strict subs" in use at /opt/eprints3/archives/ myRepoName/cfg/cfg.d/datasets.pl line 153.

 

------------------------------------------------------------------

Use of uninitialized value in concatenation (.) or string at /opt/eprints3/perl_lib/EPrints/Repository.pm line 387.

Use of uninitialized value in concatenation (.) or string at /opt/eprints3/perl_lib/EPrints/Repository.pm line 642.

Could not open /workflows at /opt/eprints3/perl_lib/EPrints/Workflow.pm line 494.

 

Any assistance would be greatly appreciated.

 

Regards

 

Sheraaz