Hi all,
I am using DSpace 1.7.2 and I am trying to submit the example.zip provided
by the sword package into a DSpace repository I have installed locally.
I execute from Eclipse the class:
org.purl.sword.client.ClientFactory
with the parameters:
-cmd -t post -host localhost -port 8080 -href
http://localhost:8080/sword/deposit/123456789/2 -file
C:/Users/nkons/Temp/example/example.zip -filetype application/zip -u [my
username] -p [my password]
I see in the debug messages that the authentication is successful, but then
I get the error:
Id: null
Title: ERROR type: text
There is no generator
Published: null
There is no content element.
There is no right element.
Summary - content: No ingester configured for this package type type: text
Update: 2011-10-24T13:45:46.836Z
Published: null
Verbose Description: null
Treatment: null
Packaging: null
Inside dspace.cfg, I have left the default values in the Sword section.
The debug outputs:
2011-10-24 13:48:03,670 DEBUG org.dspace.sword.CollectionDepositor @ Created
instance of CollectionDepositor
2011-10-24 13:48:03,671 INFO org.dspace.sword.SWORDIngesterFactory @
looking for named plugin interface org.dspace.sword.SWORDIngester
2011-10-24 13:48:03,672 DEBUG org.dspace.core.PluginManager @ Got Named
configuration for interface=org.dspace.sword.SWORDIngester,
config=org.dspace.sword.SWORDMETSIngester =
http://purl.org/net/sword-types/METSDSpaceSIPorg.dspace.sword.SimpleFileIngester
= SimpleFileIngester
2011-10-24 13:48:03,674 DEBUG org.dspace.core.PluginManager @ Got Named
Plugin, intfc=org.dspace.sword.SWORDIngester, name=
http://purl.org/net/sword-types/METSDSpaceSIP,
class=org.dspace.sword.SWORDMETSIngester
2011-10-24 13:48:03,674 DEBUG org.dspace.core.PluginManager @ Got Named
Plugin, intfc=org.dspace.sword.SWORDIngester, name=SimpleFileIngester,
class=org.dspace.sword.SimpleFileIngester
2011-10-24 13:48:03,674 WARN org.dspace.core.PluginManager @ Cannot find
named plugin for interface=org.dspace.sword.SWORDIngester, name="text/xml"
2011-10-24 13:48:03,674 WARN org.dspace.sword.DepositManager @ Unable to
store SWORD package as file: org.purl.sword.base.SWORDErrorException: No
ingester configured for this package type
2011-10-24 13:48:03,675 ERROR org.purl.sword.server.DepositServlet @
org.purl.sword.base.SWORDErrorException: No ingester configured for this
package type
Could someone please point me to what I am doing wrong? Is it some extra
configuration I would have to add?
I see the following line in dspace.cfg but I have not configured it, it is
not clear what should go there:
sword.accept-packaging.[package format].identifier = [package format
identifier]
Thank you in advance for your reply.
Best regards,
Nikolaos Konstantinou
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech