Hi,
We tried to export the site (DSpace 6.0) as follows:
/dspace/bin/dspace packager -a -d -t AIP -e user@repo -i 123456789/0 
123456789-0.zip 

The result was the following error:

Exception: Error exporting METS for DSpace Object, type=ITEM, 
handle=123456789/5547, dbID=c1f08fcd-bf21-4aee-8085-998f6d00040f
org.dspace.content.packager.PackageValidationException: Error exporting 
METS for DSpace Object, type=ITEM, handle=123456789/5547, 
dbID=c1f08fcd-bf21-4aee-8085-998f6d00040f, Reason: 
edu.harvard.hul.ois.mets.helper.MetsException: ID "bitstream_1" already 
exists
        at 
org.dspace.content.packager.AbstractMETSDisseminator.disseminate(AbstractMETSDisseminator.java:292)
        at 
org.dspace.content.packager.DSpaceAIPDisseminator.disseminate(DSpaceAIPDisseminator.java:165)
        at 
org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:102)
        at 
org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:137)
        at 
org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:158)
        at 
org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:149)
        at 
org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:149)
        at 
org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:169)
        at org.dspace.app.packager.Packager.disseminate(Packager.java:645)
        at org.dspace.app.packager.Packager.main(Packager.java:464)
        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:229)
        at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
Caused by: edu.harvard.hul.ois.mets.helper.MetsException: ID "bitstream_1" 
already exists
        at 
edu.harvard.hul.ois.mets.helper.MetsValidator.validate(MetsValidator.java:68)
        at 
edu.harvard.hul.ois.mets.helper.MetsVElement.validate(MetsVElement.java:68)
        at 
edu.harvard.hul.ois.mets.helper.MetsValidator.validate(MetsValidator.java:78)
        at 
edu.harvard.hul.ois.mets.helper.MetsVElement.validate(MetsVElement.java:68)
        at 
edu.harvard.hul.ois.mets.helper.MetsValidator.validate(MetsValidator.java:78)
        at 
edu.harvard.hul.ois.mets.helper.MetsVElement.validate(MetsVElement.java:68)
        at 
edu.harvard.hul.ois.mets.helper.MetsValidator.validate(MetsValidator.java:78)
        at 
edu.harvard.hul.ois.mets.helper.MetsVElement.validate(MetsVElement.java:68)
        at 
org.dspace.content.packager.AbstractMETSDisseminator.writeZipPackage(AbstractMETSDisseminator.java:400)
        at 
org.dspace.content.packager.AbstractMETSDisseminator.disseminate(AbstractMETSDisseminator.java:271)
        ... 15 more

I checked the item with handle=123456789/5547 and it seems to be okay. 
Will anyone have any idea how to solve it? Thank you.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to