[EP-tech] Re: Citation import plugin errors
mark.gregson at qut.edu.au
Wed Sep 12 03:00:57 BST 2012
This is a compatibility issue with EPrints 3.3.
The citation plugin package provides the EPrints::LogHandler class which implements the same interface as EPrints::CLIProcessor for handling logging when the imports are running but the interface changed in 3.3.
We're not running 3.3 so I can't test this, but I think if you copy the epdata_to_dataobj() method from the CLIProcessor into EPrints::LogHandler it should work.
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Tim Brody
Sent: Tuesday, 11 September 2012 10:03 PM
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Re: Citation import plugin errors
On Tue, 11 Sep 2012 10:38:13 +0100, Thomas Haines <HainesT at cardiff.ac.uk>
> Hi everyone,
> I am trying to get the citation plugins listed
> here: http://files.eprints.org/641/
> to work, and they appear to be failing at the point of trying to
> to the database using the epdata_to_dataobj sub. Anyone got any ideas
> why this might be failing?
> Error: Unhandled exception in Import::CitationService::Scopus: Can't
> object method "epdata_to_dataobj" via package "EPrints::LogHandler" at
> /usr/share/eprints/perl_lib/EPrints/Plugin/Import.pm line 310, <$fh>
> line 2.
> Error: Unhandled exception in Import::CitationService::GScholar: Can't
> locate object method "epdata_to_dataobj" via package
> at /usr/share/eprints/perl_lib/EPrints/Plugin/Import.pm line 310,
> <$fh> line 2.
What's at line 310 of that file?
It sounds like a typo somewhere. There is an EPrints::Apache::LogHandler module, but it doesn't do epdata_to_dataobj.
> note: the scopus API has changed and I am rewriting the scopus.pm
> plugin, but the scholar plugin is untouched and producing the same error.
> Also has anyone looked at a new plugin to use the ISI Web of Science
> ARTICLE MATCH RETRIEVAL SERVICE?
Do you have any documentation for the service?
(The trouble with ISI is they don't appear to provide any public documentation on their APIs ...)
All the best,
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
More information about the Eprints-tech