You can subscribe to this list here.
2008 |
Jan
(22) |
Feb
(8) |
Mar
(9) |
Apr
(4) |
May
(17) |
Jun
(29) |
Jul
(11) |
Aug
(13) |
Sep
(17) |
Oct
(14) |
Nov
(41) |
Dec
(8) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(17) |
Feb
(26) |
Mar
(18) |
Apr
(1) |
May
(11) |
Jun
(20) |
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
2010 |
Jan
(23) |
Feb
(7) |
Mar
(9) |
Apr
(13) |
May
(5) |
Jun
|
Jul
(3) |
Aug
(5) |
Sep
|
Oct
(1) |
Nov
(3) |
Dec
|
2011 |
Jan
(3) |
Feb
|
Mar
(2) |
Apr
(1) |
May
|
Jun
(14) |
Jul
(22) |
Aug
(1) |
Sep
(2) |
Oct
(11) |
Nov
(11) |
Dec
(35) |
2012 |
Jan
(17) |
Feb
(12) |
Mar
(41) |
Apr
(40) |
May
(41) |
Jun
(27) |
Jul
(9) |
Aug
(1) |
Sep
|
Oct
(6) |
Nov
|
Dec
(11) |
2013 |
Jan
|
Feb
(4) |
Mar
(2) |
Apr
(8) |
May
(1) |
Jun
(18) |
Jul
(10) |
Aug
(16) |
Sep
(2) |
Oct
(1) |
Nov
(14) |
Dec
(11) |
2014 |
Jan
(7) |
Feb
(2) |
Mar
|
Apr
|
May
(8) |
Jun
(1) |
Jul
(7) |
Aug
(10) |
Sep
(8) |
Oct
(8) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
(2) |
Mar
(2) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(6) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(4) |
2018 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Rahul K. <Rah...@an...> - 2014-10-24 01:04:33
|
Hi Phil, Thanks for your response. This mail shouldn't have been forwarded to this mailing list as the issue I've described has nothing to do with the Sword Client. I'll follow up with this issue in the DSpace mailing list. Apologies, Rahul. Rahul Khanna Systems Developer IT Services |Menzies Building, Level 4 |The Australian National University | ACTON ACT 2601 From: Philip Durbin [mailto:phi...@ha...] Sent: Thursday, 23 October 2014 11:46 PM To: TAYLOR Robin Cc: swo...@li...; Rahul Khanna Subject: Re: [sword-app-tech] Fw: Question re Sword v2 server implementation in DSpace v4.2 Does Filenamewithspaces.txt have URLs with spaces in it? Since it's an IRISyntaxException (an IRI is basically a URL) my guess is that you have a space in a URL somewhere in your file. Phil On Thu, Oct 23, 2014 at 8:08 AM, TAYLOR Robin <Rob...@ed...<mailto:Rob...@ed...>> wrote: Hi Rahul, Its not an area I know about I'm afraid so I'm forwarding on your email to the Sword Tech list. Cheers, Robin. Robin Taylor Main Library University of Edinburgh ________________________________ From: Rahul Khanna <Rah...@an...<mailto:Rah...@an...>> Sent: 23 October 2014 03:02 To: TAYLOR Robin Subject: Question re Sword v2 server implementation in DSpace v4.2 Hi Robin, I'm a developer working on The Australian National University's instance of DSpace. I'm currently working on the Sword v2 server on DSpace v4.2 running on Windows 7 and noticed an issue that I'm not quite sure who to contact for its resolution: Running this CURL command results in the following exception on the server side: curl -X POST \ -d 'test string' \ --header "packaging: http://purl.org/net/sword/package/Binary" \ --header "user-agent: SWORD Client 2.0" \ --header "content-disposition: attachment; filename=\"Filename with spaces.txt\"" \ --header "metadata-relevant: false" \ --user myusername:secret \ -v \ "http://localhost:8080/swordv2/edit-media/12887" *************** org.apache.abdera.i18n.iri.IRISyntaxException: org.apache.abdera.i18n.text.InvalidCharacterException: Invalid Character 0x20( ) org.apache.abdera.i18n.iri.IRI.parse(IRI.java:572) org.apache.abdera.i18n.iri.IRI.<init>(IRI.java:64) org.dspace.sword2.ReceiptGenerator.createFileReceipt(ReceiptGenerator.java:47) org.dspace.sword2.MediaResourceManagerDSpace.addResource(MediaResourceManagerDSpace.java:742) org.swordapp.server.MediaResourceAPI.post(MediaResourceAPI.java:272) org.swordapp.server.servlets.MediaResourceServletDefault.doPost(MediaResourceServletDefault.java:49) javax.servlet.http.HttpServlet.service(HttpServlet.java:646) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) </pre></p><p><b>root cause</b> <pre>org.apache.abdera.i18n.text.InvalidCharacterException: Invalid Character 0x20( ) org.apache.abdera.i18n.text.CodepointIterator$RestrictedCodepointIterator.next(CodepointIterator.java:476) org.apache.abdera.i18n.text.CharUtils.verify(CharUtils.java:820) org.apache.abdera.i18n.text.CharUtils.verify(CharUtils.java:838) org.apache.abdera.i18n.iri.IRI.parse(IRI.java:568) org.apache.abdera.i18n.iri.IRI.<init>(IRI.java:64) org.dspace.sword2.ReceiptGenerator.createFileReceipt(ReceiptGenerator.java:47) org.dspace.sword2.MediaResourceManagerDSpace.addResource(MediaResourceManagerDSpace.java:742) org.swordapp.server.MediaResourceAPI.post(MediaResourceAPI.java:272) org.swordapp.server.servlets.MediaResourceServletDefault.doPost(MediaResourceServletDefault.java:49) javax.servlet.http.HttpServlet.service(HttpServlet.java:646) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ******************* In the curl command if I remove all the spaces from the filename and change it to the server performs the action as expected: --header "content-disposition: attachment; filename=Filenamewithspaces.txt" Would you be able to confirm if DSpace v4.2 isn't expected to accept deposits with filenames with spaces through Sword? There's nothing about filenames with spaces in the Sword v2 specification at http://swordapp.github.io/SWORDv2-Profile/SWORDProfile.html . Is this by any chance a known issue? I've already searched through the DSpace-Tech mailing list and didn't find anything relevant. Should I go ahead and file a bug with the Apache Abdera developers? Or should I file a bug for DSpace? Thank you, Rahul. Rahul Khanna Systems Developer IT Services |Menzies Building, Level 4 |The Australian National University | ACTON ACT 2601 T: +61 2 6125 9010<tel:%2B61%202%206125%209010> | E: rah...@an...<mailto:rah...@an...> The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. ------------------------------------------------------------------------------ _______________________________________________ sword-app-tech mailing list swo...@li...<mailto:swo...@li...> https://lists.sourceforge.net/lists/listinfo/sword-app-tech -- Philip Durbin Software Developer for http://dataverse.org http://www.iq.harvard.edu/people/philip-durbin |
From: Mark J. <mj...@sf...> - 2014-10-23 20:17:20
|
Hi, Pinging on this question from Oct. 16... ----- Original Message ----- > Hi, > I have a question about the Atom entry used to create a resource under SWORD > 2. > http://www.ietf.org/rfc/rfc4287.txt, section 4.1.2 indicates that atom:entry > elements must contain either one atom:content child element or "at least one > atom:link element with a rel attribute value of 'alternate'." However, the > example Atom entry provided at > http://swordapp.github.io/SWORDv2-Profile/SWORDProfile.html#protocoloperations_creatingresource_entry > contains neither. Does SWORD2 relax this requirement of Atom or is the > example incomplete? > Thanks, > Mark > Mark Jordan > Head of Library Systems > W.A.C. Bennett Library, Simon Fraser University > Burnaby, British Columbia, V5A 1S6, Canada > Voice: 778.782.5753 / Fax: 778.782.3023 / Skype: mark.jordan50 > mj...@sf... > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech |
From: Philip D. <phi...@ha...> - 2014-10-23 12:46:25
|
Does Filenamewithspaces.txt have URLs with spaces in it? Since it's an IRISyntaxException (an IRI is basically a URL) my guess is that you have a space in a URL somewhere in your file. Phil On Thu, Oct 23, 2014 at 8:08 AM, TAYLOR Robin <Rob...@ed...> wrote: > Hi Rahul, > > > Its not an area I know about I'm afraid so I'm forwarding on your email > to the Sword Tech list. > > > Cheers, Robin. > > > Robin Taylor > Main Library > University of Edinburgh > ------------------------------ > *From:* Rahul Khanna <Rah...@an...> > *Sent:* 23 October 2014 03:02 > *To:* TAYLOR Robin > *Subject:* Question re Sword v2 server implementation in DSpace v4.2 > > > Hi Robin, > > I'm a developer working on The Australian National University's instance > of DSpace. I'm currently working on the Sword v2 server on DSpace v4.2 > running on Windows 7 and noticed an issue that I'm not quite sure who to > contact for its resolution: > > > > Running this CURL command results in the following exception on the server > side: > > > > curl -X POST \ > > -d 'test string' \ > > --header "packaging: http://purl.org/net/sword/package/Binary" \ > > --header "user-agent: SWORD Client 2.0" \ > > --header "content-disposition: attachment; filename=\"Filename with > spaces.txt\"" \ > > --header "metadata-relevant: false" \ > > --user myusername:secret \ > > -v \ > > "http://localhost:8080/swordv2/edit-media/12887" > > > > *************** > > > > org.apache.abdera.i18n.iri.IRISyntaxException: > org.apache.abdera.i18n.text.InvalidCharacterException: Invalid Character > 0x20( ) > > org.apache.abdera.i18n.iri.IRI.parse(IRI.java:572) > > org.apache.abdera.i18n.iri.IRI.<init>(IRI.java:64) > > > org.dspace.sword2.ReceiptGenerator.createFileReceipt(ReceiptGenerator.java:47) > > > org.dspace.sword2.MediaResourceManagerDSpace.addResource(MediaResourceManagerDSpace.java:742) > > > org.swordapp.server.MediaResourceAPI.post(MediaResourceAPI.java:272) > > > org.swordapp.server.servlets.MediaResourceServletDefault.doPost(MediaResourceServletDefault.java:49) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:646) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:727) > > > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) > > </pre></p><p><b>root cause</b> > <pre>org.apache.abdera.i18n.text.InvalidCharacterException: Invalid > Character 0x20( ) > > > org.apache.abdera.i18n.text.CodepointIterator$RestrictedCodepointIterator.next(CodepointIterator.java:476) > > org.apache.abdera.i18n.text.CharUtils.verify(CharUtils.java:820) > > org.apache.abdera.i18n.text.CharUtils.verify(CharUtils.java:838) > > org.apache.abdera.i18n.iri.IRI.parse(IRI.java:568) > > org.apache.abdera.i18n.iri.IRI.<init>(IRI.java:64) > > > org.dspace.sword2.ReceiptGenerator.createFileReceipt(ReceiptGenerator.java:47) > > > org.dspace.sword2.MediaResourceManagerDSpace.addResource(MediaResourceManagerDSpace.java:742) > > > org.swordapp.server.MediaResourceAPI.post(MediaResourceAPI.java:272) > > > org.swordapp.server.servlets.MediaResourceServletDefault.doPost(MediaResourceServletDefault.java:49) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:646) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:727) > > > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) > > > > ******************* > > > > In the curl command if I remove all the spaces from the filename and > change it to the server performs the action as expected: > > > > --header "content-disposition: attachment; filename=Filenamewithspaces.txt" > > > > Would you be able to confirm if DSpace v4.2 isn't expected to accept > deposits with filenames with spaces through Sword? There's nothing about > filenames with spaces in the Sword v2 specification at > http://swordapp.github.io/SWORDv2-Profile/SWORDProfile.html . Is this by > any chance a known issue? I've already searched through the DSpace-Tech > mailing list and didn't find anything relevant. Should I go ahead and file > a bug with the Apache Abdera developers? Or should I file a bug for DSpace? > > > > Thank you, > > Rahul. > > > > > > Rahul Khanna > > Systems Developer > > IT Services |Menzies Building, Level 4 |The Australian National University > | ACTON ACT 2601 > > T: +61 2 6125 9010 | E: rah...@an... > > > > > > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > > ------------------------------------------------------------------------------ > > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > -- Philip Durbin Software Developer for http://dataverse.org http://www.iq.harvard.edu/people/philip-durbin |
From: TAYLOR R. <Rob...@ed...> - 2014-10-23 12:08:58
|
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. |
From: Philip D. <phi...@ha...> - 2014-10-21 15:18:12
|
A while ago I filed this bug: feeding an empty Atom entry file to CollectionAPI.post results in org.apache.abdera.parser.ParseException: java.lang.ArrayIndexOutOfBoundsException · Issue #6 · swordapp/JavaServer2.0 - https://github.com/swordapp/JavaServer2.0/issues/6 I finally just got around to making a pull request: throw SwordError for unparseable Atom entry swordapp/JavaServer2.0#6 by pdurbin · Pull Request #7 · swordapp/JavaServer2.0 - https://github.com/swordapp/JavaServer2.0/pull/7 Please let me know what you think! Thanks, Phil p.s. On my side, this the bug I'm trying to fix: Fix Abdera ArrayIndexOutOfBoundsException with non-existent atom-entry-study.xml in SWORD jar (upstream ideally) · Issue #893 · IQSS/dataverse - https://github.com/IQSS/dataverse/issues/893 -- Philip Durbin Software Developer for http://dataverse.org http://www.iq.harvard.edu/people/philip-durbin |
From: Mark J. <mj...@sf...> - 2014-10-16 16:59:22
|
Hi, I have a question about the Atom entry used to create a resource under SWORD 2. http://www.ietf.org/rfc/rfc4287.txt, section 4.1.2 indicates that atom:entry elements must contain either one atom:content child element or "at least one atom:link element with a rel attribute value of 'alternate'." However, the example Atom entry provided at http://swordapp.github.io/SWORDv2-Profile/SWORDProfile.html#protocoloperations_creatingresource_entry contains neither. Does SWORD2 relax this requirement of Atom or is the example incomplete? Thanks, Mark Mark Jordan Head of Library Systems W.A.C. Bennett Library, Simon Fraser University Burnaby, British Columbia, V5A 1S6, Canada Voice: 778.782.5753 / Fax: 778.782.3023 / Skype: mark.jordan50 mj...@sf... |
From: Richard J. <ri...@co...> - 2014-10-08 11:25:41
|
Hi Matthew, Yes, unfortunately multipart turned out to be poorly supported across a wide range of web application frameworks, so although some of the clients support it, many of the servers don't, including DSpace. The answer is to carry out two requests, one to POST the atom entry, and get back the receipt for the item (which will contain the EM-IRI), and then to send the zip file/package afterwards as a PUT to that url. Cheers, Richard On 22 September 2014 05:09, Matthew Trevor <mat...@gr...> wrote: > Hi, > > I'm having a problem using the python-sword2 client to submit items via > the DSpace4 swordv2 interface. I'm hoping to ultimately submit > METSDspaceSIP packages, but am currently just trying to get the basic > examples given by the python-sword2 documentation to work: > > https://bitbucket.org/beno/python-sword2/wiki/BasicUsage > > Anything other than the metadata-only example raises an uninformative > exception: > > Traceback (most recent call last): >> File "swordtest.py", line 53, in <module> >> recipe = conn.create( >> File >> "C:\Langs\Python27\lib\site-packages\sword2-0.1-py2.7.egg\sword2\connection.py", >> line 838, in create >> md5sum=md5sum) >> File >> "C:\Langs\Python27\lib\site-packages\sword2-0.1-py2.7.egg\sword2\connection.py", >> line 661, in _make_request >> return self._handle_error_response(resp, content) >> File >> "C:\Langs\Python27\lib\site-packages\sword2-0.1-py2.7.egg\sword2\connection.py", >> line 311, in _handle_error_response >> return self._return_error_or_exception(ServerError, resp, content) >> File >> "C:\Langs\Python27\lib\site-packages\sword2-0.1-py2.7.egg\sword2\connection.py", >> line 258, in _return_error_or_exception >> raise cls(resp) >> sword2.exceptions.ServerError >> > > Stepping through with pdb, I manage to pull out a HTML response, which > says: > > HTTP Status 500 - org.swordapp.server.SwordServerException: Attempting to >> store and check deposit which has no input stream >> > > Has anyone had any success doing multipart submissions to DSpace via the > Sword2 API? It seems similar to the issue discussed in this thread: > > > https://www.mail-archive.com/swo...@li.../msg00124.html > > Is this issue with DSpace not dealing with multipart submissions still > present? > > Thanks for any help or advice, > Matthew > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > -- Richard Jones, Founder, Cottage Labs t: @richard_d_jones, @cottagelabs w: http://cottagelabs.com |
From: Philip D. <phi...@ha...> - 2014-09-30 00:39:27
|
Someone here might know but this sounds like a question for a DSpace mailing list: http://www.dspace.org/mailing-list Also, email subjects are awesome. :) Phil On Mon, Sep 29, 2014 at 6:03 AM, Cerva Csaba <cer...@li...> wrote: > Hi > We use dspace 3.2 with sword2 > Is there anyone to know, how to set the list of collections > that are required, if we dont want all our collections to be > in servicedocument, only some of them. > thank you > cerva > > > ------------------------------------------------------------------------------ > Slashdot TV. Videos for Nerds. Stuff that Matters. > > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > -- Philip Durbin Software Developer for http://dataverse.org <http://thedata.org> http://www.iq.harvard.edu/people/philip-durbin |
From: Cerva C. <cer...@li...> - 2014-09-29 13:56:18
|
Hi We use dspace 3.2 with sword2 Is there anyone to know, how to set the list of collections that are required, if we dont want all our collections to be in servicedocument, only some of them. thank you cerva |
From: Matthew T. <mat...@gr...> - 2014-09-22 04:10:02
|
Hi, I'm having a problem using the python-sword2 client to submit items via the DSpace4 swordv2 interface. I'm hoping to ultimately submit METSDspaceSIP packages, but am currently just trying to get the basic examples given by the python-sword2 documentation to work: https://bitbucket.org/beno/python-sword2/wiki/BasicUsage Anything other than the metadata-only example raises an uninformative exception: Traceback (most recent call last): > File "swordtest.py", line 53, in <module> > recipe = conn.create( > File > "C:\Langs\Python27\lib\site-packages\sword2-0.1-py2.7.egg\sword2\connection.py", > line 838, in create > md5sum=md5sum) > File > "C:\Langs\Python27\lib\site-packages\sword2-0.1-py2.7.egg\sword2\connection.py", > line 661, in _make_request > return self._handle_error_response(resp, content) > File > "C:\Langs\Python27\lib\site-packages\sword2-0.1-py2.7.egg\sword2\connection.py", > line 311, in _handle_error_response > return self._return_error_or_exception(ServerError, resp, content) > File > "C:\Langs\Python27\lib\site-packages\sword2-0.1-py2.7.egg\sword2\connection.py", > line 258, in _return_error_or_exception > raise cls(resp) > sword2.exceptions.ServerError > Stepping through with pdb, I manage to pull out a HTML response, which says: HTTP Status 500 - org.swordapp.server.SwordServerException: Attempting to > store and check deposit which has no input stream > Has anyone had any success doing multipart submissions to DSpace via the Sword2 API? It seems similar to the issue discussed in this thread: https://www.mail-archive.com/swo...@li.../msg00124.html Is this issue with DSpace not dealing with multipart submissions still present? Thanks for any help or advice, Matthew |
From: Philip D. <phi...@ha...> - 2014-09-09 13:08:56
|
Neat! It worked! Here's my handle: http://hdl.handle.net/10673/54 Question though... "All this is then deposited into the demo DSpace server (http://demo.dspace.org/)." How hard would it be to change this so that the data is deposited to a different server? On Tue, Sep 9, 2014 at 8:26 AM, LEWIS Stuart <Stu...@ed...> wrote: > Dear all, > > > > I hope you don’t mind forwarding a recent example of using SWORD… > > > > Following the announcements by both Figshare and Zenodo that they now allow > easy deposit of research software into their repositories, I thought I’d > create a demonstration of the same mechanism but using the SWORD deposit > protocol developed for institutional and data repositories. If you want the > gory details, they can be found at: > > > > - > http://blog.stuartlewis.com/2014/09/09/github-to-repository-deposit/ > > > > Alternatively, if you want to try it out yourself, visit the following URL, > and when prompted, either choose a GitHub repository or use the following > one: > > > > - http://easydeposit.swordapp.org/example/github/easydeposit > > - When prompted, enter the URL > https://github.com/stuartlewis/EasyDeposit/ > > > > In short, this allows software to be archived from the GitHub (or similar) > source code control system into local repositories such as DataShare, and > then assigned persistent identifiers such as DOIs to allow them to be cited > and tracked through scholarly literature. > > > > Best wishes, > > > > > > Stuart Lewis > > Head of Research and Learning Services > > Deputy Director Library & University Collections, Information Services > > University of Edinburgh > > Stu...@ed... > > > > > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce. > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > -- Philip Durbin Software Developer for http://dataverse.org http://www.iq.harvard.edu/people/philip-durbin |
From: Philip D. <phi...@ha...> - 2014-09-09 13:05:35
|
Yes, seeing the config helps a lot. Too busy to *really* look at this right now but I think it's interesting and forwarded this around internally. Thanks! Phil On Tue, Sep 9, 2014 at 8:53 AM, LEWIS Stuart <Stu...@ed...> wrote: > Hi Philip, > > Thanks! > > The EasyDeposit system (http://easydeposit.swordapp.org/ and https://github.com/stuartlewis/EasyDeposit/) is made up of a number of 'steps' that can be configured in the admin interface. They can be selected, and ordered as appropriate. For example there are a number of login steps that can be used (LDAP, Shibboleth, repository credential checker) to capture user information. See attached picture. > > The configuration for the GitHub example is: > > - nologin: No login details are required > - github: Capture and download a github repository master branch > - depositcredentials: Set (hardcode for the user) the username, password, and deposit URL <--- Edit these to change the deposit location > - verify: Ask the user to verify the details > - deposit: Perform a SWORD deposit > - thankyou: Display the thank you screen > > There are also steps such as 'SelectRepository' and 'RetrieveServiceDocument' that can be used to allow the user to select from a pre-defined list of repositories and collections. > > I hope that helps? > > > Stuart > > > -- > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > > -----Original Message----- > From: Philip Durbin [mailto:phi...@ha...] > Sent: 09 September 2014 13:37 > To: LEWIS Stuart > Cc: swo...@li... > Subject: Re: [sword-app-tech] GitHub to Data Repository deposit > > Neat! It worked! Here's my handle: http://hdl.handle.net/10673/54 > > Question though... > > "All this is then deposited into the demo DSpace server > (http://demo.dspace.org/)." How hard would it be to change this so > that the data is deposited to a different server? > > On Tue, Sep 9, 2014 at 8:26 AM, LEWIS Stuart <Stu...@ed...> wrote: >> Dear all, >> >> >> >> I hope you don’t mind forwarding a recent example of using SWORD… >> >> >> >> Following the announcements by both Figshare and Zenodo that they now allow >> easy deposit of research software into their repositories, I thought I’d >> create a demonstration of the same mechanism but using the SWORD deposit >> protocol developed for institutional and data repositories. If you want the >> gory details, they can be found at: >> >> >> >> - >> http://blog.stuartlewis.com/2014/09/09/github-to-repository-deposit/ >> >> >> >> Alternatively, if you want to try it out yourself, visit the following URL, >> and when prompted, either choose a GitHub repository or use the following >> one: >> >> >> >> - http://easydeposit.swordapp.org/example/github/easydeposit >> >> - When prompted, enter the URL >> https://github.com/stuartlewis/EasyDeposit/ >> >> >> >> In short, this allows software to be archived from the GitHub (or similar) >> source code control system into local repositories such as DataShare, and >> then assigned persistent identifiers such as DOIs to allow them to be cited >> and tracked through scholarly literature. >> >> >> >> Best wishes, >> >> >> >> >> >> Stuart Lewis >> >> Head of Research and Learning Services >> >> Deputy Director Library & University Collections, Information Services >> >> University of Edinburgh >> >> Stu...@ed... >> >> >> >> >> The University of Edinburgh is a charitable body, registered in >> Scotland, with registration number SC005336. >> >> ------------------------------------------------------------------------------ >> Want excitement? >> Manually upgrade your production database. >> When you want reliability, choose Perforce. >> Perforce version control. Predictably reliable. >> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk >> _______________________________________________ >> sword-app-tech mailing list >> swo...@li... >> https://lists.sourceforge.net/lists/listinfo/sword-app-tech >> > > > > -- > Philip Durbin > Software Developer for http://dataverse.org > http://www.iq.harvard.edu/people/philip-durbin -- Philip Durbin Software Developer for http://dataverse.org http://www.iq.harvard.edu/people/philip-durbin |
From: LEWIS S. <Stu...@ed...> - 2014-09-09 12:53:25
|
Hi Philip, Thanks! The EasyDeposit system (http://easydeposit.swordapp.org/ and https://github.com/stuartlewis/EasyDeposit/) is made up of a number of 'steps' that can be configured in the admin interface. They can be selected, and ordered as appropriate. For example there are a number of login steps that can be used (LDAP, Shibboleth, repository credential checker) to capture user information. See attached picture. The configuration for the GitHub example is: - nologin: No login details are required - github: Capture and download a github repository master branch - depositcredentials: Set (hardcode for the user) the username, password, and deposit URL <--- Edit these to change the deposit location - verify: Ask the user to verify the details - deposit: Perform a SWORD deposit - thankyou: Display the thank you screen There are also steps such as 'SelectRepository' and 'RetrieveServiceDocument' that can be used to allow the user to select from a pre-defined list of repositories and collections. I hope that helps? Stuart -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -----Original Message----- From: Philip Durbin [mailto:phi...@ha...] Sent: 09 September 2014 13:37 To: LEWIS Stuart Cc: swo...@li... Subject: Re: [sword-app-tech] GitHub to Data Repository deposit Neat! It worked! Here's my handle: http://hdl.handle.net/10673/54 Question though... "All this is then deposited into the demo DSpace server (http://demo.dspace.org/)." How hard would it be to change this so that the data is deposited to a different server? On Tue, Sep 9, 2014 at 8:26 AM, LEWIS Stuart <Stu...@ed...> wrote: > Dear all, > > > > I hope you don’t mind forwarding a recent example of using SWORD… > > > > Following the announcements by both Figshare and Zenodo that they now allow > easy deposit of research software into their repositories, I thought I’d > create a demonstration of the same mechanism but using the SWORD deposit > protocol developed for institutional and data repositories. If you want the > gory details, they can be found at: > > > > - > http://blog.stuartlewis.com/2014/09/09/github-to-repository-deposit/ > > > > Alternatively, if you want to try it out yourself, visit the following URL, > and when prompted, either choose a GitHub repository or use the following > one: > > > > - http://easydeposit.swordapp.org/example/github/easydeposit > > - When prompted, enter the URL > https://github.com/stuartlewis/EasyDeposit/ > > > > In short, this allows software to be archived from the GitHub (or similar) > source code control system into local repositories such as DataShare, and > then assigned persistent identifiers such as DOIs to allow them to be cited > and tracked through scholarly literature. > > > > Best wishes, > > > > > > Stuart Lewis > > Head of Research and Learning Services > > Deputy Director Library & University Collections, Information Services > > University of Edinburgh > > Stu...@ed... > > > > > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce. > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > -- Philip Durbin Software Developer for http://dataverse.org http://www.iq.harvard.edu/people/philip-durbin |
From: LEWIS S. <Stu...@ed...> - 2014-09-09 12:26:53
|
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. |
From: Richard J. <ri...@co...> - 2014-09-02 07:44:17
|
Hi Fred, Unfortunately there's not a lot of test infrastructure for SWORD 1.3 - most of the effort of late has been into SWORD 2.0 instead, for which there are a variety of client and server libraries available. For testing SWORD 1.3, the DSpace implementation is mature and part of the standard release so you could spin up and out-of-the-box DSpace and make requests against that (http://dspace.org) Cheers, Richard On 18 August 2014 15:54, Philip Durbin <phi...@ha...> wrote: > A partner of ours is actively using the PHP client SWORD library for > this project: > http://projects.iq.harvard.edu/ojs-dvn/book/faq-ojs-dataverse-integration-project > > I'm using the Java server SWORD library. > > Having these library really helps with adoption, in my opinion. Thank > you to Richard and Stuart for providing them! > > Phil > > On Mon, Aug 18, 2014 at 10:37 AM, Fred Riley <Fre...@bc...> wrote: > > This is my first post to this list. I've spent the last week or so > trying, > > and failing, to get SWORD working with my current institution's > installation > > of Intralibrary, which claims compliance with SWORD v1.3 (no lower, no > > higher, just 1.3) and recommends using the SWORD client 1.1, which fails > > miserably (GUI and command-line). I've today tried the SWORD PHP library > of > > Stuart Lewis with Intralibrary, and I get a 500 error with the server for > > the test script provided (suitably configured for Intralibrary), which of > > course could be anything. I'm not after diagnosing this error, instead my > > request is: > > > > > > > > Is there an open SWORD-compliant repository on which I can test the PHP > > library? > > > > > > > > The README on the library github repo says: > > > > > > > > " In order to use this test script you will need a username and password > for > > a SWORD repository. If you don't have one, you can sign up for one at > > http://dspace.swordapp.org/jspui/register" > > > > > > > > However, that domain gives a DNS error, perhaps unsurprising as the > README > > is over 3 years old, as is the code. If the PHP library works ok on > another > > repository then the problem resides in Intralibrary; else the problem is > > with the PHP library. > > > > > > > > I've been in the 'learning object repository game' for many years, on and > > off, in particular running Intralibrary installations as admin. I > remember > > attending an Intrallect conference in Edinburgh 4 or 5 years ago, when > SWORD > > was touted as the next big thing offering effortless repository > deposition. > > Since the initial enthusiasm the protocol appears to have dropped out of > > favour. Could folk here tell me if SWORD is still in development and > use, or > > if it's just sooooo noughties, my dear? and quietly dying away? That > there's > > no SWORD PHP code more recent than 2011, or Java code more recent than > 2012, > > indicates that it might be going out of use. > > > > > > > > Fred > > > > www.fredriley.org.uk > > > > > > > > From: Jingli Lu [mailto:jen...@gm...] > > Sent: 17 August 2014 04:54 > > To: swo...@li... > > Subject: [sword-app-tech] Deposit example.zip get error: Unable to parse > the > > XML > > > > > > > > Hi All, > > > > > > > > I am trying my first deposit to Dspace Demo Repository using SWORD > > Demonstrator Client (download and build sword-common-1.1.zip) . I can get > > service document fine, but when I do post file, I get error "There was an > > error accessing the resource. Unable to parse the XML( ..........)" > > > > > > > > In the post document GUI, the setup is: > > > > Destinations: > > dsp...@gm...:****** > http://demo.dspace.org/sword/deposit/10673/2 > > > > File: C:\Downloads\SWORD\example.zip > > > > File type: application/zip > > > > X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP > > > > > > > > I have also tried using the following command > > > > > > > > curl -i --data-binary "@example.zip" -H "Content-Disposition: > > filename=myDSpaceMETSItem.zip" -H "Content-Type: application/zip" -H > > "X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP" -H > "X-No-Op: > > false" -H "X-Verbose: true" --user "dsp...@gm...:dspace" > > http://demo.dspace.org/sword/deposit/10673/2 > > > > But got an error: HTTP/1.1 500 Internal Server Error > > > > > > > > <html><head><title>Apache Tomcat/7.0.29 - Error report</title><style><! > > t-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;f > > 22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-c > > D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:whit > > und-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans- > > or:black;background-color:white;} B {font-family:Tahoma,Arial,sans-seri > > hite;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif; > > d:white;color:black;font-size:12px;}A {color : black;}A.name {color : b > > {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1>< > > 1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> > > p><p><b>description</b> <u>The server encountered an internal error () > > ented it from fulfilling this request.</u></p><HR size="1" noshade="nos > >>Apache Tomcat/7.0.29</h3></body></html> > > C:\Downloads\SWORD>curl -i --data-binary "@example.zip" -H "Content-Dis > > filename=myDSpaceMETSItem.zip" -H "Content-Type: application/zip" > > kaging: http://purl.org/net/sword-types/METSDSpaceSIP" -H "X-No-Op: > > H "X-Verbose: true" --user "dsp...@gm...:dspace" http: > > dspace@localhost:8080/sword/deposit/123456789/2 > > curl: (7) Failed to connect to localhost port 8080: Connection refused. > > > > > > > > Any idea what seems to be problem? > > > > > > > > Thanks in advance. > > > > > > > > Jingli > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > sword-app-tech mailing list > > swo...@li... > > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > > > > > -- > Philip Durbin > Software Developer for http://dataverse.org > http://www.iq.harvard.edu/people/philip-durbin > > > ------------------------------------------------------------------------------ > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > -- Richard Jones, Founder, Cottage Labs t: @richard_d_jones, @cottagelabs w: http://cottagelabs.com |
From: Philip D. <phi...@ha...> - 2014-08-18 14:55:02
|
A partner of ours is actively using the PHP client SWORD library for this project: http://projects.iq.harvard.edu/ojs-dvn/book/faq-ojs-dataverse-integration-project I'm using the Java server SWORD library. Having these library really helps with adoption, in my opinion. Thank you to Richard and Stuart for providing them! Phil On Mon, Aug 18, 2014 at 10:37 AM, Fred Riley <Fre...@bc...> wrote: > This is my first post to this list. I've spent the last week or so trying, > and failing, to get SWORD working with my current institution's installation > of Intralibrary, which claims compliance with SWORD v1.3 (no lower, no > higher, just 1.3) and recommends using the SWORD client 1.1, which fails > miserably (GUI and command-line). I've today tried the SWORD PHP library of > Stuart Lewis with Intralibrary, and I get a 500 error with the server for > the test script provided (suitably configured for Intralibrary), which of > course could be anything. I'm not after diagnosing this error, instead my > request is: > > > > Is there an open SWORD-compliant repository on which I can test the PHP > library? > > > > The README on the library github repo says: > > > > " In order to use this test script you will need a username and password for > a SWORD repository. If you don't have one, you can sign up for one at > http://dspace.swordapp.org/jspui/register" > > > > However, that domain gives a DNS error, perhaps unsurprising as the README > is over 3 years old, as is the code. If the PHP library works ok on another > repository then the problem resides in Intralibrary; else the problem is > with the PHP library. > > > > I've been in the 'learning object repository game' for many years, on and > off, in particular running Intralibrary installations as admin. I remember > attending an Intrallect conference in Edinburgh 4 or 5 years ago, when SWORD > was touted as the next big thing offering effortless repository deposition. > Since the initial enthusiasm the protocol appears to have dropped out of > favour. Could folk here tell me if SWORD is still in development and use, or > if it's just sooooo noughties, my dear? and quietly dying away? That there's > no SWORD PHP code more recent than 2011, or Java code more recent than 2012, > indicates that it might be going out of use. > > > > Fred > > www.fredriley.org.uk > > > > From: Jingli Lu [mailto:jen...@gm...] > Sent: 17 August 2014 04:54 > To: swo...@li... > Subject: [sword-app-tech] Deposit example.zip get error: Unable to parse the > XML > > > > Hi All, > > > > I am trying my first deposit to Dspace Demo Repository using SWORD > Demonstrator Client (download and build sword-common-1.1.zip) . I can get > service document fine, but when I do post file, I get error "There was an > error accessing the resource. Unable to parse the XML( ..........)" > > > > In the post document GUI, the setup is: > > Destinations: > dsp...@gm...:******http://demo.dspace.org/sword/deposit/10673/2 > > File: C:\Downloads\SWORD\example.zip > > File type: application/zip > > X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP > > > > I have also tried using the following command > > > > curl -i --data-binary "@example.zip" -H "Content-Disposition: > filename=myDSpaceMETSItem.zip" -H "Content-Type: application/zip" -H > "X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP" -H "X-No-Op: > false" -H "X-Verbose: true" --user "dsp...@gm...:dspace" > http://demo.dspace.org/sword/deposit/10673/2 > > But got an error: HTTP/1.1 500 Internal Server Error > > > > <html><head><title>Apache Tomcat/7.0.29 - Error report</title><style><! > t-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;f > 22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-c > D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:whit > und-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans- > or:black;background-color:white;} B {font-family:Tahoma,Arial,sans-seri > hite;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif; > d:white;color:black;font-size:12px;}A {color : black;}A.name {color : b > {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1>< > 1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> > p><p><b>description</b> <u>The server encountered an internal error () > ented it from fulfilling this request.</u></p><HR size="1" noshade="nos >>Apache Tomcat/7.0.29</h3></body></html> > C:\Downloads\SWORD>curl -i --data-binary "@example.zip" -H "Content-Dis > filename=myDSpaceMETSItem.zip" -H "Content-Type: application/zip" > kaging: http://purl.org/net/sword-types/METSDSpaceSIP" -H "X-No-Op: > H "X-Verbose: true" --user "dsp...@gm...:dspace" http: > dspace@localhost:8080/sword/deposit/123456789/2 > curl: (7) Failed to connect to localhost port 8080: Connection refused. > > > > Any idea what seems to be problem? > > > > Thanks in advance. > > > > Jingli > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > -- Philip Durbin Software Developer for http://dataverse.org http://www.iq.harvard.edu/people/philip-durbin |
From: Fred R. <Fre...@bc...> - 2014-08-18 14:37:17
|
This is my first post to this list. I've spent the last week or so trying, and failing, to get SWORD working with my current institution's installation of Intralibrary, which claims compliance with SWORD v1.3<http://knowledge.intrallect.com/manuals/intralibrary/3.7/integration_guide.html#file_transfer> (no lower, no higher, just 1.3) and recommends using the SWORD client 1.1, which fails miserably (GUI and command-line). I've today tried the SWORD PHP library<https://github.com/swordapp/swordapp-php-library> of Stuart Lewis with Intralibrary, and I get a 500 error with the server for the test script provided (suitably configured for Intralibrary), which of course could be anything. I'm not after diagnosing this error, instead my request is: Is there an open SWORD-compliant repository on which I can test the PHP library? The README on the library github repo says: " In order to use this test script you will need a username and password for a SWORD repository. If you don't have one, you can sign up for one at http://dspace.swordapp.org/jspui/register" However, that domain gives a DNS error, perhaps unsurprising as the README is over 3 years old, as is the code. If the PHP library works ok on another repository then the problem resides in Intralibrary; else the problem is with the PHP library. I've been in the 'learning object repository game' for many years, on and off, in particular running Intralibrary installations as admin. I remember attending an Intrallect conference in Edinburgh 4 or 5 years ago, when SWORD was touted as the next big thing offering effortless repository deposition. Since the initial enthusiasm the protocol appears to have dropped out of favour. Could folk here tell me if SWORD is still in development and use, or if it's just sooooo noughties, my dear? and quietly dying away? That there's no SWORD PHP code more recent than 2011, or Java code more recent than 2012, indicates that it might be going out of use. Fred www.fredriley.org.uk From: Jingli Lu [mailto:jen...@gm...] Sent: 17 August 2014 04:54 To: swo...@li... Subject: [sword-app-tech] Deposit example.zip get error: Unable to parse the XML Hi All, I am trying my first deposit to Dspace Demo Repository using SWORD Demonstrator Client (download and build sword-common-1.1.zip) . I can get service document fine, but when I do post file, I get error "There was an error accessing the resource. Unable to parse the XML( ..........)" In the post document GUI, the setup is: Destinations: dsp...@gm...:******http://demo.dspace.org/sword/deposit/10673/2 File: C:\Downloads\SWORD\example.zip File type: application/zip X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP I have also tried using the following command curl -i --data-binary "@example.zip" -H "Content-Disposition: filename=myDSpaceMETSItem.zip" -H "Content-Type: application/zip" -H "X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP" -H "X-No-Op: false" -H "X-Verbose: true" --user "dsp...@gm...:dspace" http://demo.dspace.org/sword/deposit/10673/2 But got an error: HTTP/1.1 500 Internal Server Error <html><head><title>Apache Tomcat/7.0.29 - Error report</title><style><! t-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;f 22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-c D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:whit und-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans- or:black;background-color:white;} B {font-family:Tahoma,Arial,sans-seri hite;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif; d:white;color:black;font-size:12px;}A {color : black;}A.name {color : b {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1>< 1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> p><p><b>description</b> <u>The server encountered an internal error () ented it from fulfilling this request.</u></p><HR size="1" noshade="nos >Apache Tomcat/7.0.29</h3></body></html> C:\Downloads\SWORD>curl -i --data-binary "@example.zip" -H "Content-Dis filename=myDSpaceMETSItem.zip" -H "Content-Type: application/zip" kaging: http://purl.org/net/sword-types/METSDSpaceSIP" -H "X-No-Op: H "X-Verbose: true" --user "dsp...@gm...:dspace" http: dspace@localhost:8080/sword/deposit/123456789/2 curl: (7) Failed to connect to localhost port 8080: Connection refused. Any idea what seems to be problem? Thanks in advance. Jingli |
From: Fred R. <Fre...@bc...> - 2014-08-18 09:02:22
|
That's interesting. I get exactly the same problem when using that client with my institution's installation of Intralibrary, even though the XML of the service document validates fine and looks ok to my semi-tutored eyes. This perhaps indicates that the problem is with the client rather than the repository... Fred www.fredriley.org.uk From: Jingli Lu [mailto:jen...@gm...] Sent: 17 August 2014 04:54 To: swo...@li... Subject: [sword-app-tech] Deposit example.zip get error: Unable to parse the XML Hi All, I am trying my first deposit to Dspace Demo Repository using SWORD Demonstrator Client (download and build sword-common-1.1.zip) . I can get service document fine, but when I do post file, I get error "There was an error accessing the resource. Unable to parse the XML( ..........)" In the post document GUI, the setup is: Destinations: dsp...@gm...:******http://demo.dspace.org/sword/deposit/10673/2 File: C:\Downloads\SWORD\example.zip File type: application/zip X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP I have also tried using the following command curl -i --data-binary "@example.zip" -H "Content-Disposition: filename=myDSpaceMETSItem.zip" -H "Content-Type: application/zip" -H "X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP" -H "X-No-Op: false" -H "X-Verbose: true" --user "dsp...@gm...:dspace" http://demo.dspace.org/sword/deposit/10673/2 But got an error: HTTP/1.1 500 Internal Server Error <html><head><title>Apache Tomcat/7.0.29 - Error report</title><style><! t-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;f 22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-c D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:whit und-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans- or:black;background-color:white;} B {font-family:Tahoma,Arial,sans-seri hite;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif; d:white;color:black;font-size:12px;}A {color : black;}A.name {color : b {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1>< 1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> p><p><b>description</b> <u>The server encountered an internal error () ented it from fulfilling this request.</u></p><HR size="1" noshade="nos >Apache Tomcat/7.0.29</h3></body></html> C:\Downloads\SWORD>curl -i --data-binary "@example.zip" -H "Content-Dis filename=myDSpaceMETSItem.zip" -H "Content-Type: application/zip" kaging: http://purl.org/net/sword-types/METSDSpaceSIP" -H "X-No-Op: H "X-Verbose: true" --user "dsp...@gm...:dspace" http: dspace@localhost:8080/sword/deposit/123456789/2 curl: (7) Failed to connect to localhost port 8080: Connection refused. Any idea what seems to be problem? Thanks in advance. Jingli |
From: Jingli Lu <jen...@gm...> - 2014-08-17 03:54:21
|
Hi All, I am trying my first deposit to Dspace Demo Repository using SWORD Demonstrator Client (download and build sword-common-1.1.zip) . I can get service document fine, but when I do post file, I get error "There was an error accessing the resource. Unable to parse the XML( ..........)" In the post document GUI, the setup is: Destinations: dsp...@gm...:****** http://demo.dspace.org/sword/deposit/10673/2 File: C:\Downloads\SWORD\example.zip File type: application/zip X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP I have also tried using the following command curl -i --data-binary "@example.zip" -H "Content-Disposition: filename=myDSpaceMETSItem.zip" -H "Content-Type: application/zip" -H "X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP" -H "X-No-Op: false" -H "X-Verbose: true" --user "dsp...@gm...:dspace" http://demo.dspace.org/sword/deposit/10673/2 But got an error: HTTP/1.1 500 Internal Server Error <html><head><title>Apache Tomcat/7.0.29 - Error report</title><style><! t-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;f 22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-c D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:whit und-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans- or:black;background-color:white;} B {font-family:Tahoma,Arial,sans-seri hite;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif; d:white;color:black;font-size:12px;}A {color : black;}A.name {color : b {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1>< 1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> p><p><b>description</b> <u>The server encountered an internal error () ented it from fulfilling this request.</u></p><HR size="1" noshade="nos >Apache Tomcat/7.0.29</h3></body></html> C:\Downloads\SWORD>curl -i --data-binary "@example.zip" -H "Content-Dis filename=myDSpaceMETSItem.zip" -H "Content-Type: application/zip" kaging: http://purl.org/net/sword-types/METSDSpaceSIP" -H "X-No-Op: H "X-Verbose: true" --user "dsp...@gm...:dspace" http: dspace@localhost:8080/sword/deposit/123456789/2 curl: (7) Failed to connect to localhost port 8080: Connection refused. Any idea what seems to be problem? Thanks in advance. Jingli |
From: Richard J. <ri...@co...> - 2014-08-13 16:14:58
|
Have you deployed the swordv2 webapp? It will need to be linked from your tomcat webapps directory just like you do with xmlui or jspui. Then, provided the config is correct, the endpoint should work. Cheers, Richard On 6 August 2014 00:24, Diego Racero <die...@gm...> wrote: > I new with dspace and trying to enable swordv2 in DSpace. > > I changed the swordv2 conf file to my own URL but each time I tried to > acces It ireceived a message sayung that the resourse does not exist. > > How can I configure swordv2 in DSpace 4,0? > > Do I have to recompile the DSpace using Maven in orden to put swordv2 to > work? > > Any kind of help will be wellcome > > Thanks in advance. > > -- > Ing. Diego Racero. > F.I.U.B.A > > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > -- Richard Jones, Founder, Cottage Labs t: @richard_d_jones, @cottagelabs w: http://cottagelabs.com |
From: Diego R. <die...@gm...> - 2014-08-05 23:24:29
|
I new with dspace and trying to enable swordv2 in DSpace. I changed the swordv2 conf file to my own URL but each time I tried to acces It ireceived a message sayung that the resourse does not exist. How can I configure swordv2 in DSpace 4,0? Do I have to recompile the DSpace using Maven in orden to put swordv2 to work? Any kind of help will be wellcome Thanks in advance. -- Ing. Diego Racero. F.I.U.B.A |
From: Richard J. <ri...@co...> - 2014-08-03 09:27:51
|
Absolutely - in fact in the current situation there isn't really a "SWORD development team", there's just myself and Stuart eking out time to work on it without any particular funding. That's one of my motivations for posting about governance - we definitely can't (and don't want to) run the whole sword community, and in the absence of some long-anticipated sustainability funding we need to consider, as users of the software that implements sword, how to keep it current and valuable. So, Phil, for example - if you wanted to become a committer for the swordapp github org, I'd be very happy to set that up :) Cheers, Richard On 1 August 2014 15:24, Philip Durbin <phi...@ha...> wrote: > Sure, that makes sense. And I know given your recent post* about code > governance, you welcome people outside the SWORD development team to > write some library code for their favorite language. > > If I hear of any libraries that aren't listed, I'll be sure to let you > know. > > Phil > > * > http://www.mail-archive.com/swo...@li.../msg00400.html > > On Fri, Aug 1, 2014 at 9:28 AM, Richard Jones <ri...@co...> > wrote: > > Hi Phil, > > > > I'm not aware of a C# implementation, but if there was one then we could > add > > it to the swordapp.org website. At the moment that site just lists > > libraries that members of the sword development team have worked on, so > it's > > certainly not guaranteed to be exhaustive. > > > > Cheers, > > > > Richard > > > > > > > > On 1 August 2014 13:10, Philip Durbin <phi...@ha...> wrote: > >> > >> Hello! If there *were* a SWORD client library for C# I assume it would > >> be listed right next to the ones for Java, Ruby, Python, and PHP at > >> http://swordapp.org/sword-v2/sword-v2-implementations/ > >> > >> I had asked at > https://twitter.com/philipdurbin/status/456222182436524032 > >> and never got a reply (no biggie) so I thought I'd ask the list... > >> > >> Is there a C# client library for SWORD? > >> > >> No problem if there isn't. I'm just asking because judging from what > >> I'm reading here it would be greatly appreciated: > >> > >> > >> > https://github.com/CDLUC3/DataUp_Dataverse/blob/master/Integrating%20DataUp%20with%20DataVerse.docx > >> > >> People who are integrating with our SWORDv2 server implementation > >> certainly appreciate the existing client libraries! I know of folks > >> using the PHP and Python ones at least. > >> > >> Phil > >> > >> -- > >> Philip Durbin > >> Software Developer for http://dataverse.org > >> http://www.iq.harvard.edu/people/philip-durbin > >> > >> > >> > ------------------------------------------------------------------------------ > >> Want fast and easy access to all the code in your enterprise? Index and > >> search up to 200,000 lines of code with a free copy of Black Duck > >> Code Sight - the same software that powers the world's largest code > >> search on Ohloh, the Black Duck Open Hub! Try it now. > >> http://p.sf.net/sfu/bds > >> _______________________________________________ > >> sword-app-tech mailing list > >> swo...@li... > >> https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > > > > > > > > > -- > > > > Richard Jones, > > > > Founder, Cottage Labs > > t: @richard_d_jones, @cottagelabs > > w: http://cottagelabs.com > > > > > > -- > Philip Durbin > Software Developer for http://dataverse.org > http://www.iq.harvard.edu/people/philip-durbin > -- Richard Jones, Founder, Cottage Labs t: @richard_d_jones, @cottagelabs w: http://cottagelabs.com |
From: Richard J. <ri...@co...> - 2014-08-01 14:31:13
|
Hi Phil, I'm not aware of a C# implementation, but if there was one then we could add it to the swordapp.org website. At the moment that site just lists libraries that members of the sword development team have worked on, so it's certainly not guaranteed to be exhaustive. Cheers, Richard On 1 August 2014 13:10, Philip Durbin <phi...@ha...> wrote: > Hello! If there *were* a SWORD client library for C# I assume it would > be listed right next to the ones for Java, Ruby, Python, and PHP at > http://swordapp.org/sword-v2/sword-v2-implementations/ > > I had asked at https://twitter.com/philipdurbin/status/456222182436524032 > and never got a reply (no biggie) so I thought I'd ask the list... > > Is there a C# client library for SWORD? > > No problem if there isn't. I'm just asking because judging from what > I'm reading here it would be greatly appreciated: > > > https://github.com/CDLUC3/DataUp_Dataverse/blob/master/Integrating%20DataUp%20with%20DataVerse.docx > > People who are integrating with our SWORDv2 server implementation > certainly appreciate the existing client libraries! I know of folks > using the PHP and Python ones at least. > > Phil > > -- > Philip Durbin > Software Developer for http://dataverse.org > http://www.iq.harvard.edu/people/philip-durbin > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > -- Richard Jones, Founder, Cottage Labs t: @richard_d_jones, @cottagelabs w: http://cottagelabs.com |
From: Philip D. <phi...@ha...> - 2014-08-01 14:24:23
|
Sure, that makes sense. And I know given your recent post* about code governance, you welcome people outside the SWORD development team to write some library code for their favorite language. If I hear of any libraries that aren't listed, I'll be sure to let you know. Phil * http://www.mail-archive.com/swo...@li.../msg00400.html On Fri, Aug 1, 2014 at 9:28 AM, Richard Jones <ri...@co...> wrote: > Hi Phil, > > I'm not aware of a C# implementation, but if there was one then we could add > it to the swordapp.org website. At the moment that site just lists > libraries that members of the sword development team have worked on, so it's > certainly not guaranteed to be exhaustive. > > Cheers, > > Richard > > > > On 1 August 2014 13:10, Philip Durbin <phi...@ha...> wrote: >> >> Hello! If there *were* a SWORD client library for C# I assume it would >> be listed right next to the ones for Java, Ruby, Python, and PHP at >> http://swordapp.org/sword-v2/sword-v2-implementations/ >> >> I had asked at https://twitter.com/philipdurbin/status/456222182436524032 >> and never got a reply (no biggie) so I thought I'd ask the list... >> >> Is there a C# client library for SWORD? >> >> No problem if there isn't. I'm just asking because judging from what >> I'm reading here it would be greatly appreciated: >> >> >> https://github.com/CDLUC3/DataUp_Dataverse/blob/master/Integrating%20DataUp%20with%20DataVerse.docx >> >> People who are integrating with our SWORDv2 server implementation >> certainly appreciate the existing client libraries! I know of folks >> using the PHP and Python ones at least. >> >> Phil >> >> -- >> Philip Durbin >> Software Developer for http://dataverse.org >> http://www.iq.harvard.edu/people/philip-durbin >> >> >> ------------------------------------------------------------------------------ >> Want fast and easy access to all the code in your enterprise? Index and >> search up to 200,000 lines of code with a free copy of Black Duck >> Code Sight - the same software that powers the world's largest code >> search on Ohloh, the Black Duck Open Hub! Try it now. >> http://p.sf.net/sfu/bds >> _______________________________________________ >> sword-app-tech mailing list >> swo...@li... >> https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > > > > -- > > Richard Jones, > > Founder, Cottage Labs > t: @richard_d_jones, @cottagelabs > w: http://cottagelabs.com > -- Philip Durbin Software Developer for http://dataverse.org http://www.iq.harvard.edu/people/philip-durbin |
From: Philip D. <phi...@ha...> - 2014-08-01 12:10:57
|
Hello! If there *were* a SWORD client library for C# I assume it would be listed right next to the ones for Java, Ruby, Python, and PHP at http://swordapp.org/sword-v2/sword-v2-implementations/ I had asked at https://twitter.com/philipdurbin/status/456222182436524032 and never got a reply (no biggie) so I thought I'd ask the list... Is there a C# client library for SWORD? No problem if there isn't. I'm just asking because judging from what I'm reading here it would be greatly appreciated: https://github.com/CDLUC3/DataUp_Dataverse/blob/master/Integrating%20DataUp%20with%20DataVerse.docx People who are integrating with our SWORDv2 server implementation certainly appreciate the existing client libraries! I know of folks using the PHP and Python ones at least. Phil -- Philip Durbin Software Developer for http://dataverse.org http://www.iq.harvard.edu/people/philip-durbin |