At finally I found the solution for this bug, the only I do, was change the 
contents file encoding from UTF8 to ANSI.

Now I can finally import items to Dspace... :)



Regards,

Verónica


________________________________________
De: NORIEGA BORJA VERONICA GABRIELA [nbvg31...@ute.edu.ec]
Enviado el: domingo, 24 de abril de 2011 10:58
Para: dspace-tech@lists.sourceforge.net
Asunto: [Dspace-tech] Error during batch import

Hi,

I need some help, because i'm having problems during the batch import. I had 
read all about the batch import, and I prepared folders with the items (the 
dublin_core.xml, the contents file, and the archive to be imported) , I execute 
the command line as in the manual. The dublin core is correctly read, but when 
read the contents file, thrown an error, that said this:


Processing contents file: /root/Desktop/Importacion/item1/contents
java.io.FileNotFoundException: /root/Desktop/Importacion/item1/ªjsgaviota.doc 
(No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at 
org.dspace.app.itemimport.ItemImport.processContentFileEntry(ItemImport.java:1327)
        at 
org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.java:1252)
        at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:748)
        at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:616)
        at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:497)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
java.io.FileNotFoundException: /root/Desktop/Importacion/item1/jsgaviota.doc 
(No such file or directory)



It's very weird, cause the archives are there, in the source dir that I 
specified, I tried with another archives, but doesn't works anyway.

Someone have any idea about how fix this error.


NOTE: In the error report,at line :

java.io.FileNotFoundException: /root/Desktop/Importacion/item1/ªjsgaviota.doc 
(No such file or directory)

I notice that appear a singular sign in front the name of the archive, this 
will be a clue about the error..??? someone can help me, I'm working in dspace 
1.7.0
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to