EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #03401
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Interesting issue with EP 3.2 & Perl 5.20... noticed with SWORD
- To: eprints <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Interesting issue with EP 3.2 & Perl 5.20... noticed with SWORD
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- Date: Mon, 18 Aug 2014 16:15:18 +0100
I'm moving a repo... ... from Solaris containers to Virtual Machines running Redhat Centos ... from Perl 5.10.1 to Perl 5.20Everything seemed fine, until I started testing the SWORD conenctions - and I was getting errors!
Checking in a web broswer, normal pages are fine: I can browse and surf with no issues... but when I try to get a "servicedocument" I get
EPrints System ErrorCan't copy /home/eprints/ePrints/archives/eprints1/cfg/static to /home/eprints/ePrints/archives/eprints1/html/en: Is a directory
Turns out that EPrints::Utils::copy uses File::Copy::copy - and File::Copy::copy has undefined behaviour when copying 1 directory to another.... and it was broken with this new configuration!
I installed File::Copy::Recursive and edited EPrints::Utils::copy to use it.... and "happy days!" (use File::Copy::Recursive::rcopy - its smart and will do File::Copy::copy or File::Copy::Recursive::dircopy as appropriate)
So - a potential bug for future installations, and something I need to remember to check when I upgrade to 3.3.12 :)
-- Ian Stuart. Developer: ORI, RJ-Broker, and OpenDepot.org Bibliographics and Multimedia Service Delivery team, EDINA, The University of Edinburgh. http://edina.ac.uk/ This email was sent via the University of Edinburgh. The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
- Prev by Date: [EP-tech] Re: Farewell (?)
- Next by Date: [EP-tech] Re: Injecting gigabyte-scale files into EPrints archive - impossible?
- Previous by thread: [EP-tech] Eprints RequestEprint Button
- Next by thread: [EP-tech] wiki.eprints & files.eprints are down...
- Index(es):