Dspace importer can't find the collections
I try to import from file system in dspace 6.3, and i cant define target collection by collection file.
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)
But if i try the command with parameter, it works:
--collection=dtk/13
Destination collections:
Owning Collection: újkollekcijó
It means the collection is available, why cant find it the importer in first case?
(I will have to import more thousand of items, and i cant create unique command for all of them)
Content of collection file (the handle of owning collection):
dtk/13
Content of content file:
1.pdf
2.pdf
import repository dspace
add a comment |
I try to import from file system in dspace 6.3, and i cant define target collection by collection file.
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)
But if i try the command with parameter, it works:
--collection=dtk/13
Destination collections:
Owning Collection: újkollekcijó
It means the collection is available, why cant find it the importer in first case?
(I will have to import more thousand of items, and i cant create unique command for all of them)
Content of collection file (the handle of owning collection):
dtk/13
Content of content file:
1.pdf
2.pdf
import repository dspace
1
Consider adding the following information to this question: (1)list the contents of a couple files you are trying to add (2)show the content of your collections file (3)include output from the command that is not working as you expect.
– terrywb
Nov 12 '18 at 19:14
Hi, there are the contents and the output: Processing collections file: collections Cannot resolve dtk/13 to a collection. Skipping. The collection is availaible. If it weren't, the another command could not find it too.
– AndrasK
Nov 13 '18 at 10:21
add a comment |
I try to import from file system in dspace 6.3, and i cant define target collection by collection file.
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)
But if i try the command with parameter, it works:
--collection=dtk/13
Destination collections:
Owning Collection: újkollekcijó
It means the collection is available, why cant find it the importer in first case?
(I will have to import more thousand of items, and i cant create unique command for all of them)
Content of collection file (the handle of owning collection):
dtk/13
Content of content file:
1.pdf
2.pdf
import repository dspace
I try to import from file system in dspace 6.3, and i cant define target collection by collection file.
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)
But if i try the command with parameter, it works:
--collection=dtk/13
Destination collections:
Owning Collection: újkollekcijó
It means the collection is available, why cant find it the importer in first case?
(I will have to import more thousand of items, and i cant create unique command for all of them)
Content of collection file (the handle of owning collection):
dtk/13
Content of content file:
1.pdf
2.pdf
import repository dspace
import repository dspace
edited Nov 13 '18 at 10:16
AndrasK
asked Nov 12 '18 at 16:37
AndrasKAndrasK
11
11
1
Consider adding the following information to this question: (1)list the contents of a couple files you are trying to add (2)show the content of your collections file (3)include output from the command that is not working as you expect.
– terrywb
Nov 12 '18 at 19:14
Hi, there are the contents and the output: Processing collections file: collections Cannot resolve dtk/13 to a collection. Skipping. The collection is availaible. If it weren't, the another command could not find it too.
– AndrasK
Nov 13 '18 at 10:21
add a comment |
1
Consider adding the following information to this question: (1)list the contents of a couple files you are trying to add (2)show the content of your collections file (3)include output from the command that is not working as you expect.
– terrywb
Nov 12 '18 at 19:14
Hi, there are the contents and the output: Processing collections file: collections Cannot resolve dtk/13 to a collection. Skipping. The collection is availaible. If it weren't, the another command could not find it too.
– AndrasK
Nov 13 '18 at 10:21
1
1
Consider adding the following information to this question: (1)list the contents of a couple files you are trying to add (2)show the content of your collections file (3)include output from the command that is not working as you expect.
– terrywb
Nov 12 '18 at 19:14
Consider adding the following information to this question: (1)list the contents of a couple files you are trying to add (2)show the content of your collections file (3)include output from the command that is not working as you expect.
– terrywb
Nov 12 '18 at 19:14
Hi, there are the contents and the output: Processing collections file: collections Cannot resolve dtk/13 to a collection. Skipping. The collection is availaible. If it weren't, the another command could not find it too.
– AndrasK
Nov 13 '18 at 10:21
Hi, there are the contents and the output: Processing collections file: collections Cannot resolve dtk/13 to a collection. Skipping. The collection is availaible. If it weren't, the another command could not find it too.
– AndrasK
Nov 13 '18 at 10:21
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53266460%2fdspace-importer-cant-find-the-collections%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53266460%2fdspace-importer-cant-find-the-collections%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Consider adding the following information to this question: (1)list the contents of a couple files you are trying to add (2)show the content of your collections file (3)include output from the command that is not working as you expect.
– terrywb
Nov 12 '18 at 19:14
Hi, there are the contents and the output: Processing collections file: collections Cannot resolve dtk/13 to a collection. Skipping. The collection is availaible. If it weren't, the another command could not find it too.
– AndrasK
Nov 13 '18 at 10:21