[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Subject import on 3.3.13



Thanks, that did the trick!

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)
E.Jennings at bath.ac.uk<mailto:E.Jennings at bath.ac.uk>
Research Data Management: http://www.bath.ac.uk/research/data


From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Justin Bradley
Sent: 03 February 2015 18:25
To: eprints-tech at ecs.soton.ac.uk
Subject: [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 at bath.ac.uk<mailto:E.Jennings at 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)
E.Jennings at bath.ac.uk<mailto:E.Jennings at bath.ac.uk>
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/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150204/d034f9f2/attachment.html