Thanks Graeme for the guesses. You were right: there were no permission
problems. The mistake was in a complete other direction: there were
typos in three field names :-( .
And now I could import my stuff (hurray!) but two things let me hesitate:
1.) In the documentation of the format of the dublin_core.xml file the
attribute 'language' in mentioned. But as far as I see it's setting is
not recognised. Especially I'd like to avoid the automatically setting
of language values to things like numbers, dates, person names and so
on. But using '-', 'none' or '' as value does not work. Also setting
other values then the locale language ('de' in my case) has no effect.
2.) When I use the --workflow option for the import, only 'dc.title' and
'dc.identifier' are imported. Without --workflow the whole dataset is
visible. What's going on?
Can someone explain this behaviour and know how to handle it?
Best regards
Robert
--------
Fox, Graeme schrieb:
> Will have to guess here as to the cause.
>
> From a little bit of testing, if the file name in the 'contents' file is
> incorrect then you get an error like this:
> ' Processing contents file: /home/dspace/TestCase4/0/contents
> java.io.FileNotFoundException: /home/dspace/TestCase4/0/license1.txt (No such
> file or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> '
>
> If the bundle name in the contents file is incorrect like this
> 'license1.txt bundle:LICENSE
> t1.pdf bundle:ORIGINAL1
> 20060000773.pdf bundle:ORIGINAL
> '
> Then the file 't1.pdf' is ignored.
>
> I wonder about the bundle name 'CC-LICENSE', I presume "creative commons
> license", probably the bundle names are in the code for itemimport.
>
> I think the error message points to not been able to find the 'contents' file
> for some reason.
>
> Still, you are processing the additional meta data schemas, xmt, uec,....
> so you could go back to your original test case, and check the coding the
> xml, the file names used for the xml, contents and data files and try running
> it again.
>
> regards
>
> Graeme Fox
> Project Manager
> Information Technology Services
> Massey University
> Private Bag 11222 Email: [EMAIL PROTECTED]
> Palmerston North Phone: +64 6 350-5799 ext 2109
> New Zealand Mobile: 027 3584848
>
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech