EPrints Technical Mailing List Archive
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
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: {Disarmed} Citation Count Dataset and Import Plug-ins for GNU EPrints 3
- From: Mark Gregson <mark.gregson@qut.edu.au>
- Date: Wed, 5 Sep 2012 10:37:48 +1000
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 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 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 From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Sheraaz Buksh 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 |
- References:
- [EP-tech] {Disarmed} Citation Count Dataset and Import Plug-ins for GNU EPrints 3
- From: Sheraaz Buksh <sheraaz.a.buksh@usp.ac.fj>
- [EP-tech] Re: {Disarmed} Citation Count Dataset and Import Plug-ins for GNU EPrints 3
- From: Mark Gregson <mark.gregson@qut.edu.au>
- [EP-tech] Re: {Disarmed} Citation Count Dataset and Import Plug-ins for GNU EPrints 3
- From: Sheraaz Buksh <sheraaz.a.buksh@usp.ac.fj>
- [EP-tech] {Disarmed} Citation Count Dataset and Import Plug-ins for GNU EPrints 3
- Prev by Date: [EP-tech] Re: {Disarmed} Citation Count Dataset and Import Plug-ins for GNU EPrints 3
- Next by Date: [EP-tech] Re: Empty eprints when clicked "new item" but then "cancel"
- Previous by thread: [EP-tech] Re: {Disarmed} Citation Count Dataset and Import Plug-ins for GNU EPrints 3
- Next by thread: [EP-tech] Re: to change tool bar items
- Index(es):