EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #03883


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

[EP-tech] Re: Subject import on 3.3.13


Hi Lizz,

In 

/usr/share/eprints/perl_lib/EPrints/Plugin/Import/FlatSubjects.pm

try replacing the line

@vals = map { s/%3A/:/g } @vals;

with

@vals = map { s/%3A/:/g; $_ } @vals;

And give it another try.

Regards,
Justin

On 3 Feb 2015, at 18:09, Lizz Jennings <E.Jennings@bath.ac.uk> wrote:

Hi,
 
I’m trying to update the subject tree on my 3.3.13 install, and although it seems to complete the import_subject process (now I’ve updated the database), it imports no subjects or divisions.  I’ve copied over the file from my 3.3.12 server, where it works fine.
 
Has the file format changed?  I’ve just been using the default ascii file method.
 
Lizz
 
--
Lizz Jennings BA MSc ACLIP MCLIP (Revalidated 2014)
Technical Data Officer
The Library 4.10, University of Bath, Bath, BA2 7AY UK
Ext. 3570 (External 01225 383570)
Research Data Management: http://www.bath.ac.uk/research/data
 
 
*** 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/
*** EPrints developers Forum: http://forum.eprints.org/

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail