Hi Stuart,

 

Here's  some more information, regarding the failed sword post, that might
help detect the problem:

 

Messages Panel output for the failed post:

 

status: Setting the username/password: [email protected] dpati

status: Posting file to: http://75.101.130.190/sword/deposit/123456789/2

status: Unable to access resource.

 

Messages Panel output upon successful retrieve of  service document: 

Note: has some warnings

 

status: Requesting the document from
http://75.101.130.190:8080/sword/servicedocument

<?xml version="1.0" encoding="UTF-8"?>

<app:service xmlns:atom="http://www.w3.org/2005/Atom";
xmlns:app="http://www.w3.org/2007/app";
xmlns:sword="http://purl.org/net/sword/";
xmlns:dcterms="http://purl.org/dc/terms/";>

   <sword:version>1.3</sword:version>

   <sword:verbose>true</sword:verbose>

   <sword:noOp>true</sword:noOp>

   <sword:maxUploadSize>-1</sword:maxUploadSize>

   <app:workspace>

      <atom:title type="text">DRC Home </atom:title>

      <app:collection
href="http://localhost:8080/sword/deposit/123456789/2";>

         <atom:title type="text">OhioLINK SWORD submissions</atom:title>

         <app:accept>application/zip</app:accept>

         <sword:acceptPackaging
q="1.0">http://purl.org/net/sword-types/METSDSpaceSIP</sword:acceptPackaging
>

         <sword:collectionPolicy>NOTE: PLACE YOUR OWN LICENSE HERE This
sample license is provided for informational purposes only. NON-EXCLUSIVE
DISTRIBUTION LICENSE By signing and submitting this license, you (the
author(s) or copyright owner) grants to DSpace University (DSU) the
non-exclusive right to reproduce, translate (as defined below), and/or
distribute your submission (including the abstract) worldwide in print and
electronic format and in any medium, including but not limited to audio or
video. You agree that DSU may, without changing the content, translate the
submission to any medium or format for the purpose of preservation. You also
agree that DSU may keep more than one copy of this submission for purposes
of security, back-up and preservation. You represent that the submission is
your original work, and that you have the right to grant the rights
contained in this license. You also represent that your submission does not,
to the best of your knowledge, infringe upon anyone's copyright. If the
submission contains material for which you do not hold copyright, you
represent that you have obtained the unrestricted permission of the
copyright owner to grant DSU the rights required by this license, and that
such third-party owned material is clearly identified and acknowledged
within the text or content of the submission. IF THE SUBMISSION IS BASED
UPON WORK THAT HAS BEEN SPONSORED OR SUPPORTED BY AN AGENCY OR ORGANIZATION
OTHER THAN DSU, YOU REPRESENT THAT YOU HAVE FULFILLED ANY RIGHT OF REVIEW OR
OTHER OBLIGATIONS REQUIRED BY SUCH CONTRACT OR AGREEMENT. DSU will clearly
identify your name(s) as the author(s) or owner(s) of the submission, and
will not make any alteration, other than as allowed by this license, to your
submission. </sword:collectionPolicy>

         <sword:mediation>true</sword:mediation>

      </app:collection>

   </app:workspace>

</app:service>

 

status: Got the document

status: The status is: Code: 200, Message: 'OK'

status: The document passed validation, but has some warnings.

status:  [WARNING]app:service  

 message: 

    [WARNING]atom:generator  

    message: This element is not present, but it SHOULD be included.

    [VALID]sword:version   Value: '1.3'

    message: 

    [VALID]sword:verbose   Value: 'true'

    message: 

    [VALID]sword:noOp   Value: 'true'

    message: 

    [VALID]sword:maxUploadSize   Value: '-1'

    message: 

    [WARNING]app:workspace  

    message: 

       [VALID]atom:title   Value: 'DRC Home '

       message: 

          [VALID]atom:title  type="text"

          message: 

       [WARNING]app:collection  

       message: 

          [VALID]app:collection
href="http://localhost:8080/sword/deposit/123456789/2";

          message: 

          [VALID]atom:title   Value: 'OhioLINK SWORD submissions'

          message: 

             [VALID]atom:title  type="text"

             message: 

          [VALID]app:accept   Value: 'application/zip'

          message: 

          [WARNING]sword:acceptPackaging   Value:
