Hi Caryn,

I am not sure if it is helpful. Just give a pointer to let you check 
against.

 From your description, the error could be caused by incorrect character 
encoding in your file that is named as "contents".
Make sure this "contents" file is **plain text**, with ANSI/ASCII 
contents and NOT saved in unicode or UTF-8 encoding.

UTF-8 encoded text files have 3 extra bytes at the head and this could 
cause problem for the import program to process correctly.

Best,
Allen Lam.
HKU Hub Administrator, http://hub.hku.hk


Caryn Neiswender wrote:
> Hello, All~
>
> I'm encountering a strange import issue, that I'm hoping someone on the 
> list can help me track down. 
>
> The command: /dspace/bin/import -a -e {email address} -c 10575/11 -s 
> /dspace/import -m /dspace/import/test
> DSpace Version: 1.5.2
>
> When I run a test run, everything looks perfectly fine, and multiple 
> items seem to be added. 
> When I run it live, I keep getting "file not found".  While the error 
> message is the same, the system sometimes can't locate the contents 
> file, sometimes the PDF, and sometimes the license. I do a ls on the 
> directory, and all files are there (and non-blank). 
>
> I have been able to load a few files, mostly through doing things like 
> renaming the file (and adjusting the contents file), re-creating the 
> contents file (either by hand, typing the file names, or using ls 
>  >contents, then removing the contents and dublin_core.xml lines).  The 
> system reads the metadata just fine - it just can't seem to find the 
> files.  I also checked ownership on the import directory - all 
> directories and files are owned by dspace.
>
> Any help you can provide would be extremely appreciated!!! 
>
> Thanks,
> Caryn
>
> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
> Caryn Neiswender
> Digital Projects Specialist
> UC Irvine Libraries
> (949) 824-9086
>
> Curiosity sends us out
> To a world both larger and smaller
> Than what we know and believe in
> With a passion for finding an answer
> Or at least understanding our questions.
> -Excerpt from Julia Alvarez's "Why I Am in Love with Librarians." 
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>   


------------------------------------------------------------------------------
Download Intel® 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