Hi David,

I've spent a few hours this evening working on this.  There is some progress…

 - https://github.com/stuartlewis/EasyDeposit/
 - 
http://easydeposit.swordapp.org/instructions/installation-instructions/#source 
(remember to git submodule init / update)

There are a few new settings now…

 - admin -> core settings: select SWORD version -> select 2
 - admin -> edit steps -> deposit -> edit settings -> select packager -> 
atom_multipart_eprints

One of the problems (zip files not unpacking) is that EPrints doesn't support 
the purl.org/net/sword/package/SimpleZip format.  Instead it requires 
purl.org/net/sword/pacakge/Binary.  This new packager does that and seems to 
work OK.  One caveat: EPrints doesn't seem to like the upload of more than one 
file in the same package (although this could be my code making a dodgy 
multipart package!).

[I've been testing against demo prints.eprints.org]

I can't get EPrints to read the metadata from the atom entry – not sure why 
(title, author, etc).  Have you had luck with this?

> An error has occurred with your deposit. Please contact 
> dk...@wit.ie<mailto:dk...@wit.ie> for assistance, quoting reference 
> '42584325'.

When you see this, 42584325 is the name of the package that has been created 
(the default location is private/uploadfiles).  This can help you identify the 
package that didn't upload successfully. If you use a login method (e.g. Ldap 
or shibboleth) the random number gets prepended by the userID to help identify 
the user who's upload failed.

Let me know how you get on.

Thanks,


Stuart Lewis
Head of Digital Library Services
Library & Collections, Information Services
University of Edinburgh
stuart.le...@ed.ac.uk


From: David Kane <dk...@wit.ie<mailto:dk...@wit.ie>>
Date: Saturday, 15 December 2012 14:58
To: 
"sword-app-tech@lists.sourceforge.net<mailto:sword-app-tech@lists.sourceforge.net>"
 
<sword-app-tech@lists.sourceforge.net<mailto:sword-app-tech@lists.sourceforge.net>>
Subject: [sword-app-tech] Sword ZIP Not unpacking into eprints

Hi Stuart, All,

I am using the easydeposit PHP tool.

It seems to be working fine but the .ZIP is not unpacking at the EPrints end.  
Can anyone give me advice about the latest packager.

I am using the SWORD 2 library and the EPrints is the latest version (also 
using SWORD 2).

Thanks,

David.

--
David Kane, MLIS.
Systems Librarian
Waterford Institute of Technology
Ireland
http://library.wit.ie/
T: ++353.51302838
M: ++353.876693212


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
sword-app-tech mailing list
sword-app-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sword-app-tech

Reply via email to