Re: [dspace-tech] Dimensions badge on dspace 7

2024-04-26 Thread Jose Blanco
Hi Emilio,

I tried to cp/pt the altemetrics logic to create the dimensions badge
and it seems to work well except when I leave the item page and return
to it.  The Developer tool indicted that it is not able to do this:

https://github.com/DSpace/dspace-angular/pull/2496/files#diff-698dc854605d3d1b1bf0aa73931a413e84cc9315c6c23a566cbc44d268c5b33fR41

in the dimensions case, I used :

private reloadBadge(data: any[]) {
if (data.find((element) => this.isLoaded(element))) {
  const initMethod = '_dimension_embed_init';
  window[initMethod]();
}
  }

it can't find the method: _dimensino_embed_init.  I wonder what you
are using in the reloadBadge method for Dimensions?

Thank you!
-Jose

On Fri, Apr 19, 2024 at 10:23 AM Jose Blanco  wrote:
>
> Hi Emilio,
>
> The PR is for an Altmetrics badge, but I see you have a dimensions
> badge on your page. If I incorporate the PR, I will only get the
> Altmetrics Badge,  right?  Here is what we have now with dspace 6.3
>
>  https://hdl.handle.net/20.500.14352/103230
>
> We actually display both: the altmetrics and the dimension badge, so
> that is my goal.  What do you suggest?
>
> Thank you!
> José
>
> On Fri, Apr 19, 2024 at 2:24 AM emilio lorenzo  wrote:
> >
> > hi, José
> >
> > yes, you can see in https://hdl.handle.net/20.500.14352/103230   or 
> > other Dspace 7 repositories we built.
> >
> > As you says,  it is not  straightforward. Ssee  
> > https://github.com/DSpace/dspace-angular/issues/2400   for a almost 
> > complete description- There is a pull request related to it   
> > https://github.com/DSpace/dspace-angular/pull/2496
> >
> >
> > Best luck
> >
> > Emilio
> >
> >
> >
> > On 18/04/2024 23:15, Jose Blanco wrote:
> >
> > I wonder if anyone has integrated Dimension Badges on an instance of
> > dspace 7 or higher.  I'm finding it not straightforward.
> >
> > Here is the website for Dimensions: https://badges.dimensions.ai/
> >
> > Thank you!
> > -Jose
> >
> > --
> > All messages to this mailing list should adhere to the Code of Conduct: 
> > https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> > ---
> > 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 view this discussion on the web visit 
> > https://groups.google.com/d/msgid/dspace-tech/3652da81-8ad6-4332-8e16-aa8110bec045%40arvo.es.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vOpicMOptsVq6CghVxWqtqbdUR8-2p5FfVCLkbkmomqQ%40mail.gmail.com.


Re: [dspace-tech] Dimensions badge on dspace 7

2024-04-19 Thread Jose Blanco
Hi Emilio,

The PR is for an Altmetrics badge, but I see you have a dimensions
badge on your page. If I incorporate the PR, I will only get the
Altmetrics Badge,  right?  Here is what we have now with dspace 6.3

 https://hdl.handle.net/20.500.14352/103230

We actually display both: the altmetrics and the dimension badge, so
that is my goal.  What do you suggest?

Thank you!
José

On Fri, Apr 19, 2024 at 2:24 AM emilio lorenzo  wrote:
>
> hi, José
>
> yes, you can see in https://hdl.handle.net/20.500.14352/103230   or other 
> Dspace 7 repositories we built.
>
> As you says,  it is not  straightforward. Ssee  
> https://github.com/DSpace/dspace-angular/issues/2400   for a almost complete 
> description- There is a pull request related to it   
> https://github.com/DSpace/dspace-angular/pull/2496
>
>
> Best luck
>
> Emilio
>
>
>
> On 18/04/2024 23:15, Jose Blanco wrote:
>
> I wonder if anyone has integrated Dimension Badges on an instance of
> dspace 7 or higher.  I'm finding it not straightforward.
>
> Here is the website for Dimensions: https://badges.dimensions.ai/
>
> Thank you!
> -Jose
>
> --
> All messages to this mailing list should adhere to the Code of Conduct: 
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/3652da81-8ad6-4332-8e16-aa8110bec045%40arvo.es.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tkJSwA39CoBr5NnHqYnbfHVZwQf0%2BPuPXVK7xpCtzzbQ%40mail.gmail.com.


[dspace-tech] Dimensions badge on dspace 7

2024-04-18 Thread Jose Blanco
I wonder if anyone has integrated Dimension Badges on an instance of
dspace 7 or higher.  I'm finding it not straightforward.

Here is the website for Dimensions: https://badges.dimensions.ai/

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tpuZ_bX7xJcA2dDrUYNa8DjhKrf62Fb%2BqyStN4Tv%2BwPg%40mail.gmail.com.


[dspace-tech] question about the replicator

2024-03-11 Thread Jose Blanco
I have been experimenting with the dspace replicator code
https://wiki.lyrasis.org/display/DSPACE/ReplicationTaskSuite

I have extracted a bag using this command:

./dspace curate -t transmitaip -i  TEMP-BOGUS/384362 -r - -e
blan...@umich.edu

Then I changed the item a bit on my instance and was able to to issue this
command and get the object replaced in my dspace instance with the object I
had just stored in backup.

./dspace curate -t replacewithaip -i TEMP-BOGUS/384362 -r - -e
blan...@umich.edu

I wanted to test out deleting the item from my dspace instance and then
issuing this command to restore it.

./dspace curate -t restorefromaip -i TEMP-BOGUS/384362 -r - -e
blan...@umich.edu

but I'm getting this error:

Failed to restore Object 'TEMP-BOGUS/384362'. Deletion record could not be
found in Replica Store. Are you sure this object was previously deleted?

It seems to be coming from here:
https://github.com/DSpace/dspace-replicate/blob/ec570e14935a08618bf1fe58b3c2f5d4f4ada24d/src/main/java/org/dspace/ctask/replicate/BagItRestoreFromAIP.java#L160

I have a feeling I'm not following the workflow correctly, or not
completely understand what the restore function does.  Does anyone know why
I'm getting this error?

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-udQ%2Bebra2CBKHvxmQV0GW3%3DhGRJ%3DD1jnbCzAMYXKAQdA%40mail.gmail.com.


Re: [dspace-tech] Community could not be deleted, backend or SQL statement to remove community

2024-01-11 Thread Jose Blanco
Hi Lewatle,

I think it's a complicated thing to do via the database.  I would look
at the log file and see why it's not letting you delete it via the UI.
It might be an item in the collection that is somehow not able to be
deleted and if you can find out why that item is not deleting, you
might be able to address that issue and then delete the collection.
That is my guess.

-Jose


On Thu, Jan 11, 2024 at 7:08 AM Lewatle Johannes Phaladi
 wrote:
>
> Hi All,
>
> Is there any SQL statement to remove community, I have failed to remove it 
> from frontend and now I would like to delete this community with its 
> subcommunity using SQL statement please share any statement that might be 
> helpful to delete this community on DSpace 7.6
>
> Regards,
> Lewatle
>
> --
> All messages to this mailing list should adhere to the Code of Conduct: 
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/1d949908-65a1-46f8-aed1-905d0b38fa1an%40googlegroups.com.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vGj91qgHV9bu86%3DFR_KPKoUqfwE%3DD2CGMjF8xq-J9CCA%40mail.gmail.com.


[dspace-tech] Re: getting the submission form to load when submission begins.

2023-11-26 Thread Jose Blanco
I have now incorporated this PR:
https://github.com/DSpace/DSpace/pull/8864

And my change to DCInputsReader.java is still not working.  I can tell
from the log file that the code executes, but the submission form
looks exactly the same as it is setup at startup.  Not sure what to do
next.

-Jose

On Fri, Aug 4, 2023 at 1:20 PM Jose Blanco  wrote:
>
> In previous versions of dspace, I've made some changes to get the
> submission form to reload when the user issues a request to submit an
> item.  The reason I did this was because I needed to change the
> submission form based on who the user was.  I know for sure I had this
> working on 6.3, and I think I had it working on 7.4, but now I can't
> get it going on 7.6.  I wonder if anyone has tried this out.  I know
> that there is an PR in DRAFT state presently that addresses this
> issue, but I'm wondering if anyone has found a "quick" solution for
> this.  Here is the PR I'm referring to:
>
> https://github.com/DSpace/DSpace/pull/8864
>
> This is the code I have been trying to change:
> https://github.com/DSpace/DSpace/blob/main/dspace-api/src/main/java/org/dspace/app/util/DCInputsReader.java#L539
>
> Ideally, I would like this function:
> private void processValuePairs(Node e)  in DCInputsReader.java
>
> to run and for the changes in there to stick when the user starts the
> submission.  From looking at log outputs, I see the function runs when
> the user starts the submission, but the changes don't stick.  I have
> some code in there that says if there is a user, do this..., Of
> course, at start up there is no user, so that code does not run.  But
> once the user is logged in, there is a user, and the code runs, but
> the submission form does not reflect the change.
>
>
> Thank you!
> -Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-s74QBmvpDn8rwhs6pDTKO608OOGFNxRFrKYy_1yqH2mA%40mail.gmail.com.


[dspace-tech] Re: The ReplicationTaskSuite

2023-10-23 Thread Jose Blanco
I wanted to repost my question about Dspace users that are using:

https://wiki.lyrasis.org/display/DSPACE/ReplicationTaskSuite

I'm looking for some feedback about the tool.

Thank you!
-Jose

On Thu, Oct 12, 2023 at 6:48 PM Jose Blanco  wrote:
>
> I wonder if anyone is using this in their dspace instance:
>
> https://wiki.lyrasis.org/display/DSPACE/ReplicationTaskSuite
>
> I was just experimenting with it, and am not sure about a couple of
> things. One being that on the replicate-bagit.cfg I have this
> configuration:
>
> replicate-bagit.tag.aptrust-info.title = My Title
>
> I see that this shows up in this file: aptrust-info.txt as the following:
>
> Access: Institution
> Title: My Title
> Storage-Option: Standard
>
> I have been told that Title in this file should have the item title.
> Can anyone give me some clarity on this?
>
> Thank you!
> Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-uoYWjxTxbqMSp8ocS4aJ7p0wemWkq30_UBu1giik9fig%40mail.gmail.com.


[dspace-tech] The ReplicationTaskSuite

2023-10-12 Thread Jose Blanco
I wonder if anyone is using this in their dspace instance:

https://wiki.lyrasis.org/display/DSPACE/ReplicationTaskSuite

I was just experimenting with it, and am not sure about a couple of
things. One being that on the replicate-bagit.cfg I have this
configuration:

replicate-bagit.tag.aptrust-info.title = My Title

I see that this shows up in this file: aptrust-info.txt as the following:

Access: Institution
Title: My Title
Storage-Option: Standard

I have been told that Title in this file should have the item title.
Can anyone give me some clarity on this?

Thank you!
Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-v82uWM8jD-u6rQ-vdLQPn29yAAO%3DidbP%2BNsR7HCKaVQw%40mail.gmail.com.


Re: [dspace-tech] How to have customized submission form for different collections on DSpace 7.6

2023-10-11 Thread Jose Blanco
Hi Lewatle,

I think this is the documentation you are looking for:
https://wiki.lyrasis.org/display/DSDOC7x/Submission+User+Interface

-Jose

On Wed, Oct 11, 2023 at 2:49 AM Lewatle Johannes Phaladi
 wrote:
>
> Dear DSpace Colleagues,
>
> When creating customized submission submission form for different collections 
> which steps should I follow? For certain collection users want different 
> field to apply and others they want different fields to be used. I am using 
> DSpace 7.6 version.
>
> Regards,
> Lewatle
>
> --
> All messages to this mailing list should adhere to the Code of Conduct: 
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/84b27250-2c39-4f06-89ed-881861f57e70n%40googlegroups.com.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vP5C9fniHwsVtMv7k9W-c4eJByFqn4M7M0%3D7gUNmvAKg%40mail.gmail.com.


[dspace-tech] Adding a component to the item result component.

2023-09-23 Thread Jose Blanco
I want the file information that shows up in the simple item page to
be displayed below the item in the result list page.  So

I added this



to this file:
app/shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component.html

I'm using the dspace theme.

I'm getting this error:

src/app/shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component.html:48:1
- error NG8001: 'ds-themed-item-page-file-section' is not a known
element: 1. If 'ds-themed-item-page-file-section' is an Angular
component, then verify that it is part of this module. 2. If
'ds-themed-item-page-file-section' is a Web Component then add
'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component
to suppress this message. 48 
~~~
src/app/shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component.ts:43:16
43 templateUrl: './item-search-result-list-element.component.html'
~~ Error occurs in the
template of component ItemSearchResultListElementComponent.

What do I need to do to use this component in
item-search-result-list-element.component.html ?

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-ujHNhk2VSED_yLoM71yksr9T3DQZ3Aw33NnfMDsNvktQ%40mail.gmail.com.


[dspace-tech] Question about IRUS setup.

2023-09-06 Thread Jose Blanco
I have a question about the IRUS setup.  I'm not sure what this comment means:

https://github.com/DSpace/DSpace/blob/main/dspace/config/modules/irus-statistics.cfg#L27

I looked at the local.cfg file and didn't see what it refers to.  In
6.3, I used a patch from atmire that had these configs.

# Spider options
stats.spider.ipmatch.enabled = true
stats.spider.agentempty.enabled = false
stats.spider.agentregex.enabled = true

Do I need to add these parameters to the irus-statistics.cfg file in 7.6?

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vb6WS%3DoTFGtjFXKLYZ69Fics7EswzCjzaAU7i6wgxzpg%40mail.gmail.com.


Re: [dspace-tech] dspace oai import results in error "Invalid Number"

2023-09-05 Thread Jose Blanco
Hi Fernando,

Really not sure what is happening. You have not changed this:

https://github.com/DSpace/DSpace/blob/dspace-6.3/pom.xml#L32

right?

-Jose

On Fri, Sep 1, 2023 at 6:17 PM Fernando Costa 
wrote:

>
> Hello Jose, thank you for your answer.
>
> Yes, I already try it, but the command  ./dspace oai clean-cache have no
> effect because I have nothing imported in the OAI, the error occurs already
> in the first item when I try to import the items.
>
> Here the output of these two commands:
>
> [image: oai-error-2.png]
> Em sexta-feira, 1 de setembro de 2023 às 12:07:43 UTC-3, Jose Blanco
> escreveu:
>
>> Hi Fernando,
>>
>> I guess you have tried this?:
>>
>> ./dspace oai clean-cache
>>
>>  ./dspace oai import -c -v
>>
>> I'm not sure why this is happening, but the commands above "reset" the
>> oai index. This is from 7.3, but I think it is the same in 6.3.
>>
>> -Jose
>>
>> On Thu, Aug 31, 2023 at 5:56 PM Fernando Costa 
>> wrote:
>>
>>> Hello, I'm trying to enable the oai-pmh in a DSpace 6.3 xmlui, but when
>>> I run the command to import the items in oai *./dspace oai import* (with
>>> any params) I receive the following error:
>>>
>>> [image: oai-import-error.png]
>>>
>>> I already tried move this item to private and run the command again, but
>>> the error occurs in another item and another and another...
>>>
>>> Any ideas how to solve this problem?
>>>
>>> --
>>> All messages to this mailing list should adhere to the Code of Conduct:
>>> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
>>> ---
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/dspace-tech/9cade30e-17c3-4261-8175-e4493b1fb36en%40googlegroups.com
>>> <https://groups.google.com/d/msgid/dspace-tech/9cade30e-17c3-4261-8175-e4493b1fb36en%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/99f57211-e9b2-4d26-8c75-6f74385720f1n%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-tech/99f57211-e9b2-4d26-8c75-6f74385720f1n%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-sNbwuT0utYe7urPQ4cx_sL6XTxEgc1rQD5Vy4sF4zrxw%40mail.gmail.com.


Re: [dspace-tech] dspace oai import results in error "Invalid Number"

2023-09-01 Thread Jose Blanco
Hi Fernando,

I guess you have tried this?:

./dspace oai clean-cache

 ./dspace oai import -c -v

I'm not sure why this is happening, but the commands above "reset" the oai
index. This is from 7.3, but I think it is the same in 6.3.

-Jose

On Thu, Aug 31, 2023 at 5:56 PM Fernando Costa 
wrote:

> Hello, I'm trying to enable the oai-pmh in a DSpace 6.3 xmlui, but when I
> run the command to import the items in oai *./dspace oai import* (with
> any params) I receive the following error:
>
> [image: oai-import-error.png]
>
> I already tried move this item to private and run the command again, but
> the error occurs in another item and another and another...
>
> Any ideas how to solve this problem?
>
> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/9cade30e-17c3-4261-8175-e4493b1fb36en%40googlegroups.com
> 
> .
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-sLTwTG5uqSjEqG%3D8%3DrRhtu74DzmweDrApSEZpLdZTCQg%40mail.gmail.com.


Re: [dspace-tech] DSpace 7.6 checksum error

2023-08-31 Thread Jose Blanco
Elaine,

Not sure.  Have you tried the queries recommended here to see the
results of the checker.

https://wiki.lyrasis.org/display/DSDOC7x/Validating+CheckSums+of+Bitstreams#ValidatingCheckSumsofBitstreams-DatabaseQuery

My only guess is that there is an item that is giving it trouble, if
you could narrow it down, maybe you will see something.

-Jose

On Thu, Aug 31, 2023 at 11:39 AM Elaine Ding  wrote:
>
> I don't see error in dspace.log , however there is some info in checker.log, 
> Is that because the bitstream issue ?
> Thanks
>
> checker.log 
>
> Run start time: 08/30/2023 02:03:25
> Run start time: 08/30/2023 02:04:01
> Run start time: 08/30/2023 02:04:31
> Run start time: 08/30/2023 02:05:57
> Run start time: 08/30/2023 02:07:11
> Run start time: 08/30/2023 02:13:16
> Run start time: 08/30/2023 02:18:25
> Run start time: 08/30/2023 02:19:11
> **
> Bitstream ID: 0fee605a-91a9-49bc-b3be-ca784005ab43
> Bitstream info found: false
> Bitstream marked deleted: false
> Bitstream found: true
> To be processed: true
> Internal Id: 9924273348884648871561730712958809106
> Name: .tif
> Store number: 0
> Size: 11639014
> Bitstream format: 14
> User format description: null
> Source: null
> Checksum algorithm: MD5
> Previous checksum: f062dea6d65cde6d752c25e439a4bf1e
> Previous checksum date: 08/30/2023 02:19:11
> New checksum: f062dea6d65cde6d752c25e439a4bf1e
> Checksum comparison result: CHECKSUM_MATCH
>
> On Thursday, August 31, 2023 at 11:08:07 AM UTC-4 Jose Blanco wrote:
>>
>> Hi Elaine,
>>
>> Can you go to the dspace.log file and run it again, and see if the log
>> file gives you any more information? It might point you to the line
>> of code where this is happening, and maybe that will shed some light.
>>
>> Just from reading the error, it sounds like you have a table that
>> returns 3 rows, but the code expects it to return just one row.
>>
>> -Jose
>>
>> On Thu, Aug 31, 2023 at 9:58 AM Elaine Ding  wrote:
>> >
>> > I am using DSpace 7.6 . when I run "./bin/dspace checker -d2h" , it show 
>> > errors like , have you ever see this ?
>> >
>> > Exception: org.hibernate.jdbc.BatchedTooManyRowsAffectedException: Batch 
>> > update returned unexpected row count from update [0]; actual row count: 3; 
>> > expected: 1
>> >
>> > any idea or suggestions ?
>> >
>> > Thanks
>> > Elaine
>> >
>> > --
>> > All messages to this mailing list should adhere to the Code of Conduct: 
>> > https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
>> > ---
>> > 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 view this discussion on the web visit 
>> > https://groups.google.com/d/msgid/dspace-tech/98961616-f8d2-41be-aeb3-1185e61575cbn%40googlegroups.com.
>
> --
> All messages to this mailing list should adhere to the Code of Conduct: 
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/804a1c4a-9c62-401b-a967-7658d8ce520fn%40googlegroups.com.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tOXX6bE%3DnK7tyN0f8Y58AWCxJgUv_u3fTZuHmbB6Lbwg%40mail.gmail.com.


Re: [dspace-tech] DSpace 7.6 checksum error

2023-08-31 Thread Jose Blanco
Hi Elaine,

Can you go to the dspace.log file and run it again, and see if the log
file gives you any more information?  It might point you to the line
of code where this is happening, and maybe that will shed some light.

Just from reading the error, it sounds like you have a table that
returns 3 rows, but the code expects it to return just one row.

-Jose

On Thu, Aug 31, 2023 at 9:58 AM Elaine Ding  wrote:
>
> I am using DSpace 7.6  . when I run "./bin/dspace checker -d2h" , it show 
> errors like , have you ever see this ?
>
> Exception: org.hibernate.jdbc.BatchedTooManyRowsAffectedException: Batch 
> update returned unexpected row count from update [0]; actual row count: 3; 
> expected: 1
>
> any idea or suggestions ?
>
> Thanks
> Elaine
>
> --
> All messages to this mailing list should adhere to the Code of Conduct: 
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/98961616-f8d2-41be-aeb3-1185e61575cbn%40googlegroups.com.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-s2yraepdFXeg3LfA11N6hNRkO2_%3DGo%3DEhixStRC3L3QA%40mail.gmail.com.


Re: [dspace-tech] How to restore a tagged deleted file in DSpace 7?

2023-08-30 Thread Jose Blanco
HI Frank,

I am not 100% sure, but I think in order to restore files that have
been deleted via the UI, you will have to write a script.  I found
this in the documentation ( look at the second row ):

https://wiki.lyrasis.org/display/DSDOC7x/AIP+Backup+and+Restore#AIPBackupandRestore-HowdoesthisdifferfromtraditionalDSpaceBackups?WhichBackuprouteisbetter?

