Hi,

It appears from that error that you are trying to use the DSpace "Simple 
Archive Format" (aka SAF) for the import.  However, the error says that one 
of your items is *missing* the required "dublin_core.xml"?   See the Simple 
Archive Format docs for details on that 
format: 
https://wiki.lyrasis.org/display/DSDOC6x/Importing+and+Exporting+Items+via+Simple+Archive+Format

It's unclear which version of DSpace you are using, and how you are 
attempting to run this import (via a user interface or via commandline, 
etc).  So, it's hard to give any more advice.  But, the basic error here 
appears to be saying that your Simple Archive Format isn't "valid".

If you need more help, let us know on this list & please provide us with 
more information about your DSpace setup and how you are running this 
import, etc.

Tim

On Wednesday, July 27, 2022 at 8:54:14 AM UTC-5 abris...@gmail.com wrote:

> I am currently trying to migrate Greenstone collections to the DSpace 
> platform. I have exported the collections from greenstone in a type 
> suitable for DSpace. but the following error happened when I try to import 
> the items to DSpace. please I am stuck here with no help, any help will be 
> appreciated.
>  
> Items to be imported: *9*
> Items imported: *0*
> *(show items)*
>
> Error Message
> java.io.FileNotFoundException: 
> /dspace/imports/batchuploads/d2c89209-f6c9-4cc5-9c42-e96c0b9f3406/1658929079579/data_unzipped/HASH01a0.dir/dublin_core.xml
>  
> (No such file or directory)
> at java.io.FileInputStream.open0(Native Method)
> at java.io.FileInputStream.open(FileInputStream.java:195)
> at java.io.FileInputStream.(FileInputStream.java:138)
> at java.io.FileInputStream.(FileInputStream.java:93)
> at 
> sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
> at 
> sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
> at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown 
> Source)
> at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown 
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl.loadXML(ItemImportServiceImpl.java:1585)
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl.loadDublinCore(ItemImportServiceImpl.java:676)
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl.loadMetadata(ItemImportServiceImpl.java:661)
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl.addItem(ItemImportServiceImpl.java:480)
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl.addItems(ItemImportServiceImpl.java:338)
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl$2.run(ItemImportServiceImpl.java:1888)
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/a334d84d-6a7a-44c4-bf89-f31f8e6d4fbdn%40googlegroups.com.

Reply via email to