EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #01065
< 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 errors
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Citation import plugin errors
- From: Paolo Tealdi <paolo.tealdi@polito.it>
- Date: Wed, 12 Sep 2012 18:23:31 +0200
On 09/12/2012 04:00 AM, Mark Gregson wrote: Hi Mark,Maybe it's simpler to patch import_citationdata commenting Handler definition,
-- import_citationdata.original 2012-09-12 18:06:54.000000000 +0200 +++ import_citationdata 2012-09-12 17:57:07.000000000 +0200 @@ -230,7 +230,7 @@ { $plugin = $session->plugin( $pluginmap->{$datasetid}, - Handler => $handler, +# Handler => $handler, net_retry => { max => $net_retry_max, interval => $net_retry_interval, you can't log in a file, but for a batch STDERR is enough. In my test server this patch works ... Best regards, Paolo Tealdi
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. Cheers Mark
-- Ing. Paolo Tealdi Area IT - Politecnico Torino Telefono/Phone : +39-011-0906714 , FAX : +39-011-0906799 Indirizzo/Address : C.so Duca degli Abruzzi, 24 - 10129 Torino - ITALY Skype : tealdi.paolo Please consider your environmental responsibility before printing this e-mail
- References:
- [EP-tech] Citation import plugin errors
- From: Thomas Haines <HainesT@cardiff.ac.uk>
- [EP-tech] Re: Citation import plugin errors
- From: Tim Brody <tdb2@ecs.soton.ac.uk>
- [EP-tech] Re: Citation import plugin errors
- From: Mark Gregson <mark.gregson@qut.edu.au>
- [EP-tech] Citation import plugin errors
- Prev by Date: [EP-tech] Re: How to customise Division listings
- Next by Date: [EP-tech] Trailing Slash Problem
- Previous by thread: [EP-tech] Re: Citation import plugin errors
- Next by thread: [EP-tech] Re: Citation import plugin errors
- Index(es):