I think you will have to have a good understanding of the database to
write the script, but as long as the following has not been run:

./dspace cleanup -v  ( the -v is for verbose, not really needed )

You should be able to get the file(s) back and then add them to the
appropriate items.

But again, I'm not 100% sure there is not a tool already provided by
Dspace to do this.

-Jose




On Wed, Aug 30, 2023 at 7:32 AM Frank Diepmaat  wrote:
>
> Hi all,
>
> I’m new to this community and my institution is considering deploying DSpace 
> as their future institutional repository
>
> In one of the conversations within this DSpace Technical Support pages I’ve 
> read following:
>
> ‘When a bitstream is 'deleted' in DSpace, it's actually just tagged
>
> 'deleted'; the original file isn't immediately removed from the file
>
> system. This allows 'rollback' functionality and is intended to help
>
> prevent some nasty mistakes being made!’
>
>
>
> However, I was wondering how to restore the tagged 'deleted' file. Is there a 
> provision within the application that allows a DSpace administrator to 
> restore the file or can this only be done at the server level by, for 
> example, copying the file that is still in directory ../dspace/assestore to 
> another directory?
>
>
> Best regards,
>
> Frank Diepmaat
>
> --
> All messages to this mailing list should adhere to the Code of Conduct: 
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/d2db1ee0-c000-4ba6-abe0-92ce9c9f2c06n%40googlegroups.com.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vKcy7LJfEcw_y%2BuXgBzpbkMyQrG%2BTsMzespiy%2B_CiZGQ%40mail.gmail.com.


Re: [dspace-tech] Modifications to UI

2023-08-25 Thread Jose Blanco
Hi Sonia, I will answer what I know and what I think does not involve
code change:

2. There are some fields that must be added after initial upload of
the item, can these fields be added to the initial entry screen? )eg.
dc.contributor.editor, dc.format.extent,  relation.ispartof)

Take a look at this documentation:
https://wiki.lyrasis.org/display/DSDOC7x/Edit+Collection#EditCollection-TemplateItem

3. Is it possible to edit the license text at the bottom of the "new
item" page allowing it to be applied to all items?

Edit this file: dspace/config//default.license

5. Can additional fields be added to the short display?

As far as I know, you will need to edit this file in the angular side.

item-page/simple/item-types/untyped-item/untyped-item.component.html

7. How do I permanently change the results per page to 10 for
sub-communities and collections?  I keeps reverting to 5.

This sounds like an index configuration.  You may want to read that
section of the documentation.  I think ( not 100% sure ), that the
change could be here on the java side:

dspace/config/spring/api/discovery.xml

Hope this helps.
-Jose

On Fri, Aug 25, 2023 at 6:39 AM Sonia R Thompson
 wrote:
>
> Good day all,
>
> I would like assistance with some queries I have received from users about 
> the DSpace 7.3 installation.
>
> The installation is working great so far, no error messages or issues however 
> I have gotten some requests from the users on whether the following items are 
> even possible.
>
> 1. At the moment, the person uploading a new item receives an email 
> notification with details of the new item added. Can the same email 
> notification be sent to a additional receipient (reviewer) once a new item 
> has been added as well?
>
> 2. There are some fields that must be added after initial upload of the item, 
> can these fields be added to the initial entry screen? )eg. 
> dc.contributor.editor, dc.format.extent,  relation.ispartof)
>
> 3. Is it possible to edit the license text at the bottom of the "new item" 
> page allowing it to be applied to all items?
>
> 4. Can the inactivity time out for adding a new item page be increased?
>
> 5. Can additional fields be added to the short display?
>
> 6. What type of file format should be used for the thumbnail display (bmp, 
> jpg, tiff)?
>
> 7. How do I permanently change the results per page to 10 for sub-communities 
> and collections?  I keeps reverting to 5.
>
> Hoping for same needed assistance.
>
> Thanks in advance everyone
> Sonia
>
> --
> All messages to this mailing list should adhere to the Code of Conduct: 
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/911296cf-169d-4d3f-bc37-3637f858159an%40googlegroups.com.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-sGeMEHjPkikaMcH_HMLx_48q3mqUNcq5Lta5BhWrEabw%40mail.gmail.com.


Re: [dspace-tech] DSpace 7.6 query for item or handle given a resourcepolicy policy_id

2023-08-23 Thread Jose Blanco
Hi Tuan,

In this table: resourcepolicy

dspace_object  can be the id to the item or the collection or the
bitstream or the community, maybe I'm missing something else.  For
items, rerource_type_id is 2.

So you could do this:

select dspace_object from resourcepolicy where resource_type_id = 2;

If you want the handles:

select handle from handle where resource_id in (select dspace_object
from resourcepolicy where resource_type_id = 2);

Hope this helps.
-Jose

On Wed, Aug 23, 2023 at 8:26 AM amtuan...@gmail.com
 wrote:
>
> Hi
>
> I need to run a query to get the item id or handle given a resourcepolicy 
> policy_id.
>
> The resourcepolicy table has a dspace_object column, but it apparently 
> identifies the resource policy itself.
>
> Thanks,
> Tuan
>
> --
> All messages to this mailing list should adhere to the Code of Conduct: 
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/062c2829-a4d6-4ef7-b3a3-eea0af738a48n%40googlegroups.com.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vrTi7CTiTCGhTboEOFiRChxPOOpbXzs0M9NiYoyaatYw%40mail.gmail.com.


Re: [dspace-tech] Dspace SAF file import fails

2023-08-14 Thread Jose Blanco
The error is telling you that you don't have the metadata
contributor.author, maybe you want to either create it via the UI, or
use contributor.creator.  You can see the different kinds of metadatas
you have via the UI, if you login as Admin.

-Jose

On Mon, Aug 14, 2023 at 4:30 AM Sushant Virdi  wrote:
>
> Hi team,
>
> I am trying to do a batch import on Dspace 7.2 but it fails with the 
> following error:
>
>
> Extracting file: item_1/contents
> Extracting file: item_1/dublin_core.xml
> Extracting file: item_1/file1.pdf
> Extracting file: item_2/contents
> Extracting file: item_2/dublin_core.xml
> Extracting file: item_2/file2.pdf
> Adding items from directory: /opt/dspace-7/imports/import2.zip
> Generating mapfile: 7
> Adding item from directory item_1
> Loading dublin core from 
> /opt/dspace-7/imports/import2.zip/item_1/dublin_core.xml
> Schema: dc Element: title Qualifier:  Value: KnE Import PDF 1
> Schema: dc Element: contributor Qualifier: author Value: Sushant Virdi
> java.sql.SQLException: bad_dublin_core schema=dc.contributor.author. Metadata 
> field does not exist!
> at 
> org.dspace.content.DSpaceObjectServiceImpl.addMetadata(DSpaceObjectServiceImpl.java:202)
> at 
> org.dspace.content.DSpaceObjectServiceImpl.addMetadata(DSpaceObjectServiceImpl.java:322)
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl.addDCValue(ItemImportServiceImpl.java:940)
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl.loadDublinCore(ItemImportServiceImpl.java:907)
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl.loadMetadata(ItemImportServiceImpl.java:868)
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl.addItem(ItemImportServiceImpl.java:716)
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl.addItems(ItemImportServiceImpl.java:310)
> at 
> org.dspace.app.itemimport.ItemImportCLITool.main(ItemImportCLITool.java:351)
> at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at 
> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:277)
> at 
> org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:133)
> at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
> java.sql.SQLException: bad_dublin_core schema=dc.contributor.author. Metadata 
> field does not exist!
> Deleting temporary zip directory: /opt/dspace-7/imports
> Deleting temporary zip directory: /opt/dspace-7/imports
> Started: 1692001552981
> Ended: 1692001556451
>
> I have attached the import file which I am trying to import. Thank you!
>
> --
> All messages to this mailing list should adhere to the Code of Conduct: 
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/98b022d0-c93d-4aed-af25-d7da4e15a8ean%40googlegroups.com.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-s22h0ra%2BPGKnbWX_BQhwJdDG3a7Rci2bRw3muV-1JviQ%40mail.gmail.com.


[dspace-tech] getting the submission form to load when submission begins.

2023-08-04 Thread Jose Blanco
In previous versions of dspace, I've made some changes to get the
submission form to reload when the user issues a request to submit an
item.  The reason I did this was because I needed to change the
submission form based on who the user was.  I know for sure I had this
working on 6.3, and I think I had it working on 7.4, but now I can't
get it going on 7.6.  I wonder if anyone has tried this out.  I know
that there is an PR in DRAFT state presently that addresses this
issue, but I'm wondering if anyone has found a "quick" solution for
this.  Here is the PR I'm referring to:

https://github.com/DSpace/DSpace/pull/8864

This is the code I have been trying to change:
https://github.com/DSpace/DSpace/blob/main/dspace-api/src/main/java/org/dspace/app/util/DCInputsReader.java#L539

Ideally, I would like this function:
private void processValuePairs(Node e)  in DCInputsReader.java

to run and for the changes in there to stick when the user starts the
submission.  From looking at log outputs, I see the function runs when
the user starts the submission, but the changes don't stick.  I have
some code in there that says if there is a user, do this..., Of
course, at start up there is no user, so that code does not run.  But
once the user is logged in, there is a user, and the code runs, but
the submission form does not reflect the change.


Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-sao7OPuJOS-q2ZF_0-rs_5n5F18%2BMv0zPSHHxhswPtyA%40mail.gmail.com.


[dspace-tech] give depositor edit permissions to submissions

2023-05-10 Thread Jose Blanco
Right now in dspace 7.4 a depositor/submitters can't edit his/her
deposits after the deposit is complete, only sys admins or
collection/community admins can do that.  I'd like to change it so
that depositors can edit their deposits. Actually, I want to allow
them to add files and change metadata but not any of the other
functions. But for now, if I could just get them to edit the deposit,
I might be able to figure out the rest.  Has anyone done this?

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tpRUZ0m__fR6Hu2eGcgZNV6FcdcngO2NJ5RrVkYoPi_Q%40mail.gmail.com.


[dspace-tech] creating cutom theme

2023-05-05 Thread Jose Blanco
I am trying to create a custom theme so that I can show different
metadata on the simple display depending on the collection.  I have
not been successful. This is what I have done:

(1) cd dspace-angular/src/themes
(2) cp -rf custom collection-A
(3) cd 
dspace-angular/src/themes/collection-A/app/item-page/simple/item-types/untyped-item
(4) I noticed that the file I want to change is empty:
-rw-r--r--  1 blancoj  staff 0 May  4 13:43 untyped-item.component.html
(5) So I:
cp src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html
src/themes/collection-A/app/item-page/simple/item-types/untyped-item/untyped-item.component.html
(6) Now I made the change I needed in
src/themes/collection-A/app/item-page/simple/item-types/untyped-item/untyped-item.component.html

(7) Also changed
src/themes/collection-A/app/item-page/simple/item-types/untyped-item/untyped-item.component.ts
to reference the html where my change lives:

  templateUrl: './untyped-item.component.html',
  // templateUrl:
'../../../../../../../app/item-page/simple/item-types/untyped-item/untyped-item.component.html',

(8) Since I am running in dev right now, I went to edit this file:
config/config.development.yml
   This is what my themed declaration looks like: ( I want the theme
to apply to items in the the collection with this uuid:
a4d4efe4-d291-4c61-9195-f90b02ee01fe )

themes:
  - name: dspace
headTags:
- tagName: link
  attributes:
rel: icon
href: assets/dspace/images/favicons/favicon.ico
sizes: any
- tagName: link
  attributes:
rel: icon
href: assets/dspace/images/favicons/favicon.svg
type: image/svg+xml
- tagName: link
  attributes:
rel: apple-touch-icon
href: assets/dspace/images/favicons/apple-touch-icon.png
- tagName: link
  attributes:
rel: manifest
href: assets/dspace/images/favicons/manifest.webmanifest
  - name: custom
  - name: collection-A
extends: custom
uuid: a4d4efe4-d291-4c61-9195-f90b02ee01fe
(9) I also added this to config.yml

themes:
  name: ['custom', 'collection-A']


(11) in angular.json I added:
  {
"input": "src/themes/collection-A/styles/theme.scss",
"inject": false,
"bundleName": "collection-A-theme"
  }


(12)  This is what this file looks like: src/themes/eager-themes.module.ts

import { NgModule } from '@angular/core';
import { EagerThemeModule as DSpaceEagerThemeModule } from
'./dspace/eager-theme.module';
import { EagerThemeModule as CustomEagerThemeModule } from
'./custom/eager-theme.module';
import { EagerThemeModule as CollectionAEagerThemeModule } from
'./collection-A/eager-theme.module';

//import { EagerThemeModule as CollectionAEagerThemeModule } from
'./custom/collection-A-theme.module';

/**
 * This module bundles the eager theme modules for all available themes.
 * Eager modules contain components that are present on every page (to
speed up initial loading)
 * and entry components (to ensure their decorators get picked up).
 *
 * Themes that aren't in use should not be imported here so they don't
take up unnecessary space in the main bundle.
 */
@NgModule({
  imports: [
DSpaceEagerThemeModule,
CustomEagerThemeModule,
CollectionAEagerThemeModule,
// CustomEagerThemeModule,
  ],
})
export class EagerThemesModule {
}

(13) I then restarted this system:
yarn run start:dev

(14) It seems like the item page is coming from:
src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html
rather than:
src/themes/collection-A/app/item-page/simple/item-types/untyped-item/untyped-item.component.html

What am I missing?

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tVamUrLwtwErJ0cSHiJ_pJORPvC%2BHdTi-LDsPci0ufiA%40mail.gmail.com.


Re: [dspace-tech] Issue in sending email from Dspace 5.2

2023-04-19 Thread Jose Blanco
Have you checked this setting:
# SMTP mail server (allows DSpace to send email notifications)
mail.server =

You might find these videos helpful:

https://www.youtube.com/watch?v=TKyrSZ0EfbU
https://www.youtube.com/watch?v=dQJx3QJm5QQ

-Jose

On Tue, Apr 18, 2023 at 10:35 AM Shaan Global  wrote:
>
> Hi Experts
> I have done the following setting in my dspace.cfg file
>
> # SMTP mail server authentication username and password (if required)
> mail.server.username = 
> mail.server.password =*
> # SMTP mail server alternate port (defaults to 25)
> mail.server.port = 587
> mail.extraproperties = mail.smtp.port=587, \
>mail.smtp.host=smtp.office365.com, \
>mail.smtp.auth=true, \
>mail.smtp.ssl.trust=*,\
>mail.smtp.starttls.enable=true, \
>  mail.smtp.ssl.protocols=TLSv1.2,\
> mail.smtp.ssl.context=TLS
>
> But getting the following the error
>
> No appropriate protocol (protocol is disabled or cipher suites are 
> inappropriate)
>
> Java stacktrace:
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is 
> disabled or cipher suites are inappropriate)
> at sun.security.ssl.HandshakeContext.(HandshakeContext.java:171)
> at 
> sun.security.ssl.ClientHandshakeContext.(ClientHandshakeContext.java:103)
> at sun.security.ssl.TransportContext.kickstart(TransportContext.java:220)
> at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:433)
> at sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:818)
> at sun.security.ssl.SSLSocketImpl.access$200(SSLSocketImpl.java:73)
> at 
> sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:1180)
> at com.sun.mail.util.TraceOutputStream.write(TraceOutputStream.java:101)
> at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
> at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
> at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1418)
> at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1408)
> at com.sun.mail.smtp.SMTPTransport.ehlo(SMTPTransport.java:847)
> at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:384)
> at javax.mail.Service.connect(Service.java:297)
> at javax.mail.Service.connect(Service.java:156)
> at javax.mail.Service.connect(Service.java:105)
>
> regards
> Ghazi anwer
>
> --
> All messages to this mailing list should adhere to the Code of Conduct: 
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/596a98bf-b20b-4ced-94b1-ec658e62327en%40googlegroups.com.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-v677p1U4Y9T27-WqaYxJ%2B6N2cNZm1tRz%2BFN9xa3tg2hw%40mail.gmail.com.


Re: [dspace-tech] Bulk Import

2023-04-19 Thread Jose Blanco
It looks like it does not like something about your map file. Take a
look at it.  There may be some problem with the xml.

-Jose

On Tue, Apr 18, 2023 at 8:28 PM Tianyi Gu  wrote:
>
> Hello,
>
> I run a command to import AIP package data as below:
>
> import --add --eperson=t...@test.edu -c 123456789/1885 --source=/import 
> --zip=Authors_AAFC.zip --mapfile=/export/author_aafc
>
> The AIP package is attached. I am testing the relationship file and get an 
> error message as following:
> ..
> 158 item99
> Processing relationships file: relationships
> Started: 1681863513493
> Ended: 1681863524808
> Elapsed time: 11 secs (11315 msecs)
> java.lang.Exception: Error committing changes to database: Bad mapfile line:
> , aborting most recent changes
> at 
> org.dspace.app.itemimport.ItemImport.internalRun(ItemImport.java:229)
> at org.dspace.scripts.DSpaceRunnable.run(DSpaceRunnable.java:104)
> at 
> org.dspace.app.launcher.ScriptLauncher.executeScript(ScriptLauncher.java:149)
> at 
> org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:131)
> at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
> Caused by: java.lang.Exception: Bad mapfile line:
> 
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl.processRelationshipFile(ItemImportServiceImpl.java:501)
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl.addRelationships(ItemImportServiceImpl.java:349)
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl.addItems(ItemImportServiceImpl.java:323)
> at 
> org.dspace.app.itemimport.ItemImportCLI.process(ItemImportCLI.java:87)
> at 
> org.dspace.app.itemimport.ItemImport.internalRun(ItemImport.java:222)
> ... 4 more
>
>
> Please advice.
>
> Thank you,
> Tianyi
>
> --
> All messages to this mailing list should adhere to the Code of Conduct: 
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/2efc8e5f-23a4-4003-84ed-fd284bb70417n%40googlegroups.com.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tMHv1Bbk_4Z8wi%3DaN0asHZtF%3Dku%3DkKiihMOj%3D9vwOfAA%40mail.gmail.com.


[dspace-tech] Trying to implement embargo differently...

2023-04-19 Thread Jose Blanco
This is what I want to achieve:  During deposit via the UI, I want to
be able to withdraw an item immediately after deposit.  This is an
internal change to be able to Embargo the Entire item. So what happens
is that I have a new metadata field that is presented at deposit to
the user, the user then selects if he wants to embargo the item and
for how long.  When the deposit completes, I store this value in a
table, and I withdraw the item immediately.  I have a script that runs
periodically that reinstates the item when the time comes based on the
values in the table.  This is all a custom change that I have in 6.3
that now I am trying to add to 7.4.

So... what I am seeing in 7.4 is that the item gets withdrawn when the
user hits the "Deposit" button ( I see the record in my new table ),
but I get an error on the deposit page ( a little box comes up, saying
something has gone wrong) and the user does not leave the deposit page
because an error has occurred, probably because in the code I just
withdrew the item.

The code seems to raise an error here:

 
https://github.com/DSpace/DSpace/blob/main/dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/WorkflowItemStepLinkRepository.java#L68

If I go to the Homepage and search for the item as admin, I can see
the item is withdrawn, so basically what I want to happen, happens.
But what I also want is for the user to get out of the deposit page.

Any suggestions?  How can I get the user back to the MyDspace page?  I
guess there is a clean way of doing it, or just somehow send the user
to that page when this error occurs.  I have been looking into this
forever and have not found a way.

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-sbxtzdcapWL8%2BKLauRxnEM8NUL4-76L9pJBb-oA8NnFQ%40mail.gmail.com.


[dspace-tech] Re: change to request copy code.

2023-03-14 Thread Jose Blanco
I found a solution in the angular file
file-download-link.components.ts.  I can test for the metadata value
of the item there.

-Jose

On Tue, Mar 14, 2023 at 1:27 PM Jose Blanco  wrote:
>
> I'd like to change the request copy code in 7.4 to only present the
> Request Copy page for a file if the item contains these two metadata
> items:
>
> email.requestcopy
> name.requestcopy
>
> So not just for all bitstreams with restricted permissions,  but for
> the items with these metadata.
>
> Has anyone done this?  Any suggestions on where in the code to put this logic?
>
> Thank you!
> -Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tRj-9wqh02XqB-7hn0EL87XhOB1uqrM6C15O4q0HbpyQ%40mail.gmail.com.


[dspace-tech] Re: change to request copy code.

2023-03-14 Thread Jose Blanco
I'm seeing this in the angular debugger:

dspace-rest-response-parsing.service.ts:200 cannot deserialize type itemrequest

On Tue, Mar 14, 2023 at 1:27 PM Jose Blanco  wrote:
>
> I'd like to change the request copy code in 7.4 to only present the
> Request Copy page for a file if the item contains these two metadata
> items:
>
> email.requestcopy
> name.requestcopy
>
> So not just for all bitstreams with restricted permissions,  but for
> the items with these metadata.
>
> Has anyone done this?  Any suggestions on where in the code to put this logic?
>
> Thank you!
> -Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-sGBOmLHPWMSoJ9gH9RsvM-%3Dy8TowXoUK88FNic%2B2fQVQ%40mail.gmail.com.


[dspace-tech] change to request copy code.

2023-03-14 Thread Jose Blanco
I'd like to change the request copy code in 7.4 to only present the
Request Copy page for a file if the item contains these two metadata
items:

email.requestcopy
name.requestcopy

So not just for all bitstreams with restricted permissions,  but for
the items with these metadata.

Has anyone done this?  Any suggestions on where in the code to put this logic?

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vYU3MCwmNHrTffHPOXF0BrzB-VMPBSc5aUP7uit%2Bavbw%40mail.gmail.com.


[dspace-tech] docker not coming up

2023-02-01 Thread Jose Blanco
Trying to use these instructions:

