[dspace-tech] Build failure for installing Mirage 2 in Dspace...Cannot run program "npm"

2020-01-31 Thread Yerodin P

Good Day all,

Before I post for help with my problem, here are the system specifics on 
which I am running DSpace v6.3:

- Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz, 2 cores, 4GB RAM
- Ubuntu Server 18.04.2 LTS
- PostgreSQL v10.10
- OpenSSH_7.6
- Tomcat7 in one instance and Tomcat8 in another. 
- javac 1.8.0_242
- openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-8u242-b08-0ubuntu3~18.04-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)

- Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 1.8.0_242, vendor: Private Build, runtime: 
/usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-76-generic", arch: "amd64", family: 
"unix"


- Git version 2.17.1
- $ rvm requirements
Checking requirements for ubuntu.
Requirements installation successful.

- Compass successfully installed
- Ruby-2.6.3 installed.
- home/useraccount/.nvm/versions/node/v6.5.0/lib
├── bower@1.8.8
├── grunt@1.0.4
├── grunt-cli@1.3.2

Please note:
The standard Mirage XMLUI theme works fine for me. 
I have been able as a DSpace Admin, to do such things as batch upload of 
files and execute search statistics.


*MY DSPACE PROBLEM*

I was able to successfully:

- load the pre-requisites for Mirage2
- edit [dspace-source]/dspace/config/xmlui.xconf  to uncomment the regular 
Mirage theme and add:


- make adjustments to the file 
[dspace-source]/dspace-6.3-release/dspace/modules/xmlui-mirage2//pom.xml
where I changed the version of the dependencies to reflect what was 
actually loaded.

However, when I eventually ran:
$ mvn -Dmirage2.on=true -Dmirage2.deps.included=false clean package

Even though the directory

/build/dspace-6.3-release/dspace/modules/xmlui-mirage2/target/themes/  

..does exist, I got the following error message and am temporarily stuck at 
this part of the Mirage2 installation:

[INFO] 

[INFO] Reactor Summary for DSpace Parent Project 6.3:
[INFO]
[INFO] DSpace Parent Project .. SUCCESS [ 
29.677 s]
[INFO] DSpace Addon Modules ... SUCCESS [  
0.019 s]
[INFO] DSpace Kernel :: Additions and Local Customizations  SUCCESS [01:42 
min]
[INFO] DSpace XML-UI Mirage2 Theme :: Local Customisations  FAILURE [ 
49.864 s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations  SKIPPED
[INFO] DSpace JSP-UI :: Local Customizations .. SKIPPED
[INFO] DSpace RDF :: Local Customizations . SKIPPED
[INFO] DSpace REST :: Local Customizations  SKIPPED
[INFO] DSpace SWORD :: Local Customizations ... SKIPPED
[INFO] DSpace SWORD v2 :: Local Customizations  SKIPPED
[INFO] DSpace SOLR :: Local Customizations  SKIPPED
[INFO] DSpace OAI-PMH :: Local Customizations . SKIPPED
[INFO] DSpace Assembly and Configuration .. SKIPPED
[INFO] 

[INFO] BUILD FAILURE
[INFO] 

[INFO] Total time:  03:02 min
[INFO] Finished at: 2020-01-30T16:05:17-04:00
[INFO] 

[ERROR] Failed to execute goal 
com.soebes.maven.plugins:iterator-maven-plugin:0.3:iterator (default) on 
project xmlui-mirage2: Command execution failed.: Cannot run program "npm" 
(in directory 
"/build/dspace-6.3-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2"):
 
error=2, No such file or directory -> [Help 1]

Your suggestions on moving forward are welcome.

Yerodin P
DSpace newbie.

-- 
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/feb2a656-28c6-4753-bc9f-0338ab7f7c73%40googlegroups.com.


Re: [dspace-tech] CORS - Cross Origin Request Blocked

2020-01-31 Thread Tim Donohue
Hi,

We'd need more info on how you are trying to run DSpace 7 in Docker.  Locally, 
I use the DSpace 7 Docker setup on a daily basis (to test out new PRs, etc) and 
it should be working fine.  However, there's always a chance that you've hit on 
a bug that I've yet to notice 

In any case, please make sure you are following the Docker instructions in the 
official DSpace 7 codebase.  See this README: 
https://github.com/DSpace/DSpace/blob/master/dspace/src/main/docker-compose/README.md
  (There's also a corresponding README in the Angular UI project: 
https://github.com/DSpace/dspace-angular/blob/master/docker/README.md)

If you are looking for more step-by-step instructions, see this page: 
https://wiki.lyrasis.org/display/DSPACE/Try+out+DSpace+7

If you are still hitting issues, let us know what steps you are trying so that 
we can try to reproduce it locally.

Tim

From: dspace-tech@googlegroups.com  on behalf of 
Julien Cochennec 
Sent: Friday, January 31, 2020 3:19 AM
To: DSpace Technical Support 
Subject: [dspace-tech] CORS - Cross Origin Request Blocked

Hi,
I'm a DSpace noob, trying to run DSpace 7 using this doc.
Everything worked fine except this point, when I look at locahost:3000 I get 
the infinite "loading" gif, and when I toggle the web developer tools it says 
that request to the backend localhost:8080 are blocked because they're cross 
origin requests and the CORS header is missing. How can I fix that please?
Thanks for your help.

--
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/91efcbdc-d0e9-4164-ba57-02b5f65cf308%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/DM5PR2201MB114817FCB1943304E16AAF46ED070%40DM5PR2201MB1148.namprd22.prod.outlook.com.


Re: [dspace-tech] CORS - Cross Origin Request Blocked

2020-01-31 Thread mk mk
Hello julien,
I am also a noob :) I started to learn dspace about one week ago.
Unfortunately, i can not a solution for your problem.
However i can recommend the documentation that i currently use.
Good luck.

https://wiki.lyrasis.org/plugins/servlet/mobile?contentId=68064752#content/view/68064752

https://www.dropbox.com/s/7j1y2tlbbd195pa/DSpace-Manual.pdf?dl=0




31 Oca 2020 Cum 16:55 tarihinde Julien Cochennec  şunu
yazdı:

> Hi,
> I'm a DSpace noob, trying to run DSpace 7 using this doc.
> Everything worked fine except this point, when I look at locahost:3000 I
> get the infinite "loading" gif, and when I toggle the web developer tools
> it says that request to the backend localhost:8080 are blocked because
> they're cross origin requests and the CORS header is missing. How can I fix
> that please?
> Thanks for your help.
>
> --
> 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/91efcbdc-d0e9-4164-ba57-02b5f65cf308%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/CAM3BGAb%2B2NyeHFcr%3DYrXUXEaXDNFCAvcYoYsrsPWEXaXuV_caA%40mail.gmail.com.


[dspace-tech] CORS - Cross Origin Request Blocked

2020-01-31 Thread Julien Cochennec
Hi,
I'm a DSpace noob, trying to run DSpace 7 using this doc.
Everything worked fine except this point, when I look at locahost:3000 I 
get the infinite "loading" gif, and when I toggle the web developer tools 
it says that request to the backend localhost:8080 are blocked because 
they're cross origin requests and the CORS header is missing. How can I fix 
that please?
Thanks for your help.

-- 
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/91efcbdc-d0e9-4164-ba57-02b5f65cf308%40googlegroups.com.


[dspace-tech] DSPACE 5.6 - embargo

2020-01-31 Thread adspaceusr
Greetings, dspace gurus.

I find myself here again in order to clear some doubt I have about embargo, 
and the way dspace manages it.

As of now, i know that when an item is uploaded several policies are 
generated along with it, corresponding to the permits to read the item or 
the bitstreams respectively.

I'd like to know how are the metadata fields related to those policies. Are 
they just informative? 

I'd also like to know how does embargo work when items are uploaded through 
SWORD. Are those metadata fields used to set the embargo policies?


On a last point and just a little off topic, right now we're using the 
bitstream description to show the user if the item is embargoed. Would 
there be any easy way to extract data from those policies to show embargo 
dates next to the bitstream icon on the item view?


Deeply grateful,

-- 
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/71f70cb2-a933-455a-a6b7-e995e148231c%40googlegroups.com.


Re: [dspace-tech] searching with diacritic not working on some users' browser

2020-01-31 Thread Claudia Jürgen

Hello Jose,

if you are using tomcat check the connector encoding settings for 
URIEncoding="UTF-8"
https://wiki.lyrasis.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-ServletEngine(ApacheTomcat7orlater,Jetty,CauchoResinorequivalent)

Hope this helps

Claudia Jürgen

Am 30.01.2020 um 18:07 schrieb Jose Blanco:

If I search for a name that has an accent and don't include the accent I
can find it using my browser, but I have a couple of users who when doing
the same thing don't find it.  Is this some sort of browser setting issue?

Thank you!
-Jose




--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@tu-dortmund.de
www.ub.tu-dortmund.de

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist 
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese 
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform 
(mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen 
Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is 
solely intended for the recipient. If you are not the intended recipient of 
this e-mail please contact the sender and delete this message. Thank you. 
Without prejudice of e-mail correspondence, our statements are only legally 
binding when they are made in the conventional written form (with personal 
signature) or when such documents are sent by fax.

--
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/51cb7f4e-9856-8a7f-37e5-32cf8419b1e5%40tu-dortmund.de.