'http://purl.org/net/sword-types/METSDSpaceSIP'

          message: 

             [VALID]sword:acceptPackaging  q="1.0"

             message: 

             [WARNING]sword:acceptPackaging  

             message: The URI is not one of the types specified in
http://purl.org/NET/sword-types

          [VALID]sword:collectionPolicy   Value: 'NOTE: PLACE YOUR OWN
LICENSE HERE This sample license is provided for informational purposes
only. NON-EXCLUSIVE DISTRIBUTION LICENSE By signing and submitting this
license, you (the author(s) or copyright owner) grants to DSpace University
(DSU) the non-exclusive right to reproduce, translate (as defined below),
and/or distribute your submission (including the abstract) worldwide in
print and electronic format and in any medium, including but not limited to
audio or video. You agree that DSU may, without changing the content,
translate the submission to any medium or format for the purpose of
preservation. You also agree that DSU may keep more than one copy of this
submission for purposes of security, back-up and preservation. You represent
that the submission is your original work, and that you have the right to
grant the rights contained in this license. You also represent that your
submission does not, to the best of your knowledge, infringe upon anyone's
copyright. If the submission contains material for which you do not hold
copyright, you represent that you have obtained the unrestricted permission
of the copyright owner to grant DSU the rights required by this license, and
that such third-party owned material is clearly identified and acknowledged
within the text or content of the submission. IF THE SUBMISSION IS BASED
UPON WORK THAT HAS BEEN SPONSORED OR SUPPORTED BY AN AGENCY OR ORGANIZATION
OTHER THAN DSU, YOU REPRESENT THAT YOU HAVE FULFILLED ANY RIGHT OF REVIEW OR
OTHER OBLIGATIONS REQUIRED BY SUCH CONTRACT OR AGREEMENT. DSU will clearly
identify your name(s) as the author(s) or owner(s) of the submission, and
will not make any alteration, other than as allowed by this license, to your
submission. '

          message: 

          [VALID]sword:mediation   Value: 'true'

          message: 

 

status: Data received for location:
<http://75.101.130.190:8080/sword/servicedocument>
http://75.101.130.190:8080/sword/servicedocument

 

 

Hoping to hear from you soon. Appreciate your help very much.

Thanks,

Deb

 

 

 

 

From: Stuart Lewis [mailto:[email protected]] 
Sent: Wednesday, September 23, 2009 11:19 PM
To: Debashree Pati
Cc: [email protected]
Subject: Re: [Dspace-tech] OfficeSWORD

 

Hi Deb,

 

I've now uploaded the patch + instructions to JIRA:

 

 - http://jira.dspace.org/jira/browse/DS-325

 

Thanks,

 

 

Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/

 

 

On 22/09/2009, at 5:35 AM, Debashree Pati wrote:





Hi Stuart,

 

Thanks a lot for the explanations and pointers. I could use your template
and successfully submit to the test instance.

Would it be possible for you to send  me the patch so that  I can install it
in our Dspace code?

 

Great job!

Thanks,

Deb

 

 

From: Stuart Lewis [mailto:[email protected]] 
Sent: Thursday, September 17, 2009 5:06 PM
To: Debashree Pati
Cc: [email protected]
Subject: Re: [Dspace-tech] OfficeSWORD

 

Hi Deb,

 

I installed the Add-in and created a document as per their specifications.
But, the top ribbon does not display any 'AddIn' tab

as shown by Pablo in his YouTube demo that is linked in your blog. This tab
is required for uploading to a repository.

 

I suffer from a similar problem on one of my computers. The tab appears in
the ribbon when I first install the add-in (and select the 'yes, show me the
readme' option at the end of the installer), but after I close Word and
re-open it, it disappears. I don't have that problem on my other machine
where it works faultlessly.

 

One of the developers had replied that they have successfully uploaded to
Dspace, Fedora, EPrints etc.

How could that be possible without the patch you've mentioned about?

 

They may have used the public DSpace/SWORD test instance which has the patch
installed (http://dspace.sowrdapp.org/). If you want to try depositing to
it, download a pre-configured template from
http://blog.stuartlewis.com/2009/07/04/direct-from-ms-word-to-dspace-via-swo
rd/ (see the penultimate paragraph).

 

Thanks,

 

Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/

 

 

 

 

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to