https://wiki.lyrasis.org/display/DSPACE/Try+out+DSpace+7#TryoutDSpace7-InstallviaDocker

I was able to to bring up
http://localhost:8080/server/

But Angular UI does not want to come up.  I see in the log:

dspace-angular  | Unable to find env config file at
/app/config/config.production.yaml

Any ideas?  It seems like that file is missing.

-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vRn%2BYLjtXeKYmupnrYyhbKH%3DeeR6EFrkTJi3bR6A%40mail.gmail.com.


[dspace-tech] docker issue

2023-01-31 Thread Jose Blanco
when I run:

docker-compose -p d7 -f docker/docker-compose.yml -f
docker/docker-compose-rest.yml up -d

I get:

 ⠋ dspacedb The requested image's platform (linux/amd64) does not
match the detected host platform (linux/arm64/v8) and no specific
platform was requested

I think it's because I have an Apple M1 Pro. Is there another image I can use?

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-t654_VJMa15yrB50uC%3DQXY7NmK6rQae4_dS9GcTCGfbA%40mail.gmail.com.


[dspace-tech] using docker.

2023-01-30 Thread Jose Blanco
I'm using dspace 6.3 presently.  I would like to upgrade to dspace
7.4.  My dspace 6.3 has a lot of customizations to all the code - the
api, the aspect area, and the xsl, everything.  I know it would be
impossible to merge my changes to 7.4, so what I thought I do is start
with a clean 7.4 installation and then go one by one with my changes
and put them in this clean 7.4 installation.  I remember doing this
when I moved from using Java Servlet pages to Manakin. Presently, I
don't have a server with all the software I need to run 7.4, and
actually in the future we are going to use kubernetes to deploy our
software, so what I thought I do is use Docker on my mac to do this.
I'm kind of new to Docker so my question may seem a bit naive, so
excuse me for that.  But this is what I'm thinking:

If I could just get a dspace 7.4 docker image(s) to use that I could
then make changes to on my local machine and test, that would be
great.  I think that eventually when that is complete, I can then use
kubernetes to deploy what I come up with.  Does this make sense, and
where would I get the dspace 7.4 image(s) I need, both the backend and
frontend.

In looking at the instructions to get dspace 7.4 running with docker,
I'm unsure of what image(s) I will be using.  I would like to start
with a 7.4 image of everything.

Any guidance on this would be greatly appreciated.  And if you have
any questions, please ask.

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-sWMfD4pyDC%3DKRxM7hD0mh9T2wGkxhVF%2BxPp6N37N9mgA%40mail.gmail.com.


[dspace-tech] dspace 6.3 and JDK 11

2022-10-19 Thread Jose Blanco
According to the documentation we should be using JDK 7 or 8 for
dspace 6.3.  Last night we updated to JDK 11.  I noticed this morning
this warning from some of the cron jobs:

WARNING: An illegal reflective access operation has occurred

I'm wondering if it is still not recommended to use JDK 11 with dspace
6.3?  As far as the webapp, I don't see any issues so far.

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-t%2Bb3bJxm3cph6OwkeGhnGJ%3DFbm6j6RA-%3DqBLich0UtNA%40mail.gmail.com.


[dspace-tech] Re: getting Timeout errors

2022-08-19 Thread Jose Blanco
Problem solved.  It turns out that recently we had a batch ingested
using swordv2, and a lot of the items had a huge number of authors -
one was over 5K, many 3K. It seems like the rendering of the item page
was slowed by this, which in turn caused SQL connections to not end.
I removed the authors from these items, and just added one
contributor.author metadata that says "More than 100 authors."  The"in
transaction" count went down within minutes.

Just an FYI.

-Jose

On Thu, Aug 18, 2022 at 8:37 PM Jose Blanco  wrote:
>
> Still working on this problem. I have reached my max connection
> counts, which I set to 100, and it seems like I have 100 "idle in
> transaction" connections.  And from the pg_stat_activity table I can
> see that they are all stuck on this sql.  I wonder if anyone can point
> me to where this sql originates.  That might help me determine the
> reason why it is getting stuck.
>
> 2022-08-18 18:36:35,030 DEBUG org.hibernate.SQL @ select
> this_.policy_id as policy_i1_33_6_, this_.action_id as
> action_i2_33_6_, this_.dspace_object as dspace_o9_33_6_,
> this_.end_date as end_date3_33_6_, this_.eperson_id as
> eperson10_33_6_, this_.epersongroup_id as eperson11_33_6_,
> this_.resource_type_id as resource4_33_6_, this_.rpdescription as
> rpdescri5_33_6_, this_.rpname as rpname6_33_6_, this_.rptype as
> rptype7_33_6_, this_.start_date as start_da8_33_6_, dspaceobje2_.uuid
> as uuid1_13_0_, dspaceobje2_1_.bitstream_format_id as bitstre10_2_0_,
> dspaceobje2_1_.checksum as checksum1_2_0_,
> dspaceobje2_1_.checksum_algorithm as checksum2_2_0_,
> dspaceobje2_1_.deleted as deleted3_2_0_, dspaceobje2_1_.internal_id as
> internal4_2_0_, dspaceobje2_1_.bitstream_id as bitstrea5_2_0_,
> dspaceobje2_1_.sequence_id as sequence6_2_0_,
> dspaceobje2_1_.size_bytes as size_byt7_2_0_,
> dspaceobje2_1_.store_number as store_nu8_2_0_,
> dspaceobje2_2_.bundle_id as bundle_i1_4_0_,
> dspaceobje2_2_.primary_bitstream_id as primary_3_4_0_,
> dspaceobje2_3_.admin as admin3_8_0_, dspaceobje2_3_.collection_id as
> collecti1_8_0_, dspaceobje2_3_.logo_bitstream_id as logo_bit4_8_0_,
> dspaceobje2_3_.submitter as submitte5_8_0_,
> dspaceobje2_3_.template_item_id as template6_8_0_,
> dspaceobje2_3_.workflow_step_1 as workflow7_8_0_,
> dspaceobje2_3_.workflow_step_2 as workflow8_8_0_,
> dspaceobje2_3_.workflow_step_3 as workflow9_8_0_, dspaceobje2_4_.admin
> as admin3_10_0_, dspaceobje2_4_.community_id as communit1_10_0_,
> dspaceobje2_4_.logo_bitstream_id as logo_bit4_10_0_,
> dspaceobje2_5_.discoverable as discover1_24_0_,
> dspaceobje2_5_.in_archive as in_archi2_24_0_,
> dspaceobje2_5_.last_modified as last_mod3_24_0_,
> dspaceobje2_5_.item_id as item_id4_24_0_,
> dspaceobje2_5_.owning_collection as owning_c7_24_0_,
> dspaceobje2_5_.submitter_id as submitte8_24_0_,
> dspaceobje2_5_.withdrawn as withdraw5_24_0_, dspaceobje2_7_.can_log_in
> as can_log_1_14_0_, dspaceobje2_7_.digest_algorithm as
> digest_a2_14_0_, dspaceobje2_7_.email as email3_14_0_,
> dspaceobje2_7_.last_active as last_act4_14_0_,
> dspaceobje2_7_.eperson_id as eperson_5_14_0_, dspaceobje2_7_.netid as
> netid6_14_0_, dspaceobje2_7_.password as password7_14_0_,
> dspaceobje2_7_.require_certificate as require_8_14_0_,
> dspaceobje2_7_.salt as salt9_14_0_, dspaceobje2_7_.self_registered as
> self_re10_14_0_, dspaceobje2_8_.eperson_group_id as eperson_1_15_0_,
> dspaceobje2_8_.name as name2_15_0_, dspaceobje2_8_.permanent as
> permanen3_15_0_, case when dspaceobje2_1_.uuid is not null then 1 when
> dspaceobje2_2_.uuid is not null then 2 when dspaceobje2_3_.uuid is not
> null then 3 when dspaceobje2_4_.uuid is not null then 4 when
> dspaceobje2_5_.uuid is not null then 5 when dspaceobje2_6_.uuid is not
> null then 6 when dspaceobje2_7_.uuid is not null then 7 when
> dspaceobje2_8_.uuid is not null then 8 when dspaceobje2_.uuid is not
> null then 0 end as clazz_0_, bitstreamf3_.bitstream_format_id as
> bitstrea1_3_1_, bitstreamf3_.description as descript2_3_1_,
> bitstreamf3_.internal as internal3_3_1_, bitstreamf3_.mimetype as
> mimetype4_3_1_, bitstreamf3_.short_description as short_de5_3_1_,
> bitstreamf3_.support_level as support_6_3_1_, bitstream4_.uuid as
> uuid1_13_2_, bitstream4_.bitstream_format_id as bitstre10_2_2_,
> bitstream4_.checksum as checksum1_2_2_, bitstream4_.checksum_algorithm
> as checksum2_2_2_, bitstream4_.deleted as deleted3_2_2_,
> bitstream4_.internal_id as internal4_2_2_, bitstream4_.bitstream_id as
> bitstrea5_2_2_, bitstream4_.sequence_id as sequence6_2_2_,
> bitstream4_.size_bytes as size_byt7_2_2_, bitstream4_.store_number as
> store_nu8_2_2_, group5_.uuid as uuid1_13_3_, group5_.eperson_group_id
> as eperson_1_15_3_, group5_.name as name2_15_3_, group5_.permanent as
> permanen3_15_3_, g

[dspace-tech] Re: getting Timeout errors

2022-08-18 Thread Jose Blanco
collection dspaceobje2_3_ on
dspaceobje2_.uuid=dspaceobje2_3_.uuid left outer join public.community
dspaceobje2_4_ on dspaceobje2_.uuid=dspaceobje2_4_.uuid left outer
join public.item dspaceobje2_5_ on
dspaceobje2_.uuid=dspaceobje2_5_.uuid left outer join public.site
dspaceobje2_6_ on dspaceobje2_.uuid=dspaceobje2_6_.uuid left outer
join public.eperson dspaceobje2_7_ on
dspaceobje2_.uuid=dspaceobje2_7_.uuid left outer join
public.epersongroup dspaceobje2_8_ on
dspaceobje2_.uuid=dspaceobje2_8_.uuid left outer join
public.bitstreamformatregistry bitstreamf3_ on
dspaceobje2_1_.bitstream_format_id=bitstreamf3_.bitstream_format_id
left outer join public.bitstream bitstream4_ on
dspaceobje2_2_.primary_bitstream_id=bitstream4_.uuid left outer join
public.dspaceobject bitstream4_1_ on
bitstream4_.uuid=bitstream4_1_.uuid left outer join
public.epersongroup group5_ on dspaceobje2_3_.submitter=group5_.uuid
left outer join public.dspaceobject group5_1_ on
group5_.uuid=group5_1_.uuid left outer join public.epersongroup
group6_ on dspaceobje2_4_.admin=group6_.uuid left outer join
public.dspaceobject group6_1_ on group6_.uuid=group6_1_.uuid left
outer join public.bitstream bitstream7_ on
dspaceobje2_4_.logo_bitstream_id=bitstream7_.uuid left outer join
public.dspaceobject bitstream7_1_ on
bitstream7_.uuid=bitstream7_1_.uuid where (this_.dspace_object=? and
this_.action_id=?)

Thank you!
-Jose


On Wed, Aug 17, 2022 at 3:12 PM Jose Blanco  wrote:
>
> Just out of nowhere I'm getting Hibernate timeout errors on my dspace
> 6 app.  Not sure what is causing it.  It seems to reach the max
> connection setting quickly ( 30 is default, and I have been using that
> for a long time, but I changed it to 50 ).  This is what I am seeing
> in the database for one of the connections that is not releasing:
>
> Any ideas?
>
> => SELECT relation, transactionid, pid, mode, granted, relname
> FROM pg_locks
> INNER JOIN pg_stat_user_tables
> ON pg_locks.relation = pg_stat_user_tables.relid
> WHERE pg_locks.pid='10269';
>
>  relation  | transactionid |  pid  |  mode   | granted |
>   relname
> ---+---+---+-+-+-
>   24125181 |   | 10269 | AccessShareLock | t   | collection
>   24125274 |   | 10269 | AccessShareLock | t   | eperson
>   24125123 |   | 10269 | AccessShareLock | t   | bitstream
>   24125535 |   | 10269 | AccessShareLock | t   | workspaceitem
>   24125131 |   | 10269 | AccessShareLock | t   |
> bitstreamformatregistry
>   24125319 |   | 10269 | AccessShareLock | t   | handle
>   24125187 |   | 10269 | AccessShareLock | t   | 
> collection2item
>   24125512 |   | 10269 | AccessShareLock | t   | 
> versionhistory
>   24125208 |   | 10269 | AccessShareLock | t   |
> community2collection
>   24125242 |   | 10269 | AccessShareLock | t   |
> metadatafieldregistry
>   24125374 |   | 10269 | AccessShareLock | t   | item2bundle
>   24125154 |   | 10269 | AccessShareLock | t   |
> bundle2bitstream
>   24125407 |   | 10269 | AccessShareLock | t   |
> metadataschemaregistry
>   24125440 |   | 10269 | AccessShareLock | t   | 
> resourcepolicy
>   24125371 |   | 10269 | AccessShareLock | t   | item
>   24125151 |   | 10269 | AccessShareLock | t   | bundle
>   24125517 |   | 10269 | AccessShareLock | t   | versionitem
>  913986038 |   | 10269 | AccessShareLock | t   | dspaceobject
>   24125282 |   | 10269 | AccessShareLock | t   | epersongroup
>   24125213 |   | 10269 | AccessShareLock | t   |
> community2community
>   24125530 |   | 10269 | AccessShareLock | t   | workflowitem
>   24125249 |   | 10269 | AccessShareLock | t   | metadatavalue
>   24125202 |   | 10269 | AccessShareLock | t   | community
>  913986043 |   | 10269 | AccessShareLock | t   | site
>   24125314 |   | 10269 | AccessShareLock | t   |
> group2groupcache

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-s2%3DWen2KjaCJPbLV7bd8G498LF9VhTy-zn1Mougta1Zg%40mail.gmail.com.


[dspace-tech] getting Timeout errors

2022-08-17 Thread Jose Blanco
Just out of nowhere I'm getting Hibernate timeout errors on my dspace
6 app.  Not sure what is causing it.  It seems to reach the max
connection setting quickly ( 30 is default, and I have been using that
for a long time, but I changed it to 50 ).  This is what I am seeing
in the database for one of the connections that is not releasing:

Any ideas?

=> SELECT relation, transactionid, pid, mode, granted, relname
FROM pg_locks
INNER JOIN pg_stat_user_tables
ON pg_locks.relation = pg_stat_user_tables.relid
WHERE pg_locks.pid='10269';

 relation  | transactionid |  pid  |  mode   | granted |
  relname
---+---+---+-+-+-
  24125181 |   | 10269 | AccessShareLock | t   | collection
  24125274 |   | 10269 | AccessShareLock | t   | eperson
  24125123 |   | 10269 | AccessShareLock | t   | bitstream
  24125535 |   | 10269 | AccessShareLock | t   | workspaceitem
  24125131 |   | 10269 | AccessShareLock | t   |
bitstreamformatregistry
  24125319 |   | 10269 | AccessShareLock | t   | handle
  24125187 |   | 10269 | AccessShareLock | t   | collection2item
  24125512 |   | 10269 | AccessShareLock | t   | versionhistory
  24125208 |   | 10269 | AccessShareLock | t   |
community2collection
  24125242 |   | 10269 | AccessShareLock | t   |
metadatafieldregistry
  24125374 |   | 10269 | AccessShareLock | t   | item2bundle
  24125154 |   | 10269 | AccessShareLock | t   |
bundle2bitstream
  24125407 |   | 10269 | AccessShareLock | t   |
metadataschemaregistry
  24125440 |   | 10269 | AccessShareLock | t   | resourcepolicy
  24125371 |   | 10269 | AccessShareLock | t   | item
  24125151 |   | 10269 | AccessShareLock | t   | bundle
  24125517 |   | 10269 | AccessShareLock | t   | versionitem
 913986038 |   | 10269 | AccessShareLock | t   | dspaceobject
  24125282 |   | 10269 | AccessShareLock | t   | epersongroup
  24125213 |   | 10269 | AccessShareLock | t   |
community2community
  24125530 |   | 10269 | AccessShareLock | t   | workflowitem
  24125249 |   | 10269 | AccessShareLock | t   | metadatavalue
  24125202 |   | 10269 | AccessShareLock | t   | community
 913986043 |   | 10269 | AccessShareLock | t   | site
  24125314 |   | 10269 | AccessShareLock | t   |
group2groupcache

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-uPnfy94q%3DAH-hb-5LpordTgwtRxgnZw4srweMf%2BK0gKg%40mail.gmail.com.


Re: [dspace-tech] mirage2 build problems

2022-05-12 Thread Jose Blanco
Hi Bill,

I had the same problem.  Take a look at last message in this thread:

https://groups.google.com/g/dspace-tech/c/7_fUBxsxkhs

I have not tried the patch yet.  What I did is, since I had a
successful Mirage2 build from a previous build in the webapp directory,
copy it to

dspace-xmlui/src/main/webapp/themes/Mirage2

And then build it using:
> mvn clean package

>From now on, if I need to make any changes to Mirage2, I will do it from:

dspace-xmlui/src/main/webapp/themes/Mirage2

That got me over the issue.

-Jose

On Thu, May 12, 2022 at 9:56 AM 'Bill Tantzen' via DSpace Technical Support
 wrote:

> I am recently required to rebuild my v5.10 instance with mirage2, and I'm
> encountering the same problems as many others here since torquebox.org is
> out of action.
>
> Does anybody have any tips?
>
> One major problem is that I cannot install rvm as root -- can I use rbenv
> as an alternative?  Following the instructions in the mirage2 readme (and
> the url below), here is what I have done:
>
> https://github.com/DSpace/DSpace/tree/dspace-5_x/dspace-xmlui-mirage2
>
> curl https://raw.githubusercontent.com/creationix/nvm/v0.5.1/install.sh |
> sh
> nvm install 0.10.31
> nvm alias default 0.10.31
> npm install -g bower
> npm install -g grunt && npm install -g grunt-cli
>
> now, I break away and use rbenv instead of rvm…
>
> git clone https://github.com/rbenv/rbenv.git ~/.rbenv
> mkdir -p "$(rbenv root)"/plugins
> git clone https://github.com/rbenv/ruby-build.git "$(rbenv
> root)"/plugins/ruby-build
> rbenv install 3.1.2
> rbenv global 3.1.2
>
> The first error I am encountering is:
> ...
> ...
> > Mirage2@0.1.1 postinstall
> /swadm/dspace/projects/bill/dspace/modules/xmlui-mirage2/target/themes/Main
> > bower install
>
> [INFO] -- (Main) org.codehaus.mojo:exec-maven-plugin:1.3.1:exec
>
>
> /home/dspace/.nvm/v0.10.31/lib/node_modules/grunt/node_modules/grunt-cli/node_modules/liftup/node_modules/findup-sync/node_modules/micromatch/index.js:3
> const util = require('util');
> ^
> SyntaxError: Use of const in strict mode.
> at Module._compile (module.js:439:25)
> at Object.Module._extensions..js (module.js:474:10)
> at Module.load (module.js:356:32)
> at Function.Module._load (module.js:312:12)
> at Module.require (module.js:364:17)
> at require (module.js:380:17)
> at Object.
> (/home/dspace/.nvm/v0.10.31/lib/node_modules/grunt/node_modules/grunt-cli/node_modules/liftup/node_modules/findup-sync/index.js:12:10)
> at Module._compile (module.js:456:26)
> at Object.Module._extensions..js (module.js:474:10)
> at Module.load (module.js:356:32)
> ...
> ...
>
> Any suggestions on the right cocktail of versions and software I need to
> get this to build?
>
> Thanks all,
> ~~Bill
>
> --
> Human wheels spin round and round
> While the clock keeps the pace... -- John Mellencamp
> 
> Bill TantzenUniversity of Minnesota Libraries
> 612-626-9949 (U of M)612-325-1777 (cell)
>
> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/CADgrb7E3YVEmw12XQxkdssj9VHeHJFQTc%2BDAnK_YCj9V7FXwpA%40mail.gmail.com
> 
> .
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-u20yqqvv4CdEw1aFMNurwSTM3JAEgitb3K%3DTSfgE5Xqg%40mail.gmail.com.


[dspace-tech] question about Mirage2

2022-05-04 Thread Jose Blanco
can you do these installations as userA

https://github.com/DSpace/DSpace/tree/dspace-6_x/dspace-xmlui-mirage2#prerequisites-for-osx--linux

and then build dspace as userB ?

Because of our setup, I have to do this, and I'm getting this error:

npm  -h  quick help on 

npm -ldisplay full usage info

npm helpsearch for help on 

npm help npm  involved overview


Specify configs in the ini-formatted file:

/dir_of_instance/userB/.npmrc

or on the command line via: npm  --key value

Config info can be viewed via: npm help config


npm@6.14.12 /usr/lib/node_modules/npm




[ERROR] Failed to execute goal
com.soebes.maven.plugins:iterator-maven-plugin:0.3:iterator (default) on
project xmlui-mirage2: Command execution failed. Process exited with an
error: 1 (Exit value: 1) -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal com.soebes.maven.plugins:iterator-maven-plugin:0.3:iterator (default)
on project xmlui-mirage2: Command execution failed.

at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)

at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-snrdU_m%2BuKSicQaXruHNhZi1qV7410QC_0AjHOd-yYHA%40mail.gmail.com.


Re: [dspace-tech] error building

2022-05-04 Thread Jose Blanco
Sean,

We have a few different things going on over here. I wonder if when you did
all those installations, did you do it as the same user that builds dspace?

Because of permissions and accounts, I  could not do that.


Thank you!
-Jose

On Wed, May 4, 2022 at 9:49 AM Jose Blanco  wrote:

