Susan:

I have run into this problem running big batches.  Every so often, the 
batch importer comes up with the error (at least for me).  If I then batch 
upload with smaller groups of items (without making other changes) 
everything runs fine.

At 11:38 AM 5/7/2007, susan rector wrote:
>Hi all,
>I fixed the last error with the ^M - thanks for all your help
>
>Now, I'm running into another strange import error. I run the dspace
>importer in test mode and it works fine and imports 466 distinct
>directories with metadata and files.
>Test mode: /dspace/bin/dsrun org.dspace.app.itemimport.ItemImport --test
>--add [EMAIL PROTECTED] --collection=5
>--source=/usr/local/archive_directory --mapfile mapfile.txt
>
>When I run the same command just not in test mode, I get the following
>error stating that the contents file isn't there. In fact, it is there
>and has a listing of the files in that directory
>Add: /dspace/bin/dsrun org.dspace.app.itemimport.ItemImport --add
>[EMAIL PROTECTED] --collection=5
>--source=/usr/local/archive_directory --mapfile mapfile.txt
>
>I've changed all the file permissions thinking that might be it - didn't
>work. It seems to get stuck on the jpeg's.
>
>Thanks for any suggestions!
>Susan Rector
>[EMAIL PROTECTED]
>
>
>Error:
>  Processing contents file:
>/usr/local/archive_directory/etd-05152006-125030/contents
>         Bitstream: benitezjm_image06.jpg
>         Bitstream: benitezjm_thesis.pdf
>         Bitstream: benitezjm_image04.jpg
>         Bitstream: benitezjm_image02.jpg
>java.io.IOException: No such file or directory
>         at java.io.UnixFileSystem.createFileExclusively(Native Method)
>         at java.io.File.createNewFile(File.java:883)
>         at
>edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486)
>         at
>org.dspace.storage.bitstore.BitstreamStorageManager.store(BitstreamStorageManager.java:332)
>         at org.dspace.content.Bitstream.create(Bitstream.java:184)
>         at org.dspace.content.Bundle.createBitstream(Bundle.java:362)
>         at
>org.dspace.app.itemimport.ItemImport.processContentFileEntry(ItemImport.java:1103)
>         at
>org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.java:1030)
>         at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:631)
>         at
>org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:498)
>         at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:407)
>java.io.IOException: No such file or directory
>
>
>
>Contents file:
>benitezjm_image06.jpg
>benitezjm_thesis.pdf
>benitezjm_image04.jpg
>benitezjm_image02.jpg
>benitezjm_image05.jpg
>benitezjm_image01.jpg
>benitezjm_image03.jpg
>
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>DSpace-tech mailing list
>DSpace-tech@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech

***************************
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***************************
[EMAIL PROTECTED] 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to