Re: [dspace-tech] ItemUpdate does not work

2017-12-05 Thread Bollini Andrea
It was a bug in the DSpace-CRIS 5.x, now it is fixed and you can use the 
official dublin_core.xml file

https://github.com/4Science/DSpace/commit/9e925eeed17155160c031f3775d5fec6436d79bf

Cheers,

Andrea

Il 01/12/2017 09:49, Marianna Mühlhölzer ha scritto:
Thanks for the replies. The problem is solved now. It occurs only with DSpace 
CRIS. Here the dublin_core.xml should have Metadata-tags instead of dcvalue. If 
I change the dublin_core file, it works.

Am Dienstag, 21. November 2017 19:25:18 UTC+1 schrieb Terry Brady:
I know that I have seen this error before, but I am having trouble recreating 
this error message in my repository.

Here is a minimal dublin_core.xml file that I am using in a call to the command 
to remove a bitstream.



  https://my-repo.edu/handle/10822.2/1359


I find that if I change the tag name for the dcvalue element, I see an error 
message similar to the one you are seeing.

This appears to be the line of code generating the message: 
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/app/itemupdate/ItemArchive.java#L101

Terry

On Mon, Nov 20, 2017 at 11:14 PM, Marianna Mühlhölzer 
 wrote:
Yes, the subfolder are items exported by the export tool. There is a valid 
dublin_core.xml with all metadata of the item.
I tried it also with the doi of the item (-i dc.identifier.doi), but the error 
message is the same.

I think the identifier is not found because the dublin_core.xml is not loaded. 
"processing item 1
Loaded metadata with 0 fields"  But why?



Am Montag, 20. November 2017 15:42:44 UTC+1 schrieb Terry Brady:
Could you describe the contents of the -s directory_archive folder that you are 
using?

Each subfolder of that folder must have a metadata file that will uniquely 
identify en existing DSpace item.  dc.identifier.uri it the default field that 
is used to make a match.

On Mon, Nov 20, 2017 at 3:34 AM, Marianna Mühlhölzer  wrote:
Hi everyone,

we are working with Dspace-Cris v.5.8 and try to delete some metadata fields 
via ItemUpdate tool on the command line. It cannot load the data: "processing 
item 1
Loaded metadata with 0 fields" and consequently does not find the identifier: 
"Exception processing item 1: java.lang.Exception: No dc.identier.uri field 
found for handle"

Does anyone have any idea how to fix the problem?

Thanks,
Marianna

--
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 dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at 
https://groups.google.com/group/dspace-tech.
For more options, visit 
https://groups.google.com/d/optout.



--
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://github.com/terrywbrady/info
425-298-5498 (Seattle, WA)
--
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 dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at 
https://groups.google.com/group/dspace-tech.
For more options, visit 
https://groups.google.com/d/optout.



--
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://github.com/terrywbrady/info
425-298-5498 (Seattle, WA)
--
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 
dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to 
dspace-tech@googlegroups.com.
Visit this group at 

Re: [dspace-tech] ItemUpdate does not work

2017-12-01 Thread Marianna Mühlhölzer
Thanks for the replies. The problem is solved now. It occurs only with 
DSpace CRIS. Here the dublin_core.xml should have Metadata-tags instead of 
dcvalue. If I change the dublin_core file, it works.

Am Dienstag, 21. November 2017 19:25:18 UTC+1 schrieb Terry Brady:
>
> I know that I have seen this error before, but I am having trouble 
> recreating this error message in my repository.
>
> Here is a minimal dublin_core.xml file that I am using in a call to the 
> command to remove a bitstream.
>
> 
> 
>   
> https://my-repo.edu/handle/10822.2/1359
> 
>
> I find that if I change the tag name for the dcvalue element, I see an 
> error message similar to the one you are seeing.
>
> This appears to be the line of code generating the message: 
> https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/app/itemupdate/ItemArchive.java#L101
>
> Terry
>
> On Mon, Nov 20, 2017 at 11:14 PM, Marianna Mühlhölzer  > wrote:
>
>> Yes, the subfolder are items exported by the export tool. There is a 
>> valid dublin_core.xml with all metadata of the item. 
>> I tried it also with the doi of the item (-i dc.identifier.doi), but the 
>> error message is the same.
>>
>> I think the identifier is not found because the dublin_core.xml is not 
>> loaded. "processing item 1
>> Loaded metadata with 0 fields"  But why?
>>
>>
>>
>> Am Montag, 20. November 2017 15:42:44 UTC+1 schrieb Terry Brady:
>>>
>>> Could you describe the contents of the -s directory_archive folder that 
>>> you are using?
>>>
>>> Each subfolder of that folder must have a metadata file that will 
>>> uniquely identify en existing DSpace item.  dc.identifier.uri it the 
>>> default field that is used to make a match.
>>>
>>> On Mon, Nov 20, 2017 at 3:34 AM, Marianna Mühlhölzer >> > wrote:
>>>
 Hi everyone,

 we are working with Dspace-Cris v.5.8 and try to delete some metadata 
 fields via ItemUpdate tool on the command line. It cannot load the data: 
 "processing item 1
 Loaded metadata with 0 fields" and consequently does not find the 
 identifier: "Exception processing item 1: java.lang.Exception: No 
 dc.identier.uri field found for handle"

 Does anyone have any idea how to fix the problem?

 Thanks,
 Marianna

 -- 
 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 dspace-tech...@googlegroups.com.
 To post to this group, send email to dspac...@googlegroups.com.
 Visit this group at https://groups.google.com/group/dspace-tech.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> -- 