> Now, I'm getting this error:
>
> [ERROR] org.codehaus.plexus.archiver.ArchiverException: Failed setting
> file attributes with java7+:
> .../dspace/dspace/modules/xmlui-mirage2/target/mirage2-source-extracted/bower.json:
> Operation not permitted
>
>
>
> I have installed the code required.  I could not install ruby as my own
> user, so I had a sys admin install it as root.  Does this ring a bell?
>
>
> This is from running:
>
>
> mvn clean package -Dmirage2.on=true -Dmirage2.deps.included=false
>
>
> Very grateful for your help!!!
>
>
> -Jose
>
> On Tue, May 3, 2022 at 8:53 PM Sean Kalynuk 
> wrote:
>
>> In our environment, I build using my personal account, then run any ant
>> commands as the dspace user to do installs/updates. I just make sure that
>> the dspace account has read-access to the build targets in my account’s
>> directory.
>>
>> --
>>
>> Sean
>>
>>
>>
>> *From: *Jose Blanco 
>> *Date: *Tuesday, May 3, 2022 at 5:45 PM
>> *To: *Sean Kalynuk 
>> *Cc: *DSpace Technical Support 
>> *Subject: *Re: [dspace-tech] error building
>>
>> *Caution:* This message was sent from outside the University of Manitoba.
>>
>>
>>
>> Sean,  You know the way I work here, I log in as myself then I become the
>> dspace user.  So I just tried doing this as myself and it worked.  I was
>> trying to do the installation as a dspace user.
>>
>>
>>
>> When I build dspace normally, I am the dspace user.  I wonder if I can do
>> all these installations as myself and then build dspace as a dspace user.
>> Do you think that will work?
>>
>>
>>
>> Thank you!
>>
>> -Jose
>>
>>
>>
>> On Tue, May 3, 2022 at 5:55 PM Sean Kalynuk 
>> wrote:
>>
>> Not sure. I installed nvm locally to my account with:
>>
>>
>>
>> curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh
>> | bash
>>
>>
>>
>> Logged out and back in and then ran:
>>
>>
>>
>> nvm install 12
>>
>> nvm alias default 12
>>
>>
>>
>> In my environment, this gets added to my .bashrc:
>>
>>
>>
>> export NVM_DIR="$HOME/.nvm"
>>
>> [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
>>
>> [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  #
>> This loads nvm bash_completion
>>
>>
>>
>> --
>>
>> Sean
>>
>>
>>
>> *From: *Jose Blanco 
>> *Date: *Tuesday, May 3, 2022 at 4:46 PM
>> *To: *Sean Kalynuk 
>> *Cc: *DSpace Technical Support 
>> *Subject: *Re: [dspace-tech] error building
>>
>> *Caution:* This message was sent from outside the University of Manitoba.
>>
>>
>>
>> Sean,
>>
>>
>>
>> Sorry to bother you, I just tried again and it fails like this:
>>
>>
>>
>> if [ ! -r node -o ! -L node ]; then \
>>
>>   ln -fs out/Release/node node; fi
>>
>> ln: failed to create symbolic link 'node': Operation not supported
>>
>> Makefile:104: recipe for target 'node' failed
>>
>> make: *** [node] Error 1
>>
>> nvm: install v12.22.12 failed!
>>
>>
>>
>>
>>
>> Why?
>>
>>
>>
>> -Jose
>>
>>
>>
>> On Tue, May 3, 2022 at 4:36 PM Sean Kalynuk 
>> wrote:
>>
>> Hi Jose,
>>
>>
>>
>> Sorry, I don’t know about the status of torquebox.org, but since there
>> have been issues with that domain before, I’m sticking with the locally
>> installed Mirage 2 prerequisites now since I managed to get a full compile.
>>
>>
>>
>> When you installed nvm, it would have modified your account’s login
>> scripts. In my case, it modified my .bashrc file. I logged out and back in
>> again to make sure I had the right environment settings before running “nvm
>> install 12”.
>>
>>
>>
>> --
>>
>> Sean
>>
>>
>>
>> *From: *Jose Blanco 
>> *Date: *Tuesday, May 3, 2022 at 3:12 PM
>> *To: *Sean Kalynuk 
>> *Cc: *DSpace Technical Support 
>> *Subject: *R

Re: [dspace-tech] error building

2022-05-04 Thread Jose Blanco
Now, I'm getting this error:

[ERROR] org.codehaus.plexus.archiver.ArchiverException: Failed setting file
attributes with java7+:
.../dspace/dspace/modules/xmlui-mirage2/target/mirage2-source-extracted/bower.json:
Operation not permitted



I have installed the code required.  I could not install ruby as my own
user, so I had a sys admin install it as root.  Does this ring a bell?


This is from running:


mvn clean package -Dmirage2.on=true -Dmirage2.deps.included=false


Very grateful for your help!!!


-Jose

On Tue, May 3, 2022 at 8:53 PM Sean Kalynuk 
wrote:

> In our environment, I build using my personal account, then run any ant
> commands as the dspace user to do installs/updates. I just make sure that
> the dspace account has read-access to the build targets in my account’s
> directory.
>
> --
>
> Sean
>
>
>
> *From: *Jose Blanco 
> *Date: *Tuesday, May 3, 2022 at 5:45 PM
> *To: *Sean Kalynuk 
> *Cc: *DSpace Technical Support 
> *Subject: *Re: [dspace-tech] error building
>
> *Caution:* This message was sent from outside the University of Manitoba.
>
>
>
> Sean,  You know the way I work here, I log in as myself then I become the
> dspace user.  So I just tried doing this as myself and it worked.  I was
> trying to do the installation as a dspace user.
>
>
>
> When I build dspace normally, I am the dspace user.  I wonder if I can do
> all these installations as myself and then build dspace as a dspace user.
> Do you think that will work?
>
>
>
> Thank you!
>
> -Jose
>
>
>
> On Tue, May 3, 2022 at 5:55 PM Sean Kalynuk 
> wrote:
>
> Not sure. I installed nvm locally to my account with:
>
>
>
> curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh
> | bash
>
>
>
> Logged out and back in and then ran:
>
>
>
> nvm install 12
>
> nvm alias default 12
>
>
>
> In my environment, this gets added to my .bashrc:
>
>
>
> export NVM_DIR="$HOME/.nvm"
>
> [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
>
> [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This
> loads nvm bash_completion
>
>
>
> --
>
> Sean
>
>
>
> *From: *Jose Blanco 
> *Date: *Tuesday, May 3, 2022 at 4:46 PM
> *To: *Sean Kalynuk 
> *Cc: *DSpace Technical Support 
> *Subject: *Re: [dspace-tech] error building
>
> *Caution:* This message was sent from outside the University of Manitoba.
>
>
>
> Sean,
>
>
>
> Sorry to bother you, I just tried again and it fails like this:
>
>
>
> if [ ! -r node -o ! -L node ]; then \
>
>   ln -fs out/Release/node node; fi
>
> ln: failed to create symbolic link 'node': Operation not supported
>
> Makefile:104: recipe for target 'node' failed
>
> make: *** [node] Error 1
>
> nvm: install v12.22.12 failed!
>
>
>
>
>
> Why?
>
>
>
> -Jose
>
>
>
> On Tue, May 3, 2022 at 4:36 PM Sean Kalynuk 
> wrote:
>
> Hi Jose,
>
>
>
> Sorry, I don’t know about the status of torquebox.org, but since there
> have been issues with that domain before, I’m sticking with the locally
> installed Mirage 2 prerequisites now since I managed to get a full compile.
>
>
>
> When you installed nvm, it would have modified your account’s login
> scripts. In my case, it modified my .bashrc file. I logged out and back in
> again to make sure I had the right environment settings before running “nvm
> install 12”.
>
>
>
> --
>
> Sean
>
>
>
> *From: *Jose Blanco 
> *Date: *Tuesday, May 3, 2022 at 3:12 PM
> *To: *Sean Kalynuk 
> *Cc: *DSpace Technical Support 
> *Subject: *Re: [dspace-tech] error building
>
> *Caution:* This message was sent from outside the University of Manitoba.
>
>
>
> Sean, I'm doing the install and it takes a while and now I'm getting :
>
>
>
> nvm: install v12.22.12 failed!
>
>
>
> is there any chance we will be able to build without having to do this?
>
>
>
> -Jose
>
>
>
> On Tue, May 3, 2022 at 3:08 PM Sean Kalynuk 
> wrote:
>
> The torquebox.org domain has expired.
>
>
>
> See old discussion: https://groups.google.com/g/dspace-tech/c/RPL_qoTGvMI
>
>
>
> The workaround is to install the prerequisite software for building Mirage
> 2:
>
>
>
>
> https://github.com/DSpace/DSpace/tree/dspace-6_x/dspace-xmlui-mirage2#installation
>
>
>
> I’m currently setting up the workaround myself since I ran into this
> yesterday and can’t wait for torquebox.org to return. Will be more stable
> (and faster!) for builds in

Re: [dspace-tech] error building

2022-05-03 Thread Jose Blanco
Sean,  You know the way I work here, I log in as myself then I become the
dspace user.  So I just tried doing this as myself and it worked.  I was
trying to do the installation as a dspace user.

When I build dspace normally, I am the dspace user.  I wonder if I can do
all these installations as myself and then build dspace as a dspace user.
Do you think that will work?

Thank you!
-Jose

On Tue, May 3, 2022 at 5:55 PM Sean Kalynuk 
wrote:

> Not sure. I installed nvm locally to my account with:
>
>
>
> curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh
> | bash
>
>
>
> Logged out and back in and then ran:
>
>
>
> nvm install 12
>
> nvm alias default 12
>
>
>
> In my environment, this gets added to my .bashrc:
>
>
>
> export NVM_DIR="$HOME/.nvm"
>
> [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
>
> [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This
> loads nvm bash_completion
>
>
>
> --
>
> Sean
>
>
>
> *From: *Jose Blanco 
> *Date: *Tuesday, May 3, 2022 at 4:46 PM
> *To: *Sean Kalynuk 
> *Cc: *DSpace Technical Support 
> *Subject: *Re: [dspace-tech] error building
>
> *Caution:* This message was sent from outside the University of Manitoba.
>
>
>
> Sean,
>
>
>
> Sorry to bother you, I just tried again and it fails like this:
>
>
>
> if [ ! -r node -o ! -L node ]; then \
>
>   ln -fs out/Release/node node; fi
>
> ln: failed to create symbolic link 'node': Operation not supported
>
> Makefile:104: recipe for target 'node' failed
>
> make: *** [node] Error 1
>
> nvm: install v12.22.12 failed!
>
>
>
>
>
> Why?
>
>
>
> -Jose
>
>
>
> On Tue, May 3, 2022 at 4:36 PM Sean Kalynuk 
> wrote:
>
> Hi Jose,
>
>
>
> Sorry, I don’t know about the status of torquebox.org, but since there
> have been issues with that domain before, I’m sticking with the locally
> installed Mirage 2 prerequisites now since I managed to get a full compile.
>
>
>
> When you installed nvm, it would have modified your account’s login
> scripts. In my case, it modified my .bashrc file. I logged out and back in
> again to make sure I had the right environment settings before running “nvm
> install 12”.
>
>
>
> --
>
> Sean
>
>
>
> *From: *Jose Blanco 
> *Date: *Tuesday, May 3, 2022 at 3:12 PM
> *To: *Sean Kalynuk 
> *Cc: *DSpace Technical Support 
> *Subject: *Re: [dspace-tech] error building
>
> *Caution:* This message was sent from outside the University of Manitoba.
>
>
>
> Sean, I'm doing the install and it takes a while and now I'm getting :
>
>
>
> nvm: install v12.22.12 failed!
>
>
>
> is there any chance we will be able to build without having to do this?
>
>
>
> -Jose
>
>
>
> On Tue, May 3, 2022 at 3:08 PM Sean Kalynuk 
> wrote:
>
> The torquebox.org domain has expired.
>
>
>
> See old discussion: https://groups.google.com/g/dspace-tech/c/RPL_qoTGvMI
>
>
>
> The workaround is to install the prerequisite software for building Mirage
> 2:
>
>
>
>
> https://github.com/DSpace/DSpace/tree/dspace-6_x/dspace-xmlui-mirage2#installation
>
>
>
> I’m currently setting up the workaround myself since I ran into this
> yesterday and can’t wait for torquebox.org to return. Will be more stable
> (and faster!) for builds in the long run too.
>
>
>
> --
>
> Sean
>
>
>
> *From: *dspace-tech@googlegroups.com  on
> behalf of Jose Blanco 
> *Date: *Tuesday, May 3, 2022 at 1:47 PM
> *To: *DSpace Technical Support 
> *Subject: *[dspace-tech] error building
>
> *Caution:* This message was sent from outside the University of Manitoba.
>
>
>
> Getting this error when building 6.3.  It was working fine a week ago
>
>
>
> [ERROR] Failed to execute goal on project xmlui-mirage2: Could not resolve
> dependencies for project org.dspace.modules:xmlui-mirage2:war:6.3: Failed
> to collect dependencies at rubygems:compass:gem:1.0.1 ->
> rubygems:sass:gem:[3.3.13,3.5): No versions available for
> rubygems:sass:gem:[3.3.13,3.5) within specified range -> [Help 1]
>
>
>
> -Jose
>
> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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...@googlegroup

Re: [dspace-tech] error building

2022-05-03 Thread Jose Blanco
Sean,

Sorry to bother you, I just tried again and it fails like this:

if [ ! -r node -o ! -L node ]; then \

  ln -fs out/Release/node node; fi

ln: failed to create symbolic link 'node': Operation not supported

Makefile:104: recipe for target 'node' failed

make: *** [node] Error 1

nvm: install v12.22.12 failed!



Why?


-Jose

On Tue, May 3, 2022 at 4:36 PM Sean Kalynuk 
wrote:

> Hi Jose,
>
>
>
> Sorry, I don’t know about the status of torquebox.org, but since there
> have been issues with that domain before, I’m sticking with the locally
> installed Mirage 2 prerequisites now since I managed to get a full compile.
>
>
>
> When you installed nvm, it would have modified your account’s login
> scripts. In my case, it modified my .bashrc file. I logged out and back in
> again to make sure I had the right environment settings before running “nvm
> install 12”.
>
>
>
> --
>
> Sean
>
>
>
> *From: *Jose Blanco 
> *Date: *Tuesday, May 3, 2022 at 3:12 PM
> *To: *Sean Kalynuk 
> *Cc: *DSpace Technical Support 
> *Subject: *Re: [dspace-tech] error building
>
> *Caution:* This message was sent from outside the University of Manitoba.
>
>
>
> Sean, I'm doing the install and it takes a while and now I'm getting :
>
>
>
> nvm: install v12.22.12 failed!
>
>
>
> is there any chance we will be able to build without having to do this?
>
>
>
> -Jose
>
>
>
> On Tue, May 3, 2022 at 3:08 PM Sean Kalynuk 
> wrote:
>
> The torquebox.org domain has expired.
>
>
>
> See old discussion: https://groups.google.com/g/dspace-tech/c/RPL_qoTGvMI
>
>
>
> The workaround is to install the prerequisite software for building Mirage
> 2:
>
>
>
>
> https://github.com/DSpace/DSpace/tree/dspace-6_x/dspace-xmlui-mirage2#installation
>
>
>
> I’m currently setting up the workaround myself since I ran into this
> yesterday and can’t wait for torquebox.org to return. Will be more stable
> (and faster!) for builds in the long run too.
>
>
>
> --
>
> Sean
>
>
>
> *From: *dspace-tech@googlegroups.com  on
> behalf of Jose Blanco 
> *Date: *Tuesday, May 3, 2022 at 1:47 PM
> *To: *DSpace Technical Support 
> *Subject: *[dspace-tech] error building
>
> *Caution:* This message was sent from outside the University of Manitoba.
>
>
>
> Getting this error when building 6.3.  It was working fine a week ago
>
>
>
> [ERROR] Failed to execute goal on project xmlui-mirage2: Could not resolve
> dependencies for project org.dspace.modules:xmlui-mirage2:war:6.3: Failed
> to collect dependencies at rubygems:compass:gem:1.0.1 ->
> rubygems:sass:gem:[3.3.13,3.5): No versions available for
> rubygems:sass:gem:[3.3.13,3.5) within specified range -> [Help 1]
>
>
>
> -Jose
>
> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-s6a-G-N_1sQGNmBc8E%3DVR82c%3Dt%2BZV2%3DUfC-Wu5b-6iSw%40mail.gmail.com
> <https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-s6a-G-N_1sQGNmBc8E%3DVR82c%3Dt%2BZV2%3DUfC-Wu5b-6iSw%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tvsxHm_dKF1RBF%3Dne7-X5yMJ%2BKgYBkdDS1i2C5XGwreQ%40mail.gmail.com.


Re: [dspace-tech] error building

2022-05-03 Thread Jose Blanco
Sean, I'm doing the install and it takes a while and now I'm getting :

nvm: install v12.22.12 failed!


is there any chance we will be able to build without having to do this?


-Jose

On Tue, May 3, 2022 at 3:08 PM Sean Kalynuk 
wrote:

> The torquebox.org domain has expired.
>
>
>
> See old discussion: https://groups.google.com/g/dspace-tech/c/RPL_qoTGvMI
>
>
>
> The workaround is to install the prerequisite software for building Mirage
> 2:
>
>
>
>
> https://github.com/DSpace/DSpace/tree/dspace-6_x/dspace-xmlui-mirage2#installation
>
>
>
> I’m currently setting up the workaround myself since I ran into this
> yesterday and can’t wait for torquebox.org to return. Will be more stable
> (and faster!) for builds in the long run too.
>
>
>
> --
>
> Sean
>
>
>
> *From: *dspace-tech@googlegroups.com  on
> behalf of Jose Blanco 
> *Date: *Tuesday, May 3, 2022 at 1:47 PM
> *To: *DSpace Technical Support 
> *Subject: *[dspace-tech] error building
>
> *Caution:* This message was sent from outside the University of Manitoba.
>
>
>
> Getting this error when building 6.3.  It was working fine a week ago
>
>
>
> [ERROR] Failed to execute goal on project xmlui-mirage2: Could not resolve
> dependencies for project org.dspace.modules:xmlui-mirage2:war:6.3: Failed
> to collect dependencies at rubygems:compass:gem:1.0.1 ->
> rubygems:sass:gem:[3.3.13,3.5): No versions available for
> rubygems:sass:gem:[3.3.13,3.5) within specified range -> [Help 1]
>
>
>
> -Jose
>
> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-s6a-G-N_1sQGNmBc8E%3DVR82c%3Dt%2BZV2%3DUfC-Wu5b-6iSw%40mail.gmail.com
> <https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-s6a-G-N_1sQGNmBc8E%3DVR82c%3Dt%2BZV2%3DUfC-Wu5b-6iSw%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-uNzyzaNozDCd1RfFNmwRannSM4TvCkiad33tPCMT9sCw%40mail.gmail.com.


[dspace-tech] error building

2022-05-03 Thread Jose Blanco
Getting this error when building 6.3.  It was working fine a week ago

[ERROR] Failed to execute goal on project xmlui-mirage2: Could not resolve
dependencies for project org.dspace.modules:xmlui-mirage2:war:6.3: Failed
to collect dependencies at rubygems:compass:gem:1.0.1 ->
rubygems:sass:gem:[3.3.13,3.5): No versions available for
rubygems:sass:gem:[3.3.13,3.5) within specified range -> [Help 1]


-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-s6a-G-N_1sQGNmBc8E%3DVR82c%3Dt%2BZV2%3DUfC-Wu5b-6iSw%40mail.gmail.com.


[dspace-tech] stack trace option

2022-04-23 Thread Jose Blanco
I noticed that when there is an error, the page displays the stack trace
option ("Show underlying error stack"). This is great in development, but
is there a way to turn this off in production?

Thanks!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-v5bqKEbRqULgM0a%2BqTUBvmqZXdtodK_fxXom%2BtAJuOcQ%40mail.gmail.com.


[dspace-tech] spam on forms.

2022-04-23 Thread Jose Blanco
This weekend we had an ip that was causing trouble by sending /feedback and
/request-item submissions.  Has anyone encountered this in dspace and found
a way to mitigate it?

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-uOjd7hjJZV84qf886LdMV%2B3H-SdRAYMLjy%2BSK%2BvT-8qg%40mail.gmail.com.


[dspace-tech] PDF Citation Cover Page not always working

2022-03-21 Thread Jose Blanco
We had a situation where we had a pdf where all the cover pages were in
landscape mode and when the PDF was rendered with the citation page added,
it was cutting off the pages that were in landscape. To fix this, I changed
this line of code in 6.3

https://github.com/DSpace/DSpace/blob/dspace-6.3/dspace-api/src/main/java/org/dspace/disseminate/CitationDocumentServiceImpl.java#L384

To be this:
   if (isCitationFirstPage()) {
PDRectangle rectangle = new PDRectangle();

//citation as cover page
document.addPage(coverPage);
for (PDPage sourcePage : sourcePageList) {

rectangle.setUpperRightY(sourcePage.getCropBox().getUpperRightY());
rectangle.setLowerLeftY(sourcePage.getCropBox().getLowerLeftY());

 rectangle.setUpperRightX(sourcePage.getCropBox().getUpperRightX());

rectangle.setLowerLeftX(sourcePage.getCropBox().getLowerLeftX());

sourcePage.setCropBox(rectangle);
document.addPage(sourcePage);
}

} else {

This took care of the problem.  But now, a user has pointed out that for
one of our pdfs the pages are being cut off.  So this change I have placed
does not work for all PDFs.  I wonder if anyone has come across this issue,
and if there is a better way to solve this problem.

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-srY9AstK%3D_%2Bbm5q9k1SRXnSLAv%2B%2B7Kpzf5FobywwaJGg%40mail.gmail.com.


[dspace-tech] Re: losing cc license when going back.

2021-12-13 Thread Jose Blanco
Just to have it in this thread, this was caused by some local
customization.  I had accidentally commented out some code in:

dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/submission/submit/CCLicenseStep.java


This code was accidentally commented out:


   selectList.addOption(T_select_change.getKey(), T_select_change);

   if(T_select_change.getKey().equals(selectedLicense)) {

  selectList.setOptionSelected(T_select_change.getKey());

   }



-Jose

On Mon, Dec 6, 2021 at 8:23 PM Jose Blanco  wrote:

> When entering an item with a cc license, if I choose a cc license and
> then go to the next tab, which is the complete deposit page, and then go
> back to the tab where I chose the cc license, and then I move forward a
> tab, I lose the cc license I entered originally. I found this in 6.3
> xmlui.  I tried to replicate it on the demo site, but it does not seem to
> be working presently since I get an error right after the 1st tab.  I'm
> wondering if this is a known bug and if there is a patch for it.
>
> Thank you!
> -Jose
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vm1qp05GbtU24guTwba7pJghZ2bafT9tJLXbSMGEgKpA%40mail.gmail.com.


[dspace-tech] losing cc license when going back.

2021-12-06 Thread Jose Blanco
When entering an item with a cc license, if I choose a cc license and
then go to the next tab, which is the complete deposit page, and then go
back to the tab where I chose the cc license, and then I move forward a
tab, I lose the cc license I entered originally. I found this in 6.3
xmlui.  I tried to replicate it on the demo site, but it does not seem to
be working presently since I get an error right after the 1st tab.  I'm
wondering if this is a known bug and if there is a patch for it.

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tujmLfT%2BG4m0hx8L1PY-opovc-j8FpsnkfYDQfj26kMw%40mail.gmail.com.


[dspace-tech] DOI Versioning

2021-10-27 Thread Jose Blanco
I have versioning setup on 6.3 to use
org.dspace.identifier.VersionedHandleIdentifierProviderWithCanonicalHandles.
My handle versioning is working fine.  For example:

Handle: version one => 1010/10.1
Handle: version two  => 1010/10.2
Handle: version three ( and latest ) ==> 1010/10

Basically the fact that the original handle always points to the most
current version is what we are seeing and what we want.  But for the DOI,
it does not work that way.  For example:

DOI: version one => 123/12
DOI: version two => 123/12.2
DOI: version three ( and latest ) => 123/12.3

We would like the current version to point to the original DOI ( in this
example that would be 123/12 ).

So, here are my questions:
(1)  Am I missing something and is this actually possible with some
configuration changes in 6.3?

(2)  Is there a good reason why this does not work this way, and therefore
I should not try to change the code?

Thank you!

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vdEn%3Dt3BfroFSQ9Jv8i_5jV3G_3pQom0-mefWgGHUZMA%40mail.gmail.com.


[dspace-tech] Re: Versioning question.

2021-10-20 Thread Jose Blanco
I think I have this going the way I need it.  But I do have a general
question about versioning.

Say an item has 3 versions, this is what I see with my configuration:
Handle: version one => 1010/10.1
Handle: version two  => 1010/10.2
Handle: version three ( and latest ) ==> 1010/10

Which is exactly what I want to happen to the handle:  for the current
version to have the original handle. But I don't see the same behavior with
the DOI.

This is what I'm seeing with the doi, for an item that has 3 versions:
DOI: version one => 123/12
DOI: version two => 123/12.2
DOI: version three ( and latest ) => 123/12.3

So with the DOI the latest version does not have the original DOI.  Is this
not possible with Dspace 6.3?  I just want to make sure I'm not missing
something.

Thank you!
-Jose

On Tue, Oct 19, 2021 at 8:46 PM Jose Blanco  wrote:

> I'm using version 6.3.  I made a change to my instance to not  have the
> handle and doi created at the end of the submission process.  Normally this
> would happen in this line of code:
>
>
> https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/content/InstallItemServiceImpl.java#L69
>
> So I made a change so that from this line of code:
>
>
> https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/content/WorkspaceItemServiceImpl.java#L126
>
> I have added the following code:
>
>try
>
>{
>
>   identifierService.register(context, item);
>
>} catch (IdentifierException e) {
>
>   throw new RuntimeException("Can't create an Identifier!",
> e);
>
>}
>
> And I removed the call to identifierService.register from
> InstallItemServiceImpl.java.  So basically, I'm moving the call to
> identifierService.register to the start of the submission, rather than have
> it at the end of the submission  (Long story as to why I'm doing this).
>
> I had  versioning enabled, without using
> VersionedHandleIdentifierProviderWithCanonicalHandles, and the handles
> worked as expected.  But I want versioning to use
> VersionedHandleIdentifierProviderWithCanonicalHandles, and when I enable
> it, the handle is not retained with the previous version being .1 and so
> on.  If I revert back to out-of-the box, the handles look as I would expect
> them ( handle is retained and older versions get .x).  I'm not sure why
> this is happening. I must need to do something additionally to get this to
> work, I just don't know what that would be.
>
> With my code change, enabling
> VersionedHandleIdentifierProviderWithCanonicalHandles makes no difference.
> Versioning works the same with or without it.
>
> What is the difference in calling identifierService.register at the start
> of the submission as opposed to at the end of the submission?
>
>
> Any ideas?
> Thank you!
> -Jose
>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tRo5QgtumP5kzSwTZ_6VbAXMr%3DBFgO0RxrhuE%2Bu2PA9w%40mail.gmail.com.


[dspace-tech] Versioning question.

2021-10-19 Thread Jose Blanco
I'm using version 6.3.  I made a change to my instance to not  have the
handle and doi created at the end of the submission process.  Normally this
would happen in this line of code:

https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/content/InstallItemServiceImpl.java#L69

So I made a change so that from this line of code:

https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/content/WorkspaceItemServiceImpl.java#L126

I have added the following code:

   try

   {

  identifierService.register(context, item);

   } catch (IdentifierException e) {

  throw new RuntimeException("Can't create an Identifier!", e);

   }

And I removed the call to identifierService.register from
InstallItemServiceImpl.java.  So basically, I'm moving the call to
identifierService.register to the start of the submission, rather than have
it at the end of the submission  (Long story as to why I'm doing this).

I had  versioning enabled, without using
VersionedHandleIdentifierProviderWithCanonicalHandles, and the handles
worked as expected.  But I want versioning to use
VersionedHandleIdentifierProviderWithCanonicalHandles, and when I enable
it, the handle is not retained with the previous version being .1 and so
on.  If I revert back to out-of-the box, the handles look as I would expect
them ( handle is retained and older versions get .x).  I'm not sure why
this is happening. I must need to do something additionally to get this to
work, I just don't know what that would be.

With my code change, enabling
VersionedHandleIdentifierProviderWithCanonicalHandles makes no difference.
Versioning works the same with or without it.

What is the difference in calling identifierService.register at the start
of the submission as opposed to at the end of the submission?


Any ideas?
Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-uAeL4CqVaAc-9Vem8nNF4RXuOOqsjDfZa-cOJ8v%2B-ZKg%40mail.gmail.com.


[dspace-tech] Re: trying to use VersionedHandleIdentifierWithCanonicalHandles

2021-10-15 Thread Jose Blanco
I believe that the reason this is not working for me is because of some
local customizations I did to the DOI code.  I turned off my doi code and I
saw the handles behave the way I was  hoping:

Version 1 was 1234/1.2
Version 2 was 1234/1

Basically the  most current version, retained the original handle.

Now, I was looking at the DOI table, and saw that the most current version
has a doi now with a ".2", and the original version has the original DOI.
I was hoping that the second version would retain the original DOI.  This
could all be because of some changes I have made to the code, so my
question is, with dspace 6.3 out of the box  is this possible? That is, to
have the most current version retain the original DOI?

Thank you!
-Jose

On Thu, Oct 14, 2021 at 10:10 AM Jose Blanco  wrote:

> I am using Dspace 6.3 and want to use 
> VersionedHandleIdentifierWithCanonicalHandles,
> but I'm not having success.
>
> I edited this file: config/spring/api/identifier-service.xml
>
> This is commented out:
>
> 
>
>
> I enabled this by uncommenting it:
>
>
>  class="org.dspace.identifier.VersionedHandleIdentifierProviderWithCanonicalHandles"
> scope="singleton">
>
>  ref="org.dspace.services.ConfigurationService"/>
>
> 
>
>
> I put some logging in both files, and can see that both are being used.
>
>
>
> 2021-10-13 20:41:55,400 INFO  
> org.dspace.identifier.VersionedHandleIdentifierProvider
> @ Version original:  lookup
>
> 2021-10-13 20:41:55,407 INFO  
> org.dspace.identifier.VersionedHandleIdentifierProviderWithCanonicalHandles
> @ Version: in lookup
>
>
>
> I see that when I create a new version I have a brand new handle. I was
> expecting the new version to keep the handle and for the previous version
> to have a ".1" appended to the handle.
>
>
> I'm wondering if something has to be changed in this file:
>
>
>
> https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/resources/spring/spring-dspace-core-services.xml#L25
>
>
> To get this to work?
>
>
> Any thoughts?
>
>
> Thank you!
>
> -Jose
>
>
>
>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vEYSxB7sZiZwEh8jO3Tzrwtz6iZ3PG24tULo5acpmE%2Bg%40mail.gmail.com.


[dspace-tech] trying to use VersionedHandleIdentifierWithCanonicalHandles

2021-10-14 Thread Jose Blanco
I am using Dspace 6.3 and want to use
VersionedHandleIdentifierWithCanonicalHandles,
but I'm not having success.

I edited this file: config/spring/api/identifier-service.xml

This is commented out:




I enabled this by uncommenting it:









I put some logging in both files, and can see that both are being used.



2021-10-13 20:41:55,400 INFO
org.dspace.identifier.VersionedHandleIdentifierProvider
@ Version original:  lookup

2021-10-13 20:41:55,407 INFO
org.dspace.identifier.VersionedHandleIdentifierProviderWithCanonicalHandles
@ Version: in lookup



I see that when I create a new version I have a brand new handle. I was
expecting the new version to keep the handle and for the previous version
to have a ".1" appended to the handle.


I'm wondering if something has to be changed in this file:


https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/resources/spring/spring-dspace-core-services.xml#L25


To get this to work?


Any thoughts?


Thank you!

-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vvZ3YnUzge4tt%3D1vx%3DhWHruEm%2BSm%2BzS-AVAe_Dy0ObWQ%40mail.gmail.com.


Re: [dspace-tech] Re: browsing behavior seems odd

2021-09-30 Thread Jose Blanco
Thank you, Anne.

-Jose

On Thu, Sep 30, 2021 at 11:23 AM al...@vt.edu  wrote:

> Jose,
>
> This was reported in https://jira.lyrasis.org/browse/DS-3996 with a PR.
> We installed it as a patch as documented in
> https://github.com/VTUL/vtechworks/issues/640. It might be slated for the
> DSpace 6.4 release.
>
> Thanks,
>
> Anne
>
> On Wednesday, September 29, 2021 at 2:12:35 PM UTC-4 bla...@umich.edu
> wrote:
>
>> If you do a title browse on for example "time", you see the results
>> expected ( titles starting with the word time), and then from that page you
>> type "money" into the search box, and it doesn't go to titles starting with
>> "money" (or the "m"s at all) but instead back to the beginning of the
>> index.  This seems a bit odd.  I tried it on the demo site:
>>
>> http://demo.dspace.org/xmlui/
>>
>> And it seems to work like that too.  The case is the same with author
>> browsing.  Has anyone noticed this?  Am I missing something in thinking
>> this is odd?
>>
>> Thank you!
>> -Jose
>>
> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/22c4f64a-1e26-4399-b245-d8a9e12b4cd7n%40googlegroups.com
> 
> .
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-uXuLBzbSOppXPt1PG8JWFJGsJOGsB_tNMMTB05Od558g%40mail.gmail.com.


[dspace-tech] browsing behavior seems odd

2021-09-29 Thread Jose Blanco
If you do a title browse on for example "time", you see the results
expected ( titles starting with the word time), and then from that page you
type "money" into the search box, and it doesn't go to titles starting with
"money" (or the "m"s at all) but instead back to the beginning of the
index.  This seems a bit odd.  I tried it on the demo site:

http://demo.dspace.org/xmlui/

And it seems to work like that too.  The case is the same with author
browsing.  Has anyone noticed this?  Am I missing something in thinking
this is odd?

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-uCt6O5MYw7qRK9E0WByQsEr8Hxd-8P71hYqG-yo9_B5g%40mail.gmail.com.


[dspace-tech] change in config/spring/api/discovery.cfg

2021-08-22 Thread Jose Blanco
I want to make a change in this parameter in config/spring/discovery.cfg



to


  



I don't think that for this sort of change I have to run


  ./bin/dspace update-discovery-index -f



But I just want to make sure. I tried it in my development environment and
it seems fine.  I'm using dspace 6.3.


Thank you!

-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-s0OMG4p-oPv7TE9XUvGXQYka7w-QExGyTqJc_unqJNmg%40mail.gmail.com.


Re: [dspace-tech] http and https in handle

2021-07-28 Thread Jose Blanco
Thanks Deborah!

I'm in the process

-Jose

On Wed, Jul 28, 2021 at 5:58 PM Fitchett, Deborah <
deborah.fitch...@lincoln.ac.nz> wrote:

> We made these changes (both in config and metadata) and haven’t seen any
> downsides, so I say go for it. J
>
>
>
> Deborah
>
>
>
> *From:* dspace-tech@googlegroups.com  *On
> Behalf Of *Jose Blanco
> *Sent:* Thursday, 29 July 2021 2:36 AM
> *To:* DSpace Technical Support 
> *Subject:* [dspace-tech] http and https in handle
>
>
>
> I recently noticed that we are using http in our handle based on the
> configuration file:
>
>
>
> handle.canonical.prefix = http://hdl.handle.net/
>
>
>
> The 6.2 code also defaults to http rather than https:
>
>
>
>
> https://github.com/DSpace/DSpace/blob/dspace-6.2/dspace-api/src/main/java/org/dspace/handle/HandleServiceImpl.java#L126
>
>
>
> I'm thinking that I should:
>
> (1)  Change my config file to use https
>
> (2) update all the metadata from http to https
>
>
>
> As a side, my doi seems to also have http in the url.
>
>
>
> Thoughts?
>
>
>
> Thank you!
>
> -Jose
>
> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vr2g7NrJXF-pKe4uai43ZKCzM1pOP%2B5VJHg6UEd5DvAw%40mail.gmail.com
> <https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vr2g7NrJXF-pKe4uai43ZKCzM1pOP%2B5VJHg6UEd5DvAw%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> --
>
> "The contents of this e-mail (including any attachments) may be
> confidential and/or subject to copyright. Any unauthorised use,
> distribution, or copying of the contents is expressly prohibited. If you
> have received this e-mail in error, please advise the sender by return
> e-mail or telephone and then delete this e-mail together with all
> attachments from your system."
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vuPru2yuviGYWOvQfhOqfre4C6iL-VJm%2BZ8WmYxOC5wA%40mail.gmail.com.


[dspace-tech] http and https in handle

2021-07-28 Thread Jose Blanco
I recently noticed that we are using http in our handle based on the
configuration file:

handle.canonical.prefix = http://hdl.handle.net/

The 6.2 code also defaults to http rather than https:

https://github.com/DSpace/DSpace/blob/dspace-6.2/dspace-api/src/main/java/org/dspace/handle/HandleServiceImpl.java#L126

I'm thinking that I should:
(1)  Change my config file to use https
(2) update all the metadata from http to https

As a side, my doi seems to also have http in the url.

Thoughts?

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vr2g7NrJXF-pKe4uai43ZKCzM1pOP%2B5VJHg6UEd5DvAw%40mail.gmail.com.


[dspace-tech] changing news-xmlui.xml

2021-06-01 Thread Jose Blanco
I want news-xmlui.xml to generate this html:


 
Some Header
Some text.
  


I'm not sure what DRI would generate.  Could someone easily create the
DRI for this?

Thank you!

-Jose

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-uU1ehhYAJ8yODx2LMW4Jz0_dBZyRAgx8LhSzr0uyOevw%40mail.gmail.com.


Re: [dspace-tech] Dear Friends ...PLease see this Error (Trying to 3 to 6.3)

2021-04-27 Thread Jose Blanco
This error makes me think that you have not done the data
upgrade/migration.  It is expecting a uuid field and not finding it.

Look in here https://wiki.lyrasis.org/display/DSDOC6x/Upgrading+DSpace
the section on the database upgrade:  Upgrade your database

If you restart tomcat, the db upgrade is supposed to happen automatically,
but I did it before restarting tomcat.  Here are some notes I have from the
upgrade:


bin/dspace database info  <== so you can see the status of the db
bin/dspace database migrate <== to actually do the upgrade/migration
bin/dspace database repair <== run this if you get a web checksum error
mismatch

you can run

bin/dspace database info

Any time to get info on your database.

-Jose




On Tue, Apr 27, 2021 at 11:55 AM manu m  wrote:

> *dspace@dspace:/dspace/bin$ sudo ./dspace index-discovery -b*
>
> Exception: The schema validator returned: Wrong column type in
> public.tasklistitem for column eperson_id. Found: int4, expected: uuid
> org.dspace.core.exception.DatabaseSchemaValidationException: The schema
> validator returned: Wrong column type in public.tasklistitem for column
> eperson_id. Found: int4, expected: uuid
> at org.dspace.core.Context.init(Context.java:170)
> at org.dspace.core.Context.(Context.java:138)
> at org.dspace.discovery.IndexClient.main(IndexClient.java:50)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
> at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
> dspace@dspace:/dspace/bin$
>
> --
> All messages to this mailing list should adhere to the 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/1857021b-29fa-4628-85a7-87239fc6855bn%40googlegroups.com
> 
> .
>

-- 
All messages to this mailing list should adhere to the 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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-sp%3D5PTSUYReKNk%3Dwry3kdBV3FzvBqZ%3D9UtSA8gkRryxA%40mail.gmail.com.


[dspace-tech] accordions for facets

2021-04-26 Thread Jose Blanco
Is there a way via configuration to give facets accordion functionality, or
is this a custom change that has to be made to the xsl?

I'm on xmlui 6.3.

Thanks!
-Jose

-- 
All messages to this mailing list should adhere to the 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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-sFUTb0p%2B73%2BUdJH%3DTvcmWcbNvnbT4hKkmAWbV9tggd_w%40mail.gmail.com.


Re: [dspace-tech] Dspace CRIS create -administrator problem

2021-04-15 Thread Jose Blanco
If this is a fresh install, take a look at Tim's recommendation in this
thread:

https://groups.google.com/g/dspace-tech/c/9RESJYABb_k

-Jose

On Thu, Apr 15, 2021 at 9:55 AM Sivasankar Visithiran 
wrote:

> When I try to put the following command after dspace cris installation.
> ./dspace create-administrator
> I get the following error message kindly help
>
> Exception: Error, no admin group (group 1) found
> java.lang.IllegalStateException: Error, no admin group (group 1) found
> at
> org.dspace.administer.CreateAdministrator.createAdministrator(CreateAdministrator.java:367)
> at
> org.dspace.administer.CreateAdministrator.negotiateAdministratorDetails(CreateAdministrator.java:335)
> at
> org.dspace.administer.CreateAdministrator.main(CreateAdministrator.java:85)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> at
> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:226)
> at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)
>
> --
> All messages to this mailing list should adhere to the 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/ed58b06a-973b-48c1-bbbe-c42a2bb3cbadn%40googlegroups.com
> 
> .
>

-- 
All messages to this mailing list should adhere to the 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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vLgG_yx%3D9os4ZsChUjyg7z3eURMftA%3DdiH-_HfE%3DuBpw%40mail.gmail.com.


Re: [dspace-tech] Recent-submissions homepage error in DSpace 6.3

2021-04-13 Thread Jose Blanco
Look at this:
https://groups.google.com/g/dspace-tech/c/k33Thvse0LA/m/v2XEQeOfAQAJ

Look at what Hernan did.  I'm not sure how he created the UUID he inserted
in the tables.  Perhaps you know how to create one.  I googled a bit and
saw some documentation about it.

Hope this helps.
-Jose

On Mon, Apr 12, 2021 at 6:25 PM Carl Jones  wrote:

>
> It's been a while, but following up,  what if the Site table is present
> but it's empty?
>
> Carl
> On Tuesday, December 8, 2020 at 9:49:07 AM UTC-5 Carl Jones wrote:
>
>> Hi Jose,
>>
>> Thanks, much, for the suggestions. We’ll check those out.
>>
>> Carl
>>
>> > On Dec 7, 2020, at 6:01 PM, Jose Blanco  wrote:
>> >
>> > I remember having this issue, and I think it was a migration that had
>> not run. You can check your database to make sure you have a table named
>> site:
>> >
>> > => \d site
>> > Table "public.site"
>> > Column | Type | Modifiers
>> > +--+---
>> > uuid | uuid | not null
>> >
>> > Indexes:
>> > "site_pkey" PRIMARY KEY, btree (uuid)
>> > Foreign-key constraints:
>> > "site_uuid_fkey" FOREIGN KEY (uuid) REFERENCES dspaceobject(uuid)
>> >
>> > And also, In the config area take a look at this file:
>> hibernate.cfg.xml
>> >
>> > You should have this in the file:
>> > 
>> >
>> > Hope this helps!
>> > -Jose
>> >
>> > On Mon, Dec 7, 2020 at 5:11 PM Carl Jones  wrote:
>> > Hi,
>> >
>> > We've upgraded from 1.8 to 6.3 a couple of months ago and are
>> experiencing a similar error with the 'Recently Added' list when we try to
>> hit the 'View more' link at the site homepage. Tim Donohue mentioned this
>> could be because of a missing virtual Site Object that represents our
>> system as a whole. We get the following Stack Trace (similar to what was
>> reported by Donna Barber back in February of this year):
>> >
>> > Java stacktrace: java.lang.NullPointerException at
>> org.dspace.app.xmlui.aspect.discovery.recentSubmissions.RecentSubmissionTransformer.setMainTitle(RecentSubmissionTransformer.java:154)
>> at
>> org.dspace.app.xmlui.aspect.discovery.recentSubmissions.RecentSubmissionTransformer.addBody(RecentSubmissionTransformer.java:124)
>> at
>> org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:234)
>> at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:607) at
>> org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
>> at com.sun.proxy.$Proxy493.startElement(Unknown Source) at
>> org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
>> at
>> org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
>> at
>> org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:251)
>> at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:607)
>> > 
>> >
>> > I followed the suggestion to run 'bin/database info' but as far as I
>> can tell the database update checks all come back as Successful.
>> >
>> > I'm attaching the stack trace and database info output.
>> >
>> > I was curious if there were any other things I might check before
>> passing this onto our sysadmin for further investigation into what might
>> cause a missing virtual Site object problem?
>> >
>> > Thanks,
>> >
>> > Carl
>> > On Wednesday, February 19, 2020 at 6:50:34 PM UTC-5
>> donna@canterbury.ac.nz wrote:
>> > Hi Tim,
>> >
>> >
>> >
>> > Thanks very much for pointing us in the right direction. We think we’ve
>> now resolved the issue by following the instructions for a post you
>> responded to in 2015.
>> >
>> >
>> >
>> > The registry update was being ignored, and when I tried to run it
>> separately, we were getting the error:
>> >
>> >
>> >
>> > Caused by: java.sql.BatchUpdateException: Batch entry 0 update
>> public.bitstreamformatregistry set description=NULL, internal='FALSE',
>> mimetype='application/vnd.openxmlformats-office

Re: [dspace-tech] Dspace Publication Dates and Slashes

2021-03-09 Thread Jose Blanco
Braxton,  I just tried it on Mirage2 for dspace 6.3 and the simple item
view looked fine.  Having said that, Dspace for as long as I have known it,
and this is from version 1.1, has used -MM-DD,  or -MM, or  for
date.issued.  When you use the UI to submit an item, it stores it in that
format.  Because of this I would only ingest items that follow that format.

Hope this helps.
-Jose

On Tue, Mar 9, 2021 at 10:55 AM Braxton Van Gundy 
wrote:

> Hello,
>
> We have some records where the publication dates use slashes instead of
> dashes.  I.E. 10/12/1997 instead of 10-12-1997.  It would appear that this
> breaks the displayed date in the simple item view.  When using slashes, the
> simple item view only displays the first section of the date before the
> first slash, in this case "10".  I'm guessing that dspace does not support
> slashes inside the publication date? Though I just wanted to confirm that
> here.
>
> Thanks,
> Braxton VanGundy
>
> --
> All messages to this mailing list should adhere to the 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/b22addef-ab2d-4c97-8db2-27a4c73804c7n%40googlegroups.com
> 
> .
>

-- 
All messages to this mailing list should adhere to the 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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vX2Q_LULL9YnajfCwr_ZXmKNywJ74NYCRRKDG7QiXURw%40mail.gmail.com.


Re: [dspace-tech] Re: community / collection page in Mirage2

2021-03-08 Thread Jose Blanco
Yes, this looks great.  Where would I put this?

Thank you!
-Jose

On Sun, Mar 7, 2021 at 8:31 PM euler  wrote:

> Hi Jose,
>
> Perhaps you would like something like this?
> https://repository.cpu.edu.ph/community-list There is a custom javascript
> that you can change its default behavior (change collapsed from true to
> false to expand all):
>
> $(function() {
> $("#tree").treeview({
> *collapsed: true*,
> animated: "medium",
> control:"#sidetreecontrol",
> persist: "location"
> });
> });
>
> Let me know if you are interested.
>
> Regards,
> euler
> On Friday, March 5, 2021 at 10:24:06 AM UTC+8 bla...@umich.edu wrote:
>
>> Is there a way for the entire tree to be shown when you first get to the
>> page? In other words, to have all the plus buttons expanded?
>>
>> Thank you!
>> -Jose
>>
> --
> All messages to this mailing list should adhere to the 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/dd6ccf3b-6813-46c5-8414-f5bb1b5cc4acn%40googlegroups.com
> 
> .
>

-- 
All messages to this mailing list should adhere to the 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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-sYayeJjTiBjTESXpXQ67iwZtcZk1osv--Y0JcyGdHsAQ%40mail.gmail.com.


[dspace-tech] replace Go button with glyphonic-search

2021-03-08 Thread Jose Blanco
I want to replace every where the "Go" button exists with the icon of the
magnifying glass in Mirage2.

In one of the aspect files, I had:

*para.addButton("submit").setValue(T_go);*

I tried this

*para.addButton("submit").setValue("");*


But that did not work.  Has anyone done this?


-Jose

-- 
All messages to this mailing list should adhere to the 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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vO4ZKgitPrnFAz_Y7FvZrC3q%2B0SJtXa8WU5CMAtPPeBg%40mail.gmail.com.


[dspace-tech] community / collection page in Mirage2

2021-03-04 Thread Jose Blanco
Is there a way for the entire tree to be shown when you first get to the
page? In other words, to have all the plus buttons expanded?

Thank you!
-Jose

-- 
All messages to this mailing list should adhere to the 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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-uTRSBPrCasYpf%2BZpVwtZpxh7MaQvahv%2BEbjXKzcTZfCw%40mail.gmail.com.


[dspace-tech] Mirage2 item-list.xsl

2021-02-25 Thread Jose Blanco
I see that when a list of items is created via brosse by title, I can only
see the thumbnail section of the mets file.  In item-view.xsl I have access
to the CONTENT section.  Why is it that in the list view, I don't seem to
have access to the CONTENT section, only the THUMBNAIL?

Thank you!
-Jose

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-t3F68vDeWAyQ26DiriBhGEOhSEyrwZgmgLKGE6W5pA4g%40mail.gmail.com.


Re: [dspace-tech] looking into using the ORCID functionality

2021-02-23 Thread Jose Blanco
Sean, This is really helpful.  It really sounds like it's not that
reliable, with all the issues, but I need to read your response
more carefully.

Thank you
-Jose

On Tue, Feb 23, 2021 at 5:26 PM Sean Kalynuk 
wrote:

> Hi Jose,
>
>
>
> I’ve encountered a number of issues using the ORCID functionality in
> DSpace 6.3, and I’m still working through them, but here’s some info based
> on my experience so far (numbered according to your questions):
>
>
>
>1. index-authority will keep the Solr authority index up-to-date with
>respect to metadata in the database that is authority controlled. In
>regards to ORCID and dc.contributor.author, it does not use the ORCID API
>to find authors. (*Important – See Issue:
>https://jira.lyrasis.org/browse/DS-3999
>*) More details in the manual
>than I can include here (
>
> https://wiki.lyrasis.org/display/DSDOC6x/ORCID+Integration#ORCIDIntegration-Importingexistingauthors).
>Keep in mind that the first run will take a long time. In our environment I
>think I was only getting <2000 records created per hour. In addition to
>index-authority, in order to keep the ORCID information in the Solr
>authority index up-to-date, you’re supposed to run “dsrun
>org.dspace.authority.UpdateAuthorities” but there’s another issue as well 
> - *https://jira.lyrasis.org/browse/DS-3302
>*. I don’t have an official
>patch for it yet, but the problem is that the default Solr query only
>checks 10 records. I only corrected this in our source code for now, and
>haven’t really had the time to test it fully.
>2. Italicized authors in the lookup are the ones found using the ORCID
>API, whereas the non-italicized authors come from your Solr authority
>index. If you don’t apply the fix for DS-3999 you may see duplicates.
>3. The ORCID iD is only displayed in the lookup dialog. However, if
>you apply the Expanded ORCID patch (
>https://atmire.github.io/expanded-ORCID-support/#/) a clickable icon
>is displayed next to authors’ names that have their ORCID iD assigned in
>DSpace. There are other features as well. (*See issue
>https://github.com/atmire/expanded-ORCID-support/issues/3
>* with
>regards to the DS-3999 fix).
>4. ORCID iDs can be populated manually via the lookup dialog (either
>via the admin-level metadata edit, or with a normal submission when adding
>authors), and also imported via the metadata import tool. Using the
>metadata import tool to do it (
>
> https://wiki.lyrasis.org/display/DSDOC7x/ORCID+Integration#ORCIDIntegration-EditingexistingitemsusingBatchCSVEditing)
>has its own quirks. Too many to go into here unfortunately, so I’d suggest
>doing a lot of testing before trying it in production.
>5. The recommendation is to run index-authority once a day during
>off-hours. (The first run of index-authority takes a long time, but
>subsequent runs don’t take nearly as long. Some recent tests I did took
>about 1 hour to check and update about 30,000 records.) When you run
>UpdateAuthorities is dependent on your needs.
>6. I was also surprised that the default DSpace 6.3 ORCID
>functionality did not include a proper item display of the ORCID iD along
>with the author name (or even a clickable link to the ORCID record). Sure,
>you can click the ORCID iD link in the lookup dialog, but that doesn’t
>apply for normal browsing. Other people obviously had the same reaction,
>hence the Expanded ORCID Support patch. Surprisingly, there is an icon
>displayed for the confidence level in the detailed metadata view (see more
>on the confidence in the next answer)
>7. You’re correct that the authority key is the identifier that links
>the metadata record to a record in the Solr authority index. The confidence
>value is supposed to reflect different levels of confidence on the metadata
>value based on where the information was obtained, or who entered it.
>Again, lots of quirks on this one. Check out the source code to see an
>explanation of different values
>
> https://github.com/DSpace/DSpace/blob/dspace-6.3/dspace-api/src/main/java/org/dspace/content/authority/Choices.java.
>*There’s also this issue: https://jira.lyrasis.org/browse/DS-3994
>*
>8. All ORCID information is kept in the Solr authority index. Again,
>really important to get the fix for DS-3999 since if you don’t have it you
>can lose ORCID information.
>
>
>
> --
>
> Sean
>
>
>
>
>
> I want to make sure I understand what the ORCID function in 6.3 provides.
> So I have a few questions.
>
>
>
> (1)  When you run
>
> [dspace]/bin/dspace index-authority
>
>
>
> this goes out to: https://pub.orcid.org/v2.1 (defined in
> 

[dspace-tech] looking into using the ORCID functionality

2021-02-23 Thread Jose Blanco
I want to make sure I understand what the ORCID function in 6.3 provides.
So I have a few questions.

(1)  When you run
[dspace]/bin/dspace index-authority

this goes out to: https://pub.orcid.org/v2.1 (defined in
dspace.cfg:orcid.api.url )

And creates records of them in the authority index.

Correct?

(2) After the solr authority index is created, depositors of items will be
given a "Lookup" button for dc metadata configed, out of the box this is
contributor.author.  The user can then click on this button and search for
the author and select it. I'm a bit confused about the difference between
the case when the selection presents the same author twice ( once
italicized, and one not ).  What's the difference in selecting one from the
other?

(3)  Do you ever see the ORCIDs for the authors in any of the Dspace pages?
Say during the deposit, I select Smith, John with x ORCID, does this show
up in the short display?  I would think it would be valuable to see
the ORCids?

(4)  I have a spreadsheet of authors and ORCIDs.  Is there a way to get it
in the authority index, or is the only way for the authority index to be
populated via https://pub.orcid.org/v2.1 when you run "[dspace]/bin/dspace
index-authority"?

(5) Do any cron jobs have to be run to maintain the authority index?
Should
[dspace]/bin/dspace index-authority
be run periodically?  I think it takes a long time for this to run, so it
may not be practical?

(6) I think one thing I'm really confused about is why the ORCId is never
displayed.

(7) In the table metadatavalue, I think authority is a key to the authority
solr index for that record, but what is the confidence field?

(8)  Is there any information about the orcid in any of the tables of the
database?

Thank you!
-Jose

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-uZDi0W7Qw88VMUM%3Dd2CSyS4zRXV5XW4KuqFjm-pd-cAA%40mail.gmail.com.


[dspace-tech] Re: item id creation error

2021-02-10 Thread Jose Blanco
I wonder if all those items without an id were templates?  And now the
system can't find them?

I think that might be the reason.

-Jose

On Wed, Feb 10, 2021 at 1:00 PM Jose Blanco  wrote:

> When I go edit a template for a collection, I get this error.
>
> org.hibernate.ObjectNotFoundException: No row with the given identifier
> exists: [org.dspace.content.Item#6d947881-981a-47a0-9b46-54a5629fc483]
>
> I get this exact error every time I try to edit the template for the same
> collection ( showing the same UUID ).  If I try a different collection, the
> same thing happens.  I get the error, with a different uuid that is unique
> to that collection.
>
> I'm having the same issue when depositing in a collection, with the same
> uuid message for each collection.  It is always the same unique uuid per
> collection, and it is the same one for editing a template or submitting an
> item, per collection.
>
> Yesterday I found an item that did not have a submitter in the database
> and tried to delete it but I got an error in the dspace log that it was
> still in the workspaceitem table, so I removed it from the worksapceitem
> table with a SQL command and then I was able to delete it using the UI.  I
> wonder if that has something to do with this error, I'm seeing today? This
> was working on Monday.
>
> Thank you!
> -Jose
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tNP_5ma7Pagj1N4UHCbBkJBOdhUnr-U5tP6G8HgCMOQQ%40mail.gmail.com.


[dspace-tech] item id creation error

2021-02-10 Thread Jose Blanco
When I go edit a template for a collection, I get this error.

org.hibernate.ObjectNotFoundException: No row with the given identifier
exists: [org.dspace.content.Item#6d947881-981a-47a0-9b46-54a5629fc483]

I get this exact error every time I try to edit the template for the same
collection ( showing the same UUID ).  If I try a different collection, the
same thing happens.  I get the error, with a different uuid that is unique
to that collection.

I'm having the same issue when depositing in a collection, with the same
uuid message for each collection.  It is always the same unique uuid per
collection, and it is the same one for editing a template or submitting an
item, per collection.

Yesterday I found an item that did not have a submitter in the database and
tried to delete it but I got an error in the dspace log that it was still
in the workspaceitem table, so I removed it from the worksapceitem table
with a SQL command and then I was able to delete it using the UI.  I wonder
if that has something to do with this error, I'm seeing today? This was
working on Monday.

Thank you!
-Jose

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-sQ473aPCiShZmu548tytYhwCcSoh8Fn-sdZuH%2B1D1uoA%40mail.gmail.com.


[dspace-tech] Re: programmatic way to remove incomplete deposits.

2021-02-09 Thread Jose Blanco
I found a way around this.  I made myself the submitter in the item table
using sql for these incomplete deposits, then the items showed up on My
Deposits page and it was pretty easy to delete them from there.

On Mon, Feb 8, 2021 at 1:11 PM Jose Blanco  wrote:

> Is there a way to programmatically remove incomplete deposits.  I have a
> lot I want to remove.  I can do it by login in as the user and then remove
> them, but I wonder if there is a quicker way.
>
> -Jose
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tpAZUdsyhDpgAOM7CBFVQ%2BPU2nDbjxhxZd-YRB1yScMg%40mail.gmail.com.


[dspace-tech] programmatic way to remove incomplete deposits.

2021-02-08 Thread Jose Blanco
Is there a way to programmatically remove incomplete deposits.  I have a
lot I want to remove.  I can do it by login in as the user and then remove
them, but I wonder if there is a quicker way.

-Jose

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-s0Mt7y3hryPBr%2BPPQYBQXYkaScJ24Fe55i22wjQjwqZQ%40mail.gmail.com.


Re: [dspace-tech] Consulta sobre error

2021-02-01 Thread Jose Blanco
Tienes que incluir el título en los metadatos, es obligatorio.

-Jose

On Mon, Feb 1, 2021 at 7:18 PM Alexis Gamboa  wrote:

> Buenas noches, estoy iniciando en el uso de Dspace, realice la instalación
> básica, pude crear unas comunidades y colecciones de prueba, pero a la hora
> de incluir unos items, me apareció este error: *Required metadata field
> 'dc.title' doesn't exist!*
>
> Alguno tiene idea del porqué de esta situación.
>
> Gracias
>
> -
> Alexis Gamboa
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/CAMOFNxdgQJqcKsj6-i6sE8sq4u_CpfDppteR2PoBrXgd3%2Bpw3Q%40mail.gmail.com
> 
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-uXrmK2PTD_nr1GmCE20z7-fqaiky9DFH3RQM%2Bn2RPz0w%40mail.gmail.com.


[dspace-tech] Re: changing the METS metadata file

2021-01-19 Thread Jose Blanco
I think I just found it.  I think it's in here:

AbstractAdapter.java

On Tue, Jan 19, 2021 at 1:38 PM Jose Blanco  wrote:

> I want to change the metadata file that is used by the xsl to render the
> html file.  If an item has a primary file, I just want information about
> the primary file to be in the mets.xml file.  The reason I want to make
> this change is because we have some items that contain an index.html file (
> this would be the primary file ), and a whole bunch of other files, and it
> seems to take longer to render these sorts of items.  I suspect it's
> because the number of files associated with these items is long and the
> creation of the metadata file is taking too long.  So basically it would be
> the code associated with rendering this url:
>
> metadata/handle/handl-prefix/348582/mets.xml
>
> -Jose
>
>
>
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-t7fvFMpiBm9MmpD2Ug1ga7ag%2BGO7AbxcPYe6bb9c26kA%40mail.gmail.com.


[dspace-tech] changing the METS metadata file

2021-01-19 Thread Jose Blanco
I want to change the metadata file that is used by the xsl to render the
html file.  If an item has a primary file, I just want information about
the primary file to be in the mets.xml file.  The reason I want to make
this change is because we have some items that contain an index.html file (
this would be the primary file ), and a whole bunch of other files, and it
seems to take longer to render these sorts of items.  I suspect it's
because the number of files associated with these items is long and the
creation of the metadata file is taking too long.  So basically it would be
the code associated with rendering this url:

metadata/handle/handl-prefix/348582/mets.xml

-Jose

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-sVnL8FwrsCXh2zwy%3Dbd1F03CbjWM7H4LMUZO38MBZ8NQ%40mail.gmail.com.


[dspace-tech] enabling ClamAV

2020-12-15 Thread Jose Blanco
In enabling ClamAV, I seem to be getting an authorization error on this
line:
https://github.com/DSpace/DSpace/blob/dspace-6.3/dspace-api/src/main/java/org/dspace/ctask/general/ClamScan.java#L110

And by enabling, I mean making this change to workflow-curation.xml:

 **

   **

 **


I made a local change to get this to run, but am wondering if anyone has
seen this.  I am using 6.3.

-Jose

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vhvQf7VEK9ZepurWARWaUUNYu0Q5xH8E74NA%3DwyhKyLA%40mail.gmail.com.


[dspace-tech] making an html file deposit using Mirage2

2020-12-15 Thread Jose Blanco
I was testing out uploading an item that has an index.html file with
associated files and making index.html the primary file.  Well it did
not seem to work. In the item view, it shows a list of all the files
associated with the item rather than just the index.html.  I tried it out
on the demo site and it does not seem to be working there.  Is this a known
bug?  Should I report this to the dspace github?

Here is the item on the demo site I tried out:
http://demo.dspace.org/xmlui/handle/10673/93

I did make a change to my item-view.xsl so that it would work on my site.

Thanks!
-Jose

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-sx2-%3Dh2%2B-Yf2EVjPZzOMn1bZrt-oSiFWLC4cOVVn%2Bq5A%40mail.gmail.com.


Re: [dspace-tech] SMTP over TLS Failed

2020-12-08 Thread Jose Blanco
Humberto,

I'm not sure, but from googling around I see that "You may get this error
when you are trying to send an e-mail using gmail server in java."

Try making this change:

mail.extraproperties =  mail.smtp.starttls.enable=true, \
mail.smtp.socketFactory.port=587, \
mail.smtp.socketFactory.fallback=false*, \*
*mail.smtp.ssl.trust=smtp.gmail.com
*

I saw this suggestion here:
http://javainfinite.com/error-and-solution/javax-mail-messagingexception-could-not-convert-socket-to-tls/

Maybe it's not the gmail server but the mail server you are using,  so
smtp.gmail.com might need to be *outlook.office365.com
*.

This is really just a guess.

Hope it helps.
-Jose

On Tue, Dec 8, 2020 at 10:25 AM Humberto Blanco Castillo <
hblanc...@gmail.com> wrote:

> My dspace server was working with the following configuration
>
> *mail.server = outlook.office365.com *
> *mail.server.username = myu...@mydomain.com *
> *mail.server.password = mypassword*
> *mail.server.port = 587*
> *mail.from.address = myu...@mydomain.com *
> *mail.feedback.recipient = ${mail.from.address}*
> *mail.admin = ${mail.from.address}*
> *mail.alert.recipient = ${mail.from.address}*
> *mail.registration.notify = ${mail.from.address}*
>
> *mail.extraproperties =  mail.smtp.starttls.enable=true, \*
>
> *mail.smtp.socketFactory.port=587, \*
> *mail.smtp.socketFactory.fallback=false*
>
> But a few days ago it stopped working,:
>
> *About to send test email:*
> * - To: myu...@mydomain.com *
> * - Subject: DSpace test email*
> * - Server: outlook.office365.com *
>
>
> *Error sending email:*
> * - Error: javax.mail.SendFailedException: Send failure
> (javax.mail.MessagingException: Could not convert socket to TLS
> (javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is
> disabled or cipher suites are inappropriate)))*
>
>
> the only modification its that now we are working with openjdk
> *openjdk version "1.8.0_272"*
> *OpenJDK Runtime Environment (build 1.8.0_272-b10)*
> *OpenJDK 64-Bit Server VM (build 25.272-b10, mixed mode)*
>
>
> Any knows why of this error, or giveme any ligtha about this?
>
> really appreciate your help
>
>
>
> Humberto,
>
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/f92ecb2e-d98d-4535-944a-d7b7e1eba897n%40googlegroups.com
> 
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-u3B-t_6L0FV%3DYwuPGOkSK3MRMv_Mi2_BUfDzNK1upe%3Dw%40mail.gmail.com.


Re: [dspace-tech] Recent-submissions homepage error in DSpace 6.3

2020-12-07 Thread Jose Blanco
I remember having this issue, and I think it was a migration that had not
run.  You can check your database to make sure you have a table named site:










*=> \d siteTable "public.site" Column | Type | Modifiers
+--+--- uuid   | uuid | not nullIndexes:"site_pkey"
PRIMARY KEY, btree (uuid)Foreign-key constraints:"site_uuid_fkey"
FOREIGN KEY (uuid) REFERENCES dspaceobject(uuid)*

And also, In the config area take a look at this file: *hibernate.cfg.xml*

You should have this in the file:
**

Hope this helps!
-Jose

On Mon, Dec 7, 2020 at 5:11 PM Carl Jones  wrote:

> Hi,
>
> We've upgraded from 1.8 to 6.3 a couple of months ago and are experiencing
> a similar error with the 'Recently Added' list when we try to hit the 'View
> more' link at the site homepage.  Tim Donohue mentioned this could be
> because of a missing virtual Site Object that represents our system as a
> whole.  We get the following Stack Trace (similar to what was reported by
> Donna Barber back in February of this year):
>
> Java stacktrace: java.lang.NullPointerException at
> org.dspace.app.xmlui.aspect.discovery.recentSubmissions.RecentSubmissionTransformer.setMainTitle(RecentSubmissionTransformer.java:154)
> at
> org.dspace.app.xmlui.aspect.discovery.recentSubmissions.RecentSubmissionTransformer.addBody(RecentSubmissionTransformer.java:124)
> at
> org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:234)
> at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:607) at
> org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
> at com.sun.proxy.$Proxy493.startElement(Unknown Source) at
> org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
> at
> org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
> at
> org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:251)
> at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:607)
> 
>
> I followed the suggestion to run 'bin/database info' but as far as I can
> tell the database update checks all come back as Successful.
>
> I'm attaching the stack trace and database info output.
>
> I was curious if there were any other things I might check before passing
> this onto our sysadmin for further investigation into what might cause a
> missing virtual Site object problem?
>
> Thanks,
>
> Carl
> On Wednesday, February 19, 2020 at 6:50:34 PM UTC-5
> donna@canterbury.ac.nz wrote:
>
>> Hi Tim,
>>
>>
>>
>> Thanks very much for pointing us in the right direction. We think we’ve
>> now resolved the issue by following the instructions for a post you
>> responded to in 2015.
>>
>>
>>
>> The registry update was being ignored, and when I tried to run it
>> separately, we were getting the error:
>>
>>
>>
>> Caused by: java.sql.BatchUpdateException: Batch entry 0 update
>> public.bitstreamformatregistry set description=NULL, internal='FALSE',
>> mimetype='application/vnd.openxmlformats-officedocument.wordprocessingml.document',
>> short_description=NULL, support_level=-1 where bitstream_format_id=52 was
>> aborted: ERROR: value too long for type character varying(48)
>>
>>
>>
>> Which led me to your 2015 reply to a post about the change of the
>> bitstreamformatregistry table’s mimetype column switching from 48 to 256
>> characters in DSpace 1.5. We’ve been on DSpace since 1.4, so we’ve
>> obviously been hauling this problem along for a while!
>>
>>
>>
>> After altering the column character length on the 5.6 database the
>> registry update task was initially ignored, but this time when we ran
>> [dspace]/bin/dspace database migrate ignored, it completed successfully. We
>> now have an entry in the site table, and the recent submissions are working
>> – yay!
>>
>>
>>
>> Hopefully there aren’t any other left-over issues that we haven’t
>> identified, but as far as we can tell, all is well. J
>>
>>
>>
>> Thanks again,
>> Donna
>>
>>
>>
>> *From:* Tim Donohue 
>> *Sent:* Wednesday, 19 February 2020 9:51 AM
>> *To:* Donna Barber ; DSpace Technical
>> Support 
>> *Subject:* Re: [dspace-tech] Recent-submissions homepage error in DSpace
>> 6.3
>>
>>
>>
>> Hi Donna,
>>
>> I'd recommend checking that all the Database migrations ran successfully
>> when you upgraded to 6.3.  That error seems to be returning a "null" Site
>> object on the homepage.  The Site object is a virtual object that
>> represents your site as a whole...it's created automatically in the
>> database in a table named "site".  This error seems to imply that some
>> portion of your database migration (which should have created that Site

Re: [dspace-tech] Make clickable links in DSpace 6.3 news-xmlui.xml?

2020-12-05 Thread Jose Blanco
How about this:

https://montaguearchive.org;>Return
Home


If you add *?XML* to dspace URLs you can see the xml being fed to the xsl
that makes the html.  That might give you some more ideas.

-Jose

On Sat, Dec 5, 2020 at 12:57 PM Chris Clawson 
wrote:

> Sorry if this has been already answered.
>
> Is there a simple way to place a clickable link (like "Return Home") in
> the introductory paragraph, used as the DSpace home page, running with a
> default xmlui theme?
> I am trying to edit and presume the proper place would be /[dspace
> home]/config/news-xmlui.xml
>
> I wish to link back to my wordpress site. If someone can present an
> example, then I want a clickable link to "https://montaguearchive.org;
> and the text might be a heading like " Return to Main Site".
> Thanks
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/588ebb5e-2b4a-4fc2-8a14-1c530c465863n%40googlegroups.com
> 
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-s3m_kceEvzsrUf7-z2%2BQkiQw%2BSbR9ne5Kfzi5caJOeww%40mail.gmail.com.


Re: [dspace-tech] Moving Navigation sidebar

2020-12-01 Thread Jose Blanco
Peter, I have not done this, and I'm not exactly sure what you need.  I
would use the developer tool to find out the class or the id and then
search for it  in the xsl, and css files.  You can then experiment with it.

-Jose

On Tue, Dec 1, 2020 at 4:45 PM lon...@gmail.com  wrote:

> Thanks Jose for your quick reply ! It works perfectly.
> I'm also wondering if it is possible to move the "hidden navigation bar +
> 3 lines icon on top " - when it is in Mobile (reponsive) mode to the left
> side ?
> thanks much
> -P
> On Sunday, November 29, 2020 at 7:30:00 PM UTC-6 bla...@umich.edu wrote:
>
>> Peter,
>>
>> You want to change page-structure.xsl.  You want it to look like this,
>> with navigation before the main-content:
>>
>> 
>> 
>>
>>
>> *
>>   
>>   *
>> 
>> > select="*[not(self::dri:options)]"/>
>> 
>> > name="buildFooter"/>
>> 
>> 
>> 
>> 
>>
>>
>>
>> It presently looks like this:
>>
>> 
>> 
>> 
>> > select="*[not(self::dri:options)]"/>
>> 
>> > name="buildFooter"/>
>> 
>> 
>>
>>
>> *
>>   
>>   *
>> 
>> 
>>
>>
>> Hope this helps!
>> -Jose
>>
>>
>>
>>
>> On Sat, Nov 28, 2020 at 2:31 PM lon...@gmail.com 
>> wrote:
>>
>>> Hi all,
>>> Is there a way to move the navigation sidebar from right to left for
>>> Dspace 6.3 - Mirage2?
>>>
>>> many thanks
>>> -Peter.Tran
>>>
>>> --
>>> 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 dspace-tech...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/dspace-tech/eec6aec3-bd96-43a0-899d-09cb2ce6b318n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/e8c54869-2e0b-4cb2-a1f6-b6f8574d6c92n%40googlegroups.com
> 
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-uUrgYtDUpsvx%2BBkW%3DrdBLKDwT_V6qw3LtGMBHV6HFtiA%40mail.gmail.com.


Re: [dspace-tech] re-send : How to change text alignment

2020-11-30 Thread Jose Blanco
I found this on the web.  It seems like you can make a change to
page-structure.xsl to accomplish this.

https://stackoverflow.com/questions/49643975/how-we-can-set-the-direction-to-rtl-in-languages-changes-of-dspace-digital-repos

-Jose

On Thu, Nov 26, 2020 at 3:39 AM 'Noorhafizah Mohd Akil' via DSpace
Technical Support  wrote:

> Hello everyone,
>
> May I know, how to change the text alignment to start from right (instead
> of by default it start from left).
>
> Only for *dc.description.abstractarabic* as attached below.  Thank you.
>
>
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/1fef2657-8cf0-4a6a-900e-3602a85051ean%40googlegroups.com
> 
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vUvY%3DRwBNek3MUmj7HW_xKKqDS6U0Z9PrqJpo82EskQA%40mail.gmail.com.


Re: [dspace-tech] Moving Navigation sidebar

2020-11-29 Thread Jose Blanco
Peter,

You want to change page-structure.xsl.  You want it to look like this, with
navigation before the main-content:





*
  
  *











It presently looks like this:











*
  
  *




Hope this helps!
-Jose




On Sat, Nov 28, 2020 at 2:31 PM lon...@gmail.com  wrote:

> Hi all,
> Is there a way to move the navigation sidebar from right to left for
> Dspace 6.3 - Mirage2?
>
> many thanks
> -Peter.Tran
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/eec6aec3-bd96-43a0-899d-09cb2ce6b318n%40googlegroups.com
> 
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tzBrF8WhESG4nPWpZLCm9M5q9sO3nhDfC1OHz8tpEiLQ%40mail.gmail.com.


Re: [dspace-tech] slowness when entering issn during submisison

2020-11-19 Thread Jose Blanco
Franziska,  Thank you!  That did it!

-Jose

On Thu, Nov 19, 2020 at 2:06 AM Franziska Rapp 
wrote:

> Hi Jose,
>
> Are you using the Sherpa Romeo API and this particular metadata field to
> retrieve information from the Sherpa/Romeo database? The API's old version
> is no longer available. We also had problems with our upload page. We
> deactivated the Sherpa Romeo API in dspace.cfg and that solved our problem.
>
> Best regards
> Franziska
>
>
> Am 18.11.2020 um 20:18 schrieb Jose Blanco:
>
> Using a drop down list for the user to enter different identifier types,
> when the user selects issn, and then  goes on to the file upload step, the
> system seems to process the just entered data before the upload page shows
> up, and it takes a few minutes for the upload page to show up.  The data
> entered by the user looks fine and after the deposit finishes it shows up
> fine.  But what is making it take so long when the user enters the issn.
> With any other identifier or metadata the upload page comes up quickly.  I
> have a feeling it has something to do with the solr indexing, or some other
> cofig setting that is causing this.
>
> These are the last two lines in the log file:
>
> 2020-11-18 13:27:39,626 INFO  org.dspace.content.Item @
> blan...@umich.edu:session_id=6FB1267F6BAB544CB1A7D35CCA919A53:update_item:item_id=2c4f738f-7381-4e97-9f06-1f5b6715800a
>
> 2020-11-18 13:27:39,647 INFO  org.dspace.discovery.SolrServiceImpl @
> Removed Item: TEMP-BOGUS/347222 from Index
>
>
> This is my setting in the input-forms.xml:
>
>* "identifier"*>*
>
>  **
>
>**ISSN**
>
>**issn**
>
>  **
>
>  **
>
>**PMID**
>
>**pmid**
>
>  **
>
>  **
>
>**DOI**
>
>**doi**
>
>  **
>
>
>  **
>
>**ORCID iD**
>
>**orcid**
>
>  **
>
>
>  **
>
>**ISMN**
>
>**ismn**
>
>  **
>
>  **
>
>**Gov't Doc #**
>
>**govdoc**
>
>  **
>
>  **
>
>**URI**
>
>**uri**
>
>  **
>
>  **
>
>**ISBN**
>
>**isbn**
>
>  **
>
>  **
>
>**OCLC**
>
>**oclc**
>
>  **
>
>  **
>
>**Other**
>
>**other**
>
>  **
>
>**
>
>
>
> Thank you!
> -Jose
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vf3QJGBf02yYh_H%3DMy1KB7zHpT%3DR9Nmz8mPr8ASAvAYg%40mail.gmail.com
> <https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vf3QJGBf02yYh_H%3DMy1KB7zHpT%3DR9Nmz8mPr8ASAvAYg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> --
> Franziska Rapp
> Communication and Information Center (kiz)
> Ulm University
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/f5f455d8-b95e-f76b-fb20-2769d3932c39%40uni-ulm.de
> <https://groups.google.com/d/msgid/dspace-tech/f5f455d8-b95e-f76b-fb20-2769d3932c39%40uni-ulm.de?utm_medium=email_source=footer>
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tZyAfz%3DJanz5VcrZ9D0Xy5AVNE4%3DOnrbo32uHP_5Y6eA%40mail.gmail.com.


[dspace-tech] slowness when entering issn during submisison

2020-11-18 Thread Jose Blanco
Using a drop down list for the user to enter different identifier types,
when the user selects issn, and then  goes on to the file upload step, the
system seems to process the just entered data before the upload page shows
up, and it takes a few minutes for the upload page to show up.  The data
entered by the user looks fine and after the deposit finishes it shows up
fine.  But what is making it take so long when the user enters the issn.
With any other identifier or metadata the upload page comes up quickly.  I
have a feeling it has something to do with the solr indexing, or some other
cofig setting that is causing this.

These are the last two lines in the log file:

2020-11-18 13:27:39,626 INFO  org.dspace.content.Item @ blan...@umich.edu:
session_id=6FB1267F6BAB544CB1A7D35CCA919A53:update_item:item_id=2c4f738f-7381-4e97-9f06-1f5b6715800a

2020-11-18 13:27:39,647 INFO  org.dspace.discovery.SolrServiceImpl @
Removed Item: TEMP-BOGUS/347222 from Index


This is my setting in the input-forms.xml:

   **

 **

   **ISSN**

   **issn**

 **

 **

   **PMID**

   **pmid**

 **

 **

   **DOI**

   **doi**

 **


 **

   **ORCID iD**

   **orcid**

 **


 **

   **ISMN**

   **ismn**

 **

 **

   **Gov't Doc #**

   **govdoc**

 **

 **

   **URI**

   **uri**

 **

 **

   **ISBN**

   **isbn**

 **

 **

   **OCLC**

   **oclc**

 **

 **

   **Other**

   **other**

 **

   **



Thank you!
-Jose

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vf3QJGBf02yYh_H%3DMy1KB7zHpT%3DR9Nmz8mPr8ASAvAYg%40mail.gmail.com.


Re: [dspace-tech] Mirage error

2020-11-18 Thread Jose Blanco
I had the same issue.  Take a look at this thread:
https://groups.google.com/g/dspace-tech/c/jI45dSt_QA8/m/9uW_GG3-AwAJ

Basically, you need to use "npm install --no-bin-links". I changed:

dspace/modules/xmlui-mirage2/pom.xml in two places, replacing "npm install"

- install
+ install --no-bin-links

This fixed the issue.

-Jose

On Tue, Nov 17, 2020 at 4:02 PM José Geraldo  wrote:

> Maybe that can help you:
>
>
> https://github.com/DSpace/DSpace/pull/2315/files#diff-5576a54a7c1a9188bf7f34514ce72078
>
>
> https://jira.lyrasis.org/browse/DS-4115?focusedCommentId=62075=com.atlassian.jira.plugin.system.issuetabpanels%253Acomment-tabpanel#comment-62075
>
> Em ter., 17 de nov. de 2020 às 14:58, mba...@gmail.com 
> escreveu:
>
>> I am trying to use the Mirage 2 theme but i get the error below.
>>
>>- I am using Ubuntu 18.04.
>>- I am running dspace 6.3
>>- I have tried running mvn as non root user
>>- I have changed git to https
>>
>>
>>
>> syntax error: File to impooort not found or unreadable:
>> ../vendeor/bootsrap-sass-official/assets/stylesheets/bootstrap Load paths
>> comapss::SpriteImporter
>> /home/dspace/source/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-core-1.0.3/stylesheets
>> on line 16 of styles/main.scss
>>
>>
>> --
>> 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 dspace-tech+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/dspace-tech/1530095a-d4d4-4d86-8ec5-b115f0e7beb5n%40googlegroups.com
>> 
>> .
>>
>
>
> --
> At.te,
>
> José Geraldo
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/CANP4ikQ1_KQtBwEP5eqO1dvTZNo2hwjdzSz7SkzfZnzi6670Yg%40mail.gmail.com
> 
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-uYZ5KP70x7NzYFHk-Ng8grG%3DwDP%2BoHU3oaAqDiuHktiA%40mail.gmail.com.


Re: [dspace-tech] Dspace 6.2 Solr statistics

2020-11-10 Thread Jose Blanco
John,
I was having trouble getting my 6.3 stats to show up.  It may be the same
issue you are having.  Take a look at this thread:

https://groups.google.com/g/dspace-tech/c/v2RAdKuJmB8/m/Pdbv_85dAQAJ

I hope this helps.
-Jose

On Mon, Nov 9, 2020 at 3:00 PM John S.  wrote:

> Hi,
>
> i think that i miss some fundamental understanding of the solr statistics
> mechanims...
> we have a 6.2 dspace installation with solr running and some solr data in
> the correct, i think, location, i.e [dspace]/solr/statistics
> However the UI of Administration->Statistics shows that there are
> currently no reports.
> In many forums i have found the solution to run commands such as
> [dspace]/bin/dspace stat-monthly, stat-general, stat-report-monthly, etc.
> And indeed when i do so the Administration->Statistics UI shows some
> results.
> BUT is this the way that solr is supposed to be working? Isn't this the
> old way of generating statistics from the dspace log files?Can someone
> clarify this point?
> And if this is the case how is the proper way for solr generated
> statistics to work?
>
> Best regards,
>
> John Sarris,
> IT Admin,
> Central Library,
> National Technical University of Athens,
> Athens, Greece
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/aa1ec078-f469-4d98-a075-6cc2f0c99698n%40googlegroups.com
> 
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-u2T9ffkyue1HY_rLTKns0%2Boz%2Btd51zDp_8EWvPEHwizg%40mail.gmail.com.


Re: [dspace-tech] Submitter with NO Admin rights can Edit Item & Edit Collection

2020-11-03 Thread Jose Blanco
Kelley,

What happens when you go to "Edit Collection", and then in the "Assign
Roles" tab you click on "Edit Authorization policies directly".  Do you see
an Action of ADMIN with a group of Anonymous?  That would cause what you
are seeing.

-Jose

On Tue, Nov 3, 2020 at 12:26 PM Kelley Canon  wrote:

> Jose -
>
> Thanks for your input.  He is a submitter but not an admin in any
> community or collection.
>
> We have discovered that this issue is happening in any collection with
> anonymous read access that was created since we upgraded to dSpace 6.3
> about a year ago.  It is not user-specific as we first thought.  So it's a
> big concern except that we have not created many new collections.
>
> We're wondering if there are configuration changes related to creating
> collections or new defaults that came about in 6.3 that could cause this.
> Anyone else experience this or know of a bug fix for this?  I'm searching
> documentation but have not found anything that seems to be relevant yet.
>
> Kelley Canon
> Language & Culture Archives
> REAP Administrator
> SIL International
>
>
> On Tue, Nov 3, 2020 at 9:15 AM Jose Blanco  wrote:
>
>> I see.  This is strange.  I wonder if the user belongs to a group that is
>> an admin or even submitter to the collection?
>>
>> When creating admins and submitters to a collection, you can choose
>> individuals or groups.  Perhaps this user belongs to a group that is part
>> of Admins or Submitters to that collection?
>>
>> -Jose
>>
>> On Mon, Nov 2, 2020 at 9:50 PM Kelley Canon  wrote:
>>
>>> Jose -
>>>
>>> This user is not an admin at all - he is not a member of the Admin group
>>> for the collection or the community it is in.
>>>
>>> I should not have said "partial".  My mistake.  I was comparing what he
>>> sees to what I see as a dSpace system administrator.
>>>
>>> He should not have any admin access at all.  No editing of items or the
>>> collection.
>>>
>>> Thank you,
>>> Kelley Canon
>>> Language & Culture Archives
>>> REAP Administrator
>>> SIL International
>>>
>>>
>>> On Mon, Nov 2, 2020 at 7:56 PM Jose Blanco  wrote:
>>>
>>>> Kelley,  I don't see the problem.  If you are an admin and you have
>>>> selected a collection, you should only see:
>>>>
>>>> "Edit Collection" and "Item Mapper"
>>>>
>>>> and if you are viewing and item, you should only see:
>>>>
>>>> "Edit this item"
>>>>
>>>> Not sure what the problem is.  What were you expecting?
>>>>
>>>> -Jose
>>>>
>>>>
>>>> On Mon, Nov 2, 2020 at 6:22 PM kelley...@sil.org 
>>>> wrote:
>>>>
>>>>> Hi all -
>>>>>
>>>>> We're running dSpace 6.3 using XMLUI and have run into a situation we
>>>>> have not seen before.  A user with no Admin permissions at the collection
>>>>> or community level has a *PARTIAL set of Admin tasks on his Context
>>>>> menus*.  This only happens in ONE particular collection.
>>>>>
>>>>> At the collection level he has "Edit Collection" and "Item Mapper"
>>>>> available.
>>>>>
>>>>> At the item level he has "Edit this item".
>>>>>
>>>>> Has anyone encountered this or know what else besides the community
>>>>> and collection authorizations I need to check?
>>>>>
>>>>> Thank you,
>>>>> Kelley Canon
>>>>> SIL International
>>>>>
>>>>> --
>>>>> 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 dspace-tech+unsubscr...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/dspace-tech/c11d4b58-de3c-45b0-91bb-ed436715cea2n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/dspace-tech/c11d4b58-de3c-45b0-91bb-ed436715cea2n%40googlegroups.com?utm_medium=ema

Re: [dspace-tech] DOI functionality

2020-11-03 Thread Jose Blanco
Michael, If you can give me what you have done that would be very helpful.

Thank you!
-Jose

On Tue, Nov 3, 2020 at 11:18 AM Michael Plate <
pl...@bibliothek.uni-kassel.de> wrote:

> Hi Jose,
>
> Am 03.11.20 um 16:47 schrieb Jose Blanco:
> > I have configured our test area to use DataCite to mint doi using the
> > dspace documentation, and everything is working fine.
> […]
> > Any suggestions about how
> > to accomplish this with the out of box dspace 6.3?
>
> No, not out of the box (we use 5.10)
> We had the same requirements: get a PI before submit.
>
> Solution is fetching the DOI by a web service and pre-filling the field
> in the first step, so the submitter can note it down an put it inside
> their file.
> Save the submission, after that there is a DOI, so don't fetch an new
> one on reopening (we have one user where this not works, gets a new one
> every time, needs further investigation).
>
> Disadvantage: you need your own scripts to register with DataCite…
>
> I can give you the snippet for XMLUI, if you like.
>
> Michael
>
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/10b8e751-2c6e-9be7-6f34-0f006f4a4e5f%40bibliothek.uni-kassel.de
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tk7bmpUAsA_oKWXMPuw4HmsKxbZUYCap24S%3DhKhyUv8g%40mail.gmail.com.


Re: [dspace-tech] DOI functionality

2020-11-03 Thread Jose Blanco
I have configured our test area to use DataCite to mint doi using the
dspace documentation, and everything is working fine.  I see that after the
cronjobs run, a doi is created and I can see it on the item view page. But
we have a use case for which this approach does not quite work.  Ideally we
would like the doi to be minted during the deposit of the item, and before
the user uploads the files.  This way the user can add the doi to the pdf
file before uploading it.  I know we could probably use a header page to
display the doi once it is generated, but ideally the user wishes to have
the doi value so that he/she can add it directly to his/her file before
uploading it.  Any suggestions about how to accomplish this with the out of
box dspace 6.3?

Thank you!
-Jose

On Fri, Oct 9, 2020 at 2:43 PM Jose Blanco  wrote:

> Thanks, Mark. I had read this, but was still a bit confused.  I think now
> after reading it over, I realize that the DOI creation/management is done
> by the cron jobs and not during the deposit process.
>
> Thank you!
> -Jose
>
> On Fri, Oct 9, 2020 at 10:51 AM Mark H. Wood  wrote:
>
>> On Thu, Oct 08, 2020 at 11:40:37AM -0400, Jose Blanco wrote:
>> > I wonder if someone that has the DOI functionality in 6.3 setup could
>> help
>> > me better understand it before I contact DataCite.
>> >
>> > I kind of set it up in my test environment, but without a valid username
>> > and password, so I can see from the log file that after the metadata is
>> > entered the code tries to create a DOI ( this is just my assumption ).
>> I'm
>> > wondering what happens at this point.  Is the user presented with a DOI
>> > before he/she uploads files.  Ideally we would like the DOI to be
>> presented
>> > to the user, so that he/she can then add it to the file to be uploaded
>> > before the deposit completes.  Is this what happens? Or is the DOI
>> created
>> > after the deposit completes.  Also, is the value of the DOI stored in
>> > dc.identifier.doi?
>>
>> Much of this is described in:
>>
>>   https://wiki.lyrasis.org/display/DSDOC6x/DOI+Digital+Object+Identifier
>>
>> In particular, the process by which DOIs are generated and registered
>> is described in:
>>
>>
>> https://wiki.lyrasis.org/display/DSDOC6x/DOI+Digital+Object+Identifier#DOIDigitalObjectIdentifier-CommandLineInterface
>>
>> The DOI generated by the DataCite provider is stored in
>> 'dc.identifier.uri'.  You can find the code for this in
>>
>> 'dspace-api/src/main/java/org/dspace/identifier/DOIIdentifierProvider.java'.
>>
>> Please ignore the section on the EzID provider, which is obsolete.
>>
>> --
>> Mark H. Wood
>> Lead Technology Analyst
>>
>> University Library
>> Indiana University - Purdue University Indianapolis
>> 755 W. Michigan Street
>> Indianapolis, IN 46202
>> 317-274-0749
>> www.ulib.iupui.edu
>>
>> --
>> 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 dspace-tech+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/dspace-tech/20201009145135.GA13687%40IUPUI.Edu
>> .
>>
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-upmR_fnTmFEAvt3Y_GqyztMKJy0x-u9UD0UhEg4CSWFg%40mail.gmail.com.


Re: [dspace-tech] Submitter with NO Admin rights can Edit Item & Edit Collection

2020-11-03 Thread Jose Blanco
I see.  This is strange.  I wonder if the user belongs to a group that is
an admin or even submitter to the collection?

When creating admins and submitters to a collection, you can choose
individuals or groups.  Perhaps this user belongs to a group that is part
of Admins or Submitters to that collection?

-Jose

On Mon, Nov 2, 2020 at 9:50 PM Kelley Canon  wrote:

> Jose -
>
> This user is not an admin at all - he is not a member of the Admin group
> for the collection or the community it is in.
>
> I should not have said "partial".  My mistake.  I was comparing what he
> sees to what I see as a dSpace system administrator.
>
> He should not have any admin access at all.  No editing of items or the
> collection.
>
> Thank you,
> Kelley Canon
> Language & Culture Archives
> REAP Administrator
> SIL International
>
>
> On Mon, Nov 2, 2020 at 7:56 PM Jose Blanco  wrote:
>
>> Kelley,  I don't see the problem.  If you are an admin and you have
>> selected a collection, you should only see:
>>
>> "Edit Collection" and "Item Mapper"
>>
>> and if you are viewing and item, you should only see:
>>
>> "Edit this item"
>>
>> Not sure what the problem is.  What were you expecting?
>>
>> -Jose
>>
>>
>> On Mon, Nov 2, 2020 at 6:22 PM kelley...@sil.org 
>> wrote:
>>
>>> Hi all -
>>>
>>> We're running dSpace 6.3 using XMLUI and have run into a situation we
>>> have not seen before.  A user with no Admin permissions at the collection
>>> or community level has a *PARTIAL set of Admin tasks on his Context
>>> menus*.  This only happens in ONE particular collection.
>>>
>>> At the collection level he has "Edit Collection" and "Item Mapper"
>>> available.
>>>
>>> At the item level he has "Edit this item".
>>>
>>> Has anyone encountered this or know what else besides the community and
>>> collection authorizations I need to check?
>>>
>>> Thank you,
>>> Kelley Canon
>>> SIL International
>>>
>>> --
>>> 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 dspace-tech+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/dspace-tech/c11d4b58-de3c-45b0-91bb-ed436715cea2n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/dspace-tech/c11d4b58-de3c-45b0-91bb-ed436715cea2n%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-t9%3DYM%2B2x4e1tLnt0RLC%2BvxRNzzNGAeFb3ZCBGui1xSAQ%40mail.gmail.com.


Re: [dspace-tech] Submitter with NO Admin rights can Edit Item & Edit Collection

2020-11-02 Thread Jose Blanco
Kelley,  I don't see the problem.  If you are an admin and you have
selected a collection, you should only see:

"Edit Collection" and "Item Mapper"

and if you are viewing and item, you should only see:

"Edit this item"

Not sure what the problem is.  What were you expecting?

-Jose


On Mon, Nov 2, 2020 at 6:22 PM kelley...@sil.org 
wrote:

> Hi all -
>
> We're running dSpace 6.3 using XMLUI and have run into a situation we have
> not seen before.  A user with no Admin permissions at the collection or
> community level has a *PARTIAL set of Admin tasks on his Context menus*.
> This only happens in ONE particular collection.
>
> At the collection level he has "Edit Collection" and "Item Mapper"
> available.
>
> At the item level he has "Edit this item".
>
> Has anyone encountered this or know what else besides the community and
> collection authorizations I need to check?
>
> Thank you,
> Kelley Canon
> SIL International
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/c11d4b58-de3c-45b0-91bb-ed436715cea2n%40googlegroups.com
> 
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-sv_E2tgMPe5oA3y8cpAWWf1rdB2m646gDaN20x_UT-qA%40mail.gmail.com.


Re: [dspace-tech] Thumbnails not showing in browse list

2020-11-01 Thread Jose Blanco
Hi Peter, For that record that has a pptx file, do you see a generic
thumbnail, or do you see nothing?

I think if it can't create a thumbnail, then it puts up a generic
thumbnail.  You can go to the item that has the pptx file and select "Edit
Item" and see what it has for files.  If it creates a thumbnail it will
show up in the files tab.  See if that can give you a clue as to what is
happening.  It may be that for pptx, it can't create a thumbnail, or
creates an empty file.

-Jose

On Sun, Nov 1, 2020 at 4:32 PM lon...@gmail.com  wrote:

> hi Jose,
> I have both set to True in the dspace.cfg file. It only happens on one
> record which uploaded with *.pptx  files. The rest are display correctly in
> the Browse list and simple item view.
> any suggestion?
> thanks
> -Peter
>
> On Thursday, October 29, 2020 at 8:36:41 PM UTC-5 bla...@umich.edu wrote:
>
>> This is a configuration parameter.  Make sure this is set to true in
>> dspace.cfg
>>
>> webui.browse.thumbnail.show = true
>>
>> You can also control whether the thumbnail shows up on the item view page:
>>
>> webui.item.thumbnail.show = true
>>
>> -Jose
>>
>> On Thu, Oct 29, 2020 at 9:28 PM lon...@gmail.com 
>> wrote:
>>
>>> hi all,
>>> I'm running Dspace 6.3 and I have an item that  thumbnail is not showing
>>> in Browse list. However the thumbnail does appear correctly in Simple Item
>>> View.
>>> thanks for your help.
>>> -Peter
>>>
>>> --
>>> 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 dspace-tech...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/dspace-tech/1e9ed405-94c2-4f85-8bb3-b0f98de51948n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/41e29967-e469-41d2-b6aa-ff338e2c89e8n%40googlegroups.com
> 
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tT%3DjE9_ufpfnNpbkqOqbMwkDWHR4eVk07UOezgsfDo4A%40mail.gmail.com.


Re: [dspace-tech] Thumbnails not showing in browse list

2020-10-29 Thread Jose Blanco
This is a configuration parameter.  Make sure this is set to true in
dspace.cfg

webui.browse.thumbnail.show = true

You can also control whether the thumbnail shows up on the item view page:

webui.item.thumbnail.show = true

-Jose

On Thu, Oct 29, 2020 at 9:28 PM lon...@gmail.com  wrote:

> hi all,
> I'm running Dspace 6.3 and I have an item that  thumbnail is not showing
> in Browse list. However the thumbnail does appear correctly in Simple Item
> View.
> thanks for your help.
> -Peter
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/1e9ed405-94c2-4f85-8bb3-b0f98de51948n%40googlegroups.com
> 
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-sU8%2BjG%3DxNQ-8YmqWPQtNejfv9x5J70eu4REQafshgF9Q%40mail.gmail.com.


Re: [dspace-tech] dspace metadata fields

2020-10-29 Thread Jose Blanco
If I understand correctly, you want to bring all this data together under a
new metadata?  So you could create a new metadata, lets say:

metadata.all

Then I would write a script that accesses the database and gathers the data
and prepares the data to store in metadata.all.  I would use the itemupdate
to get the new metadata in the repository:

https://wiki.lyrasis.org/display/DSDOC6x/Updating+Items+via+Simple+Archive+Format

This all seems a little strange to me.  I wonder what your end goal is
here.  You might not need to do this.

-Jose


On Thu, Oct 29, 2020 at 3:16 AM sunit...@gmail.com 
wrote:

> Dear all
>
> Our metadata in dspace is scattered under different following metadata
> fields.
>
> How can we club together such data in one go.
>
> dc.contributor.advisor
> dc.contributor.advisor[]
> dc.contributor.advisor[en_US]
> dc.contributor.author
> dc.contributor.author[]
> dc.contributor.author[en]
> dc.contributor.author[en_US]
> dc.date.accessioned
> dc.date.accesioned[]
> dc.date.accessioned[en_US]
> dc.date.available...
>
> reg
>
> Sunita Barve
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/e9281b11-0b9a-4241-bda1-4e879e598b6en%40googlegroups.com
> 
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vdgWoJeEa_rsLFfboSAFv23%3DDKtLXTAyy0%3Dydb_9qEhA%40mail.gmail.com.


Re: [dspace-tech] MaxMind GeoLite2-City.mmdb errors

2020-10-27 Thread Jose Blanco
I'm not sure. I have 6.3 and Mirage2 and have the file here:
[dspace]/config/GeoLite2-City.mmdb

I guess that would be an easy thing to test.

-Jose

On Mon, Oct 26, 2020 at 4:11 PM Graham Faulkner <
graham.faulk...@uwaterloo.ca> wrote:

> Hi there,
>
> This question relates to DSpace 5.10 (XML, Mirage 2) running on Ubuntu
> 16.04.7 LTS.
>
> Our logs at /home/dspace/dspace/log/ contain error messages like the
> following.
>
> ERROR org.dspace.statistics.SolrLogger @ Unable to get location of
> request:  The MaxMind DB file's data section contains bad data: invalid
> size of double.
> ERROR org.dspace.statistics.SolrLogger @ Unable to get location of
> request:  Unexpected data type returned. The GeoIP2 database may be corrupt.
> ERROR org.dspace.statistics.SolrLogger @ Unable to get location of
> request:  Something went horribly wrong in the decoder. An extended type
> resolved to a type number < 8 (7)
> ERROR org.dspace.statistics.SolrLogger @ Unable to get location of
> request:  The MaxMind DB file's data section contains bad data: invalid
> size of double.
>
> I made sure the mmdb file is working as expected, using the MaxMind tools
> https://github.com/maxmind/mmdbinspect and
> https://github.com/maxmind/mmdbverify.
>
> The config at dspace/config/modules/usage-statistics.cfg set the db's
> location to /usr/share/GeoIP/GeoLite2-City.mmdb. Would it need to be at
> [dspace]/config/GeoLite2-City.mmdb instead?
>
> Cheers,
> Graham
>
>
>
> Anyone have some pointers in the right direction on how to fix these
> errors?
>
>
>
>
> -
> Graham Faulkner
> Web Developer / Programmer
> Digital Initiatives, Library
> University of Waterloo
> Waterloo, Ontario N2L 3G1 CANADA
> 519-888-4567 x42461
> graham.faulk...@uwaterloo.ca
> 
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/YTOPR0101MB18994C57832F94099458CA0188190%40YTOPR0101MB1899.CANPRD01.PROD.OUTLOOK.COM
> 
> .
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tEg2vJnWXZR3x8vM7_JDP6H-h6MdZiE13pSfkAqJXLmg%40mail.gmail.com.


Re: [dspace-tech] Error - after ran filter-media command

2020-10-22 Thread Jose Blanco
Not sure how to advice you on this, but you are not alone:
https://groups.google.com/g/dspace-tech/c/rFerEopaAjE/m/U_hBQS9PFwAJ

So the work around discussed in that thread was to remove the txt file, and
re-index discovery.  Also when you run filter-media next time you can tell
it to skip this item with the skip option ( -s ).  For more details on
that, look here:

https://wiki.lyrasis.org/display/DSDOC6x/Mediafilters+for+Transforming+DSpace+Content

-Jose

On Thu, Oct 22, 2020 at 1:14 PM lon...@gmail.com  wrote:

> Hi,
>
> I'm having a very strange issue with this submission. I've completed
> posting it. Everything went smooth. It showed up in the "Recent add" and
> the author collections. However, when I ran the command "dspace
> filter-media -v -i /1847"  for the thumbnail to convert and display.
>
> My submission went disappeared in both "Recent add" and author collection
> sections.
>
> Its still existing when I click on the handle address but not displays
> anywhere else.
>
> I found the error in dspace.log: - please see below
>
> Any helps to fix it?
>
> many thanks
>
> -P
>
> ERROR org.dspace.discovery.SolrServiceImpl @ Error while writing item to
> discovery index: /1847 message:org.apache.tika.exception.TikaException:
> Failed to parse an email message
>
> org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
> org.apache.tika.exception.TikaException: Failed to parse an email message
>
> at
> org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:552)
>
> at
> org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
>
> at
> org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
>
> at
> org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:124)
>
> at
> org.dspace.discovery.SolrServiceImpl.writeDocument(SolrServiceImpl.java:748)
>
> at
> org.dspace.discovery.SolrServiceImpl.buildDocument(SolrServiceImpl.java:1429)
>
> at
> org.dspace.discovery.SolrServiceImpl.indexContent(SolrServiceImpl.java:230)
>
> at org.dspace.discovery.IndexEventConsumer.end(IndexEventConsumer.java:170)
>
> at org.dspace.event.BasicDispatcher.dispatch(BasicDispatcher.java:147)
>
> at org.dspace.core.Context.commit(Context.java:390)
>
> at
> org.dspace.app.xmlui.aspect.administrative.FlowItemUtils.processPublicItem(FlowItemUtils.java:361)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:498)
>
> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
>
> at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
>
> at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3237)
>
> at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394)
>
> at
> org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
>
> at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
>
> at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
>
> at
> org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:160)
>
> at org.mozilla.javascript.Context.call(Context.java:538)
>
> at
> org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1833)
>
> at
> org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1803)
>
> at
> org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:698)
>
> at
> org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:94)
>
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
>
> at
> org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
>
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
>
> at
> org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
>
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
>
> at
> org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:82)
>
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
>
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
>
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
>
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)
>
> at
> 

Re: [dspace-tech] Altmetrics on dspace 6.3-Mirage2

2020-10-22 Thread Jose Blanco
I think that functionality is configurable.  Experiment with these
settings, especially the second:

# Possible values: true
#altmetric.noScore =

# Possible values: true
#altmetric.hideNoMentions =

On Thu, Oct 22, 2020 at 12:23 PM lon...@gmail.com  wrote:

> hi Jose,
> I modified the altmetrics.cfg as you suggested. So if there is no match
> handle OR Doi then the altmetric donnut won't show up at all correct?  I
> will look more into the Issues-322.
> thanks
> -P
>
> On Thursday, October 22, 2020 at 11:15:43 AM UTC-5 al...@vt.edu wrote:
>
>> My understanding is that you have to set Altmetrics to match on Handle
>> (dc.identifer.uri) OR DOI (dc.identifier.doi). See
>> https://github.com/VTUL/vtechworks/issues/322 for a discussion.
>>
>> On Wednesday, October 21, 2020 at 5:42:12 PM UTC-4 bla...@umich.edu
>> wrote:
>>
>>> I think if you enable it, it uses the doi stored in identifier.uri ( but
>>> this field is configurable ).
>>>
>>> altmetric.enabled = true
>>>
>>> altmetrics.field = dc.identifier.uri
>>>
>>> On Wed, Oct 21, 2020 at 5:38 PM Jose Blanco  wrote:
>>>
>>>> I'm so sorry, I just realized that 6.3 has altmetrics functionality
>>>> built in, so you should be able to do it without my change.
>>>>
>>>> I see there is the altmetrics.cfg, as you pointed out.  I would try to
>>>> config using that file.  I have not used it, so not quite sure how to
>>>> advice.
>>>>
>>>>
>>>>
>>>> On Wed, Oct 21, 2020 at 5:31 PM Jose Blanco  wrote:
>>>>
>>>>> Not all dois have altmetrics data, and if that is the case you don't
>>>>> get the donut, so perhaps the DOI you are experimenting with does not have
>>>>> counts.  To test, put this in for identifier.doi
>>>>> 10./ele.12286
>>>>> and see what happens.
>>>>>
>>>>> Note that for altmetrics, this attribute data-hide-less-than="1" indicates
>>>>> not to show the donut if there is not at least one hit in altmetrics. I
>>>>> think if you remove this, you should get a donut.
>>>>>
>>>>> Debugging the xsl can be tricky.  Go to the webapp area and open
>>>>> item-view.xsl for Mirage2. You can edit that file and see changes show up
>>>>> instantaneously ( no need to rebuild dspace ).
>>>>>
>>>>> Make sure the code I sent you is there. Experiment by writing some
>>>>> junk text in there, save the file and see it shows up.  I am assuming you
>>>>> are not on a live system but in some development area.
>>>>>
>>>>> -Jose
>>>>>
>>>>> On Wed, Oct 21, 2020 at 5:06 PM lon...@gmail.com 
>>>>> wrote:
>>>>>
>>>>>> Hi Jose,
>>>>>> Thanks  for your quick reply! I've followed your instructions and
>>>>>> added your codes in the two files. But after recompiled and started up
>>>>>> Dspace. It didn't show any altmetrics donut in the quick item-view page
>>>>>> that has DOI information. Where can I start checking for error? I 
>>>>>> couldn't
>>>>>> find anything in Dspace.log. Do I need to make any change in 
>>>>>> altmetrics.cfg
>>>>>> file?
>>>>>>
>>>>>> Please advise,
>>>>>> -P
>>>>>>
>>>>>> On Wednesday, October 21, 2020 at 1:20:06 PM UTC-5 bla...@umich.edu
>>>>>> wrote:
>>>>>>
>>>>>>> I did not find anything out of the box.  This is how I added
>>>>>>> altmetrics *AND* dimensions:
>>>>>>>
>>>>>>> in  Mirage2/xsl/core/page-structure.xsl
>>>>>>>
>>>>>>> right after:
>>>>>>>
>>>>>>> else
>>>>>>>
>>>>>>> return true;
>>>>>>>
>>>>>>> }
>>>>>>>
>>>>>>> **
>>>>>>>
>>>>>>>
>>>>>>> Add this:
>>>>>>>
>>>>>>>
>>>>>>> **
>>>>>>>
>>>>>>>*<*xsl:attribute name="src"*>*
>>>>>>>
>>>>>>>   *<

  1   2   3   >