EPrints Technical Mailing List Archive

Message: #05514

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

Re: [EP-tech] Importer issue with RIOXX plugin?

Further to this, it appears related to creating the history file for the change to the eprint.

If I patch EPrint::DataObj with the line


                next if $field->property( "name" ) =~ /rioxx2/;


at line 1642, then the process works without failing.


Can anyone see why this would be a really bad idea?






From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Alan.Stiles
Sent: 22 March 2016 10:54
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Importer issue with RIOXX plugin?


Hi all,

Has anyone else encountered a problem with adding new eprints using



                        my $eprint = $ds->create_dataobj( \%ep_data );


On a system with the RIOXX2 plugin installed?


It seemed to be falling over with a


Can't call method "current_repository" on an undefined value at /opt/eprints3/perl_lib/EPrints/BackCompatibility.pm line 443.


When trying to process this loop:



for a RIOXX2 field, although I see that the MetaField::RIOXX2::to_sax method does nothing…


when I removed the plugin the new creations process worked fine, but with the RIOXX2 plugin installed it just fails on the same record and line every time.




Alan Stiles

Digital Repository Developer

Library Services, The Open University


-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.