Sword: cannot deposit into Dspace 3.2

Hello,

I’m trying to help a publisher deposit articles into my dspace install using OJS sword plugin.

I have the sword interface up. When I try to make a deposit from the demo site (http://journals.sfu.ca/testdrive/) or of my ojs site I get a sucess message.

But when y look in the dspace don´t see de article.

What is the problem?

Have the next logs:

In the apache of ojs this:
ojs2 has produced an error Message: USER WARNING: Smarty error: unable to read resource:
“file:/var/www/html/ojs///citation.tpl” In file: /var/www/html/ojs/lib/pkp/lib/smarty/Smarty.class.php
At line: 1093

In the tomcat oh dspace this:
org.purl.sword.server.DepositServlet @ org.purl.sword.base.SWORDErrorException: No ingester configured for this package type
ERROR org.purl.sword.server.DepositServlet @ X_NO_OP value is null

Thanks

Hi @ojs,

What version of OJS are you using?

Regards,
Alec Smecher
Public Knowledge Project Team

the last stable 2.4.6

Hi @ojs,

Have you seen this thread from our old forum?
http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=13510

I’m not too familiar with DSpace, but the poster there seems to suggest that there’s both a Sword v1 and Sword v2 endpoint for DSpace. If you’re using the Sword v1 endpoint, try the Sword v2 one instead.

Regards,
Alec Smecher
Public Knowledge Project Team

Hello.

I´m testing sword and swordv2 in demo of ojs (http://journals.sfu.ca/testdrive/) to export to the demodspace (http://demo.dspace.org/) and don´t work.

Dont´t work sword, and swordv2.

The plugin work correctly??

Thanks

Hi @ojs,

It sounds like you were previously using a local installation (since you could check the logs) but have also checked the DSpace demo installation; is that correct?

What deposit point configuration are you using in OJS?

Regards,
Alec Smecher
Public Knowledge Project Team

The demospace work correctly, because i can deposit document, with a client deposit http://easydeposit.swordapp.org/, for this my question, that the pluging sword of the ojs work correctly

Hi @ojs,

What deposit point configuration are you using in OJS?

Regards,
Alec Smecher
Public Knowledge Project Team

i´m using http://demo.dspace.org/sword/servicedocument
and http://demo.dspace.org/swordv2/servicedocument
type manager only
and deposit point collection_1

Hi @ojs,

I’ve reproduced the error locally and will give it some attention soon. It’s filed here:
https://github.com/pkp/pkp-lib/issues/619

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @ojs,

Can you confirm what your Swordv2 configuration is on your own local install of DSpace? In particular, in swordv2-server.cfg, what do you have for accept-packaging.item.METSDSpaceSIP?

It appears to me that the DSpace demo installation doesn’t accept the type of deposit OJS is trying to provide.

See this thread: http://sourceforge.net/p/dspace/mailman/message/33259055/

Regards,
Alec Smecher
Public Knowledge Project Team

hello.

in my local install of dspace, use sword1, the swordv2 am using in demospace

Hi @ojs,

You should definitely be using sword2, not sword1.

Can you check the configuration file mentioned above?

Regards,
Alec Smecher
Public Knowledge Project Team

ok. when the swordv2 is running. check it the file

Hello

I found the solution

Is for the version of ojs

Until version 2.4.2 was used the plugin sword, but after this version the plugin used is swordv2.

I solved modify the files and add, old version of sword

Thanks for your help