>>> Terry Brady
>>> Applications Programmer Analyst
>>> Georgetown University Library Information Technology
>>> https://github.com/terrywbrady/info
>>> 425-298-5498 (Seattle, WA)
>>>
>> -- 
>> 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 dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://github.com/terrywbrady/info
> 425-298-5498 (Seattle, WA)
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] ItemUpdate does not work

2017-11-21 Thread Terry Brady
I know that I have seen this error before, but I am having trouble
recreating this error message in my repository.

Here is a minimal dublin_core.xml file that I am using in a call to the
command to remove a bitstream.



  
https://my-repo.edu/handle/10822.2/1359


I find that if I change the tag name for the dcvalue element, I see an
error message similar to the one you are seeing.

This appears to be the line of code generating the message:
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/app/itemupdate/ItemArchive.java#L101

Terry

On Mon, Nov 20, 2017 at 11:14 PM, Marianna Mühlhölzer  wrote:

> Yes, the subfolder are items exported by the export tool. There is a valid
> dublin_core.xml with all metadata of the item.
> I tried it also with the doi of the item (-i dc.identifier.doi), but the
> error message is the same.
>
> I think the identifier is not found because the dublin_core.xml is not
> loaded. "processing item 1
> Loaded metadata with 0 fields"  But why?
>
>
>
> Am Montag, 20. November 2017 15:42:44 UTC+1 schrieb Terry Brady:
>>
>> Could you describe the contents of the -s directory_archive folder that
>> you are using?
>>
>> Each subfolder of that folder must have a metadata file that will
>> uniquely identify en existing DSpace item.  dc.identifier.uri it the
>> default field that is used to make a match.
>>
>> On Mon, Nov 20, 2017 at 3:34 AM, Marianna Mühlhölzer 
>> wrote:
>>
>>> Hi everyone,
>>>
>>> we are working with Dspace-Cris v.5.8 and try to delete some metadata
>>> fields via ItemUpdate tool on the command line. It cannot load the data:
>>> "processing item 1
>>> Loaded metadata with 0 fields" and consequently does not find the
>>> identifier: "Exception processing item 1: java.lang.Exception: No
>>> dc.identier.uri field found for handle"
>>>
>>> Does anyone have any idea how to fix the problem?
>>>
>>> Thanks,
>>> Marianna
>>>
>>> --
>>> 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 dspace-tech...@googlegroups.com.
>>> To post to this group, send email to dspac...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Terry Brady
>> Applications Programmer Analyst
>> Georgetown University Library Information Technology
>> https://github.com/terrywbrady/info
>> 425-298-5498 <(425)%20298-5498> (Seattle, WA)
>>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://github.com/terrywbrady/info
425-298-5498 (Seattle, WA)

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] ItemUpdate does not work

2017-11-20 Thread Marianna Mühlhölzer
Yes, the subfolder are items exported by the export tool. There is a valid 
dublin_core.xml with all metadata of the item. 
I tried it also with the doi of the item (-i dc.identifier.doi), but the 
error message is the same.

I think the identifier is not found because the dublin_core.xml is not 
loaded. "processing item 1
Loaded metadata with 0 fields"  But why?



Am Montag, 20. November 2017 15:42:44 UTC+1 schrieb Terry Brady:
>
> Could you describe the contents of the -s directory_archive folder that 
> you are using?
>
> Each subfolder of that folder must have a metadata file that will uniquely 
> identify en existing DSpace item.  dc.identifier.uri it the default field 
> that is used to make a match.
>
> On Mon, Nov 20, 2017 at 3:34 AM, Marianna Mühlhölzer  > wrote:
>
>> Hi everyone,
>>
>> we are working with Dspace-Cris v.5.8 and try to delete some metadata 
>> fields via ItemUpdate tool on the command line. It cannot load the data: 
>> "processing item 1
>> Loaded metadata with 0 fields" and consequently does not find the 
>> identifier: "Exception processing item 1: java.lang.Exception: No 
>> dc.identier.uri field found for handle"
>>
>> Does anyone have any idea how to fix the problem?
>>
>> Thanks,
>> Marianna
>>
>> -- 
>> 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 dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://github.com/terrywbrady/info
> 425-298-5498 (Seattle, WA)
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] ItemUpdate does not work

2017-11-20 Thread Terry Brady
Could you describe the contents of the -s directory_archive folder that you
are using?

Each subfolder of that folder must have a metadata file that will uniquely
identify en existing DSpace item.  dc.identifier.uri it the default field
that is used to make a match.

On Mon, Nov 20, 2017 at 3:34 AM, Marianna Mühlhölzer 
wrote:

> Hi everyone,
>
> we are working with Dspace-Cris v.5.8 and try to delete some metadata
> fields via ItemUpdate tool on the command line. It cannot load the data:
> "processing item 1
> Loaded metadata with 0 fields" and consequently does not find the
> identifier: "Exception processing item 1: java.lang.Exception: No
> dc.identier.uri field found for handle"
>
> Does anyone have any idea how to fix the problem?
>
> Thanks,
> Marianna
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://github.com/terrywbrady/info
425-298-5498 (Seattle, WA)

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] ItemUpdate does not work

2017-11-20 Thread Marianna Mühlhölzer
Hi everyone,

we are working with Dspace-Cris v.5.8 and try to delete some metadata 
fields via ItemUpdate tool on the command line. It cannot load the data: 
"processing item 1
Loaded metadata with 0 fields" and consequently does not find the 
identifier: "Exception processing item 1: java.lang.Exception: No 
dc.identier.uri field found for handle"

Does anyone have any idea how to fix the problem?

Thanks,
Marianna

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.