[EP-tech] Re: Citation Import Plugin Error

Sheraaz Buksh sheraaz.a.buksh at usp.ac.fj
Fri Nov 2 04:09:13 GMT 2012


Hi

Thank you for your input. I have managed to fix the previous issue. the plugin was pointing to a /usr/local/eprints/perl_lib directory while my installation is at /opt/eprints3/perl_lib/. Anyway changing that fixed the issue.

However I am now stuck with something else. I try to run the import_citationdata command and it outs this for me;

Starting EPrints Repository.
Connecting to DB ... done.
Ending EPrints Repository.

I suppose this command will import the citation numbers from google scholar into the eprints table in the gscholar fields for eprint ids listed in a file. But when I run a query it gives NULL. I have also included the pin <epc:print expr="scopus_impact"/> in my summary_page.xml but nothing is shown there.

Any ideas will be greatly appreciated.


Regards

Sheraaz Buksh

IT Officer
Office of the Pro-Vice Chancellor (Research & International)
Research Office
The University of the South Pacific
Laucala Campus, Suva, Fiji Islands
Ph: (679) 323 2316
Fax: (679) 323 1504
Website: www.research.usp.ac.fj/research-staff

[12345]<http://www.psi2013.usp.ac.fj/>






From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Mark Gregson
Sent: 25 October 2012 6:45 PM
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Re: Citation Import Plugin Error

Hi Sheraaz

What version of EPrints are you running?

The first thing to check is that the plugin and its parent class are both in the correct location, e.g., /opt/eprints3/perl_lib/EPrints/Plugins/Import/ and /opt/eprints3/perl_lib/EPrints/Plugins/Import/CitationService/.

Then check that archive/cfg/cfg.d/gscholar.pl exists and defines search_cites and search_title functions.

You might want to check that the eprints user has permission to read all of those files.

After that check that WWW::Mechanize::Sleepy is installed.

Cheers
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/<http://www.qut.edu.au/>
ABN: 83 791 724 622
CRICOS No: 00213J


From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Sheraaz Buksh
Sent: Thursday, 25 October 2012 12:05 PM
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>
Subject: [EP-tech] Citation Import Plugin Error

Hi there

I have setup the citation import plugin on my repository however when running the import_citationdata or update_citatationdata commands I ran into the following error

Starting EPrints Repository.
Connecting to DB ... done.
Plugin 'Import::CitationService::GScholar' not found.
Ending EPrints Repository.

I have tried to debug the import_citationdata  file and it seems it fails  at the below given code.

$plugin = $session->plugin(
                $pluginmap->{$datasetid},
                Handler => $handler,
                net_retry => {
                        max => $net_retry_max,
                        interval => $net_retry_interval,
                },
                parse_retry => {
                        max => $parse_retry_max,
                        interval => $parse_retry_interval,
                },
        );

Any ideas will be greatly appreciated.

Regards

Sheraaz Buksh

IT Officer
Office of the Pro-Vice Chancellor (Research & International)
Research Office
The University of the South Pacific
Laucala Campus, Suva, Fiji Islands
Ph: (679) 323 2316
Fax: (679) 323 1504
Website: www.research.usp.ac.fj/research-staff

[12345]<http://www.psi2013.usp.ac.fj/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20121102/2a294111/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 12383 bytes
Desc: image001.jpg
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20121102/2a294111/attachment-0002.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 12361 bytes
Desc: image002.jpg
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20121102/2a294111/attachment-0003.jpg 


More information about the Eprints-tech mailing list