Hello,

 

I'm having a problem with Importing/Exporting of items. Every time I export an 
item which has bittreams with accents in the filename, the import tool gives an 
error indicating that the file could not be found. The exact error is the 
following

 

dspace@teste-17:/lume/dspace/exports/CMEDocumental$ ../../bin/dspace import -a 
-e [email protected] -s . -m mapfile -c 123456789/31803 > output

java.io.FileNotFoundException: ./29/Folder - Divulgação - Filiação - 
1998.pdf (No such file or directory)

        at java.io.FileInputStream.open(Native Method)

        at java.io.FileInputStream.<init>(FileInputStream.java:120)

        at java.io.FileInputStream.<init>(FileInputStream.java:79)

        at 
org.dspace.app.itemimport.ItemImport.processContentFileEntry(ItemImport.java:1337)

        at 
org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.java:1262)

        at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:751)

        at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:617)

        at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:498)

        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)

 

 

The reason why the error happens is trivial, I just don't know how to solve it 
(without renaming everything, which I can't do). I assumed that while 
everything works with UTF-8, these errors would not happen, but they do.

 

Any suggestions?

 

 

Regards,

Afonso

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to