Hello,

i would like to import some titles into my dspace.
My collections:
<community>
<handle>123456789/1</handle>
<id>bb2ac084-c526-4ef7-812e-df1cceacc137</id>
<name>Folyóiratok</name>
<collection>
<handle>123456789/2</handle>
<id>39d84649-70ec-40a3-bb7a-a11083b62757</id>
<name>Arcanum</name>
</collection>
<collection>
<handle>dtk/12</handle>
<id>799c4d08-5bc4-4082-815f-73f244a216de</id>
<name>Második folyóirat</name>
</collection>
<collection>
<handle>dtk/13</handle>
<id>4d5a9485-f3e3-45c0-907f-f72db31722ff</id>
<name>újkollekcijó</name>
</collection>
</community>

I created a file structure for Simple Archive Format and i have a 
collection file with this content:
dtk/13

I tried to import by this command:
root@dspace:/dspace/bin# ./dspace import --add --eperson=myusername.hu 
--source=/tananyag/feltoltesre_var/archive_directory  --mapfile=mapfile141
No collections given. Assuming 'collections' file inside item directory
Adding items from directory: /tananyag/feltoltesre_var/archive_directory
Generating mapfile: mapfile141
Processing collections file: collections
Cannot resolve dtk/13 to a collection. Skipping.
Started: 1541766694907
Ended: 1541766697583
Elapsed time: 2 secs (2676 msecs)

And later by this:
root@dspace:/dspace/bin# ./dspace import --add --eperson=myusername.hu 
--source=/tananyag/feltoltesre_var/archive_directory  --mapfile=mapfile14 
--collection=dtk/13
Destination collections:
Owning  Collection: újkollekcijó
Adding items from directory: /tananyag/feltoltesre_var/archive_directory
Generating mapfile: mapfile14
Adding item from directory item_016
        Loading dublin core from 
/tananyag/feltoltesre_var/archive_directory/item_016/dublin_core.xml
        Schema: dc Element: language Qualifier:  Value: hu_HU
        Schema: dc Element: coverage Qualifier:  Value: 2001 - 2004
        Schema: dc Element: rights Qualifier:  Value: Jogos.
        Loading dublin core from 
/tananyag/feltoltesre_var/archive_directory/item_016/metadata_dtk.xml
        Schema: dtk Element: subtitle Qualifier:  Value:
        Schema: dtk Element: player Qualifier:  Value: pdfplayer
        Processing contents file: 
/tananyag/feltoltesre_var/archive_directory/item_016/contents
        Bitstream: patik_lukovics_imreh.pdf
        Bitstream: kovasz_kii_tanulm.pdf
Processing handle file: handle
It appears there is no handle file -- generating one
0 item_016
Started: 1541766595661
Ended: 1541766599738
Elapsed time: 4 secs (4077 msecs)

I think the first one should be fine too, but it isn't .
Any idea?
(I have more thousand items for import but varied collections.)

Regards, Andras

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to