Hi Stuart,
I have two questions:
1. Any idea why an upload to your SWORD demo site (of the template
provided at your blog) using MS Word 2007 Article Authoring Plugin might
fail with the following error message? :
"The remote server returned an error: (500) Internal Server Error"
I had done a successful submission of the same on Sep 21st.
2. How do I resolve an error I get when I attempt an upload of your
template (with URL modified to our DSpace instance containing the patches
for .docx ingestion)? :
"The remote server returned an error: (415) Unsupported Media Type"
dspace.log:
ERROR org.dspace.sword.CollectionDepositor @ Unacceptable content type
detected:
application/vnd.openxmlformats-officedocument.wordprocessingml.document for
collection 1
2009-10-06 11:21:47,477 ERROR org.purl.sword.server.DepositServlet @
org.purl.sword.base.SWORDErrorException: Unacceptable content type in
deposit request:
application/vnd.openxmlformats-officedocument.wordprocessingml.document
I have applied both the ds-316.patch and docx-ingester.patch as provided by
you and double checked to ensure accuracy.
Appreciate your timely help.
Thanks,
Deb
From: Stuart Lewis [mailto:[email protected]]
Sent: Thursday, October 01, 2009 4:05 PM
To: Debashree Pati
Cc: [email protected]
Subject: Re: [Dspace-tech] OfficeSWORD
Hi Deb,
ERROR org.purl.sword.server.DepositServlet @ X_NO_OP value is null
(found something similar in your post in jira
http://jira.dspace.org/jira/browse/DS-199 about the error of X_NO_OP being
"true" and yet the deposit being successful. Why are we getting null instead
of true? Not sure if this affects our deposit and if this leads to the
following error messages or not)
I think this can be ignored, and perhaps should be edited in the DSpace
SWORD implementation. DSpace is complaining that there is no value set for
the X-NoOp header, yet the specification only states that client MAY set
this value. I'd argue therefore that DSpace should not be reporting this as
an error.
12:45:50,190 DEBUG org.dspace.storage.rdbms.DatabaseManager @ Running query
"select * from handle where handle = ? " with parameters: posit/123456789/2
(notice the parameter value is "posit/123456789/2" instead of
"deposit/123456789/2")
12:45:50,192 ERROR org.purl.sword.server.DepositServlet @
org.purl.sword.base.SWORDErrorException: The deposit URL does not resolve to
a valid deposit target
Check what your value for sword.deposit.url (and sword.servicedocument.url)
is in dspace.cfg, and make sure it matches the form of the deposit URL you
are using.
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® 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-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech