C:\comunidades5\bin>dspace packager -s -a -t AIP -e admin -p capes/237132
"E:\users\brendows\Projects\projetos_1425.zip"
Using DSpace installation in: C:\comunidades5
Destination parents:
Owner: capes/237132
Ingesting package located at E:\users\brendows\Projects\projetos_1425.zip
Also ingesting all referenced packages (recursive mode)..
This may take a while, please check your logs for ongoing status while we
process each package.
org.dspace.content.crosswalk.CrosswalkException:
org.dspace.content.packager.PackageException: Unable to translate Handle to
Internal ID in group named 'COLLECTION_hdl:capes/224578_SUBMIT' as DSpace
Object (Handle='hdl:capes/224578') does not exist.
at
org.dspace.content.crosswalk.METSRightsCrosswalk.ingest(METSRightsCrosswalk.java:547)
at
org.dspace.content.crosswalk.METSRightsCrosswalk.ingest(METSRightsCrosswalk.java:447)
at
org.dspace.content.packager.METSManifest.crosswalkXmd(METSManifest.java:1193)
at
org.dspace.content.packager.METSManifest.crosswalkObjectOtherAdminMD(METSManifest.java:1114)
at
org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:453)
at
org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:228)
at
org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:145)
at org.dspace.app.packager.Packager.ingest(Packager.java:515)
at org.dspace.app.packager.Packager.main(Packager.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:226)
at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)
Caused by: org.dspace.content.packager.PackageException: Unable to
translate Handle to Internal ID in group named
'COLLECTION_hdl:capes/224578_SUBMIT' as DSpace Object
(Handle='hdl:capes/224578') does not exist.
at
org.dspace.content.packager.PackageUtils.translateGroupNameForImport(PackageUtils.java:932)
at
org.dspace.content.crosswalk.METSRightsCrosswalk.ingest(METSRightsCrosswalk.java:524)
... 14 more
org.dspace.content.crosswalk.CrosswalkException:
org.dspace.content.packager.PackageException: Unable to translate Handle to
Internal ID in group named 'COLLECTION_hdl:capes/224578_SUBMIT' as DSpace
Object (Handle='hdl:capes/224578') does not exist.
I check dspace logs and returns it:
2018-03-09 13:21:48,366 WARN org.dspace.content.packager.RoleIngester @
Skipping group named 'COLLECTION_hdl:capes/224578_ADMIN' as it seems to
correspond to a Community or Collection that does not exist in the system.
If you are performing an AIP restore, you can ignore this warning as the
Community/Collection AIP will likely create this group once it is processed.
2018-03-09 13:21:48,367 WARN org.dspace.content.packager.RoleIngester @
Skipping group named 'COLLECTION_hdl:capes/224578_SUBMIT' as it seems to
correspond to a Community or Collection that does not exist in the system.
If you are performing an AIP restore, you can ignore this warning as the
Community/Collection AIP will likely create this group once it is processed.
So i tested with parameter:
dspace packager -r -a -t AIP -e admin -p capes/223016
<dir>/projetos_1425.zip
and it works. But this commands is diferent beacause it restore with old
handle collection and with parameter -s create a new handle.
I'm not sure why this command does not worked.
--
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.