我正在尝试通过AIP个人导出我的存储库,但是我收到了以下错误。我验证了并且实际存在于存储文件夹中的文件不存在。有没有办法导出存储库而忽略Dspace删除的这些项目?
我收到以下错误:
C:\dspace\bin>dspace packager -d -a -t AIP -e brendow007@gmail.com -i capes/0 sitewide-aip.zip Using DSpace installation in: C:\dspace Disseminating DSpace SITE [ hdl=capes/0 ] to sitewide-aip.zip Also disseminating all child objects (recursive mode).. This may take a while, please check your logs for ongoing status while we process each package. Exception: C:\dspace\assetstore\40\91\65\40916552143129972874895263919005470063 (O sistema não conseguiu localizar o caminho especificado) java.io.FileNotFoundException: C:\dspace\assetstore\40\91\65\40916552143129972874895263919005470063 (O sistema não conseguiu localizar o caminho especificado) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(Unknown Source) at edu.sdsc.grid.io.local.LocalFileInputStream.open(LocalFileInputStream.java:171) at edu.sdsc.grid.io.GeneralFileInputStream.(GeneralFileInputStream.java:145) at edu.sdsc.grid.io.local.LocalFileInputStream.(LocalFileInputStream.java:139) at edu.sdsc.grid.io.FileFactory.newFileInputStream(FileFactory.java:630) at org.dspace.storage.bitstore.BitstreamStorageManager.retrieve(BitstreamStorageManager.java:525) at org.dspace.content.Bitstream.retrieve(Bitstream.java:593) at org.dspace.content.crosswalk.LicenseStreamDisseminationCrosswalk.disseminate(LicenseStreamDisseminationCrosswalk.java:60) at org.dspace.content.packager.AbstractMETSDisseminator.makeMdSec(AbstractMETSDisseminator.java:660) at org.dspace.content.packager.AbstractMETSDisseminator.addToAmdSec(AbstractMETSDisseminator.java:736) at org.dspace.content.packager.AbstractMETSDisseminator.addAmdSec(AbstractMETSDisseminator.java:763) at org.dspace.content.packager.AbstractMETSDisseminator.makeManifest(AbstractMETSDisseminator.java:848) at org.dspace.content.packager.AbstractMETSDisseminator.writeZipPackage(AbstractMETSDisseminator.java:320) at org.dspace.content.packager.AbstractMETSDisseminator.disseminate(AbstractMETSDisseminator.java:259) at org.dspace.content.packager.DSpaceAIPDisseminator.disseminate(DSpaceAIPDisseminator.java:160) at org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:103) at org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:138) at org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:159) at org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:170) at org.dspace.app.packager.Packager.disseminate(Packager.java:641) at org.dspace.app.packager.Packager.main(Packager.java:460) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:226) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)
答案 0 :(得分:0)
以下是您可以尝试的一些事项。
如果缺少的项目是一个孤立的问题,您应该能够修复数据。如果它不是孤立的,那么运行单个导出将更加困难。
还可以指定要导出的特定包。如果您丢失的数据被隔离到特定的捆绑包(LICENSE,TEXT),您也可以通过这种方式解决问题。
packager -d -e ${USER} -t AIP -o includeBundles=ORIGINAL,LICENSE -i ...
查看该文档,有一个选项“skipIfParentMissing”可能值得尝试。