Hello Keith,

does your source directory got the right structure?
There should be one directory per item within the source directory. Each
item directory should contain the dublin_core.xml (or other metadata
files), the file contents and the files to be imported, e.g.:

[sourcedirectory]/item01/contents
[sourcedirectory]/item01/dublin_core.xml
[sourcedirectory]/item01/foo.pdf

in [sourcedirectory]/item01/contents file you should have a line with
the filename, e.g.:
foo.pdf
It is assumed that the file is within the item directory.

It seems as if you are using an absolute path in the contents file. This
won't work.

Hope that helps

Claudia Jürgen


Am 07.04.2010 20:09, schrieb Keith Michael Pickett:
> I’m working on a test registration of items that reside on the same server as 
> our installation of DSapce.  The metadata goes where it’s supposed to, but 
> when the command prompt gets to processing the “contents” file I get the 
> following error.  There’s a strange character in there that I’ve never seen 
> before:
> 
> Processing contents file: E:\LASC_contents\testfolder1\contents
> java.io.FileNotFoundException: E:\LASC_contents\testfolder1\∩�[┐-r -s 0 -f 
> E:\LAS
> C_Test\A_New_Orleans_1813-1846\LSC-4-1-001\000001\scans\lsc000001_A_0001.jpg 
> (Th
> e filename, directory name, or volume label syntax is incorrect)
>          at java.io.FileInputStream.open(Native Method)
>          at java.io.FileInputStream.<init>(Unknown Source)
>          at java.io.FileInputStream.<init>(Unknown Source)
>          at 
> org.dspace.app.itemimport.ItemImport.processContentFileEntry(ItemImpo
> rt.java:1169)
>          at 
> org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.j
> ava:1051)
>          at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:648)
>          at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:514)
>          at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:421)
> java.io.FileNotFoundException: E:\LASC_contents\testfolder1\∩�[┐-r -s 0 -f 
> E:\LAS
> C_Test\A_New_Orleans_1813-1846\LSC-4-1-001\000001\scans\lsc000001_A_0001.jpg 
> (Th
> e filename, directory name, or volume label syntax is incorrect)
> 
> 
> Any suggestions?
> 
> Thanks!
> 
> Keith M. Pickett, MLIS
> 
> Digital Initiatives Librarian
> Biology Subject Specialist
> Chair, LOUISiana Digital Library Committee
> Earl K. Long Library, Room 319
> University of New Orleans
> 2000 Lakeshore Drive
> New Orleans, LA 70148
> (504) 280-3273
> http://library.uno.edu/aboutus/staff/keith.cfm
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> 
> 
> 
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

<<attachment: Claudia_Juergen.vcf>>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to