EPrints Technical Mailing List Archive

Message: #01262


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

[EP-tech] Re: Citation Import Plugin Error


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

 

 

 

 

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Mark Gregson
Sent: 25 October 2012 6:45 PM
To: eprints-tech@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/
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, 25 October 2012 12:05 PM
To: eprints-tech@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