[Dspace-tech] DSpace web pages showing incomplete information

63 views
Skip to first unread message

Lewatle Phaladi

unread,
Aug 26, 2015, 2:28:16 PM8/26/15
to dspac...@lists.sourceforge.net

Hi All,

 

I am getting the following error, my DSpace installation is unable to show the entire webpages. Any idea is acceptable, please see the screenshot bellow with the information retrieved on the web browser:

 

 

 

 

Regards,

Lewatle

This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorised signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.

Hilton Gibson

unread,
Aug 26, 2015, 2:28:17 PM8/26/15
to Lewatle Phaladi, dspac...@lists.sourceforge.net
Hi Lewatle

I think this was mentioned a while back.
I think the cause was not being able to download dependencies via the internet because of a proxy setup.
And I think the error does not stop the build of Mirage2... the build just carries on.

Cheers

hg

Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
DSpace-tech mailing list
DSpac...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Lewatle Phaladi

unread,
Aug 26, 2015, 2:28:18 PM8/26/15
to Hilton Gibson, dspac...@lists.sourceforge.net

Hi Hilton,

 

Yes the build succeeded at the moment I have finished deploying the webapps to tomcat and I have restarted it I was opening the default web page for dspace installation but I get the error on my web browser instead of default web page. All steps succeeded during installation I am not sure what will be the cause of the error I am getting.

 

Regards,

Lewatle

Sean Carte

unread,
Aug 26, 2015, 2:28:19 PM8/26/15
to Lewatle Phaladi, dspac...@lists.sourceforge.net
On 4 May 2015 at 13:43, Lewatle Phaladi <Lewatle...@wits.ac.za> wrote:
I am getting the following error, my DSpace installation is unable to show the entire webpages. Any idea is acceptable, please see the screenshot bellow with the information retrieved on the web browser:

Hi Lewatie

That looks similar to the issue that Dr Andrea Schweer was able to help me with:

  • The Mirage 2 build requires git. Ensure that git is installed before you launch the Mirage 2 build.
  • The Mirage 2 build process will attempt to retrieve some dependencies from GitHub via the "git" protocol. This requires outgoing access to github.com, port 9418. If the machine on which you're running the build has access restrictions in place for that port but outgoing access via HTTPS (port 443) is allowed, you can substitute the https protocol by running (with the same user account that will run the maven step):

    git config --global url."https://github.com/".insteadOf git://github.com/

https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues

Sean
---------- Forwarded message ----------
From: Andrea Schweer <sch...@waikato.ac.nz>
Date: 29 January 2015 at 21:37
Subject: Re: [Dspace-tech] Mirage 2
To: Massimiliano Cilurzo <mcil...@unisa.it>, dspace-tech <dspac...@lists.sourceforge.net>


Hi,
On 30/01/15 01:19, Massimiliano Cilurzo wrote:
>   We have just installed DSPACE 5.0 on our test environment, and we would like to use the Mirage 2 theme.
>
> But after  installing it we have this problem:
>
> Syntax error: File to import not found or unreadable: ../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap.
>
>               Load paths:
>
>                 Compass::SpriteImporter
>
>                 /usr/local/src/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/styles
>
>                 /usr/local/src/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-core-1.0.3/stylesheets
>
>         on line 16 of styles/main.scss
I just had this problem a couple of days ago. For me, maven said that the build had been successful, but in reality it had failed to download some files. This is because the server I was running the build on has restricted access to the outside world. For me, configuring git to use the https protocol rather than the git protocol did the trick. You do also need to have git installed on the machine where you're running maven. Have a look here for common Mirage 2 build issues:  https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues

cheers,
Andrea

--

Lewatle Phaladi

unread,
Aug 26, 2015, 2:28:47 PM8/26/15
to dspac...@lists.sourceforge.net

Hi All,

 

I am asking any reply also from @Mire  on how to resolve the following error in order to get starting to use Mirage 2, when I was running mvn I haven’t received any error performing the following commands :

mvn -U clean package

mvn -U clean package -Dmirage2.on=true

if I choose default theme it opens well without error, only Mirage 2 can’t be loaded completely

I have received error only when I have performed the following step as follows:

dspace@dev:~/src/dspace-5.1-src-release/dspace$ mvn package -Dmirage2.on=true -Dmirage2.deps.included=false
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] DSpace Addon Modules
[INFO] DSpace Kernel :: Additions and Local Customizations
[INFO] DSpace XML-UI Mirage2 Theme :: Local Customisations
[INFO] DSpace XML-UI (Manakin) :: Local Customizations
[INFO] DSpace JSP-UI :: Local Customizations
[INFO] DSpace RDF :: Local Customizations
[INFO] DSpace REST :: Local Customizations
[INFO] DSpace SWORD :: Local Customizations
[INFO] DSpace SWORD v2 :: Local Customizations
[INFO] DSpace SOLR :: Local Customizations
[INFO] DSpace OAI-PMH :: Local Customizations
[INFO] DSpace Assembly and Configuration
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace Addon Modules 5.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ modules ---
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (native2ascii-utf8) @ modules ---
[INFO] Executing tasks

Encode any UTF-8 chars in properties:
[INFO] Executed tasks
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace Kernel :: Additions and Local Customizations 5.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ additions ---
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (native2ascii-utf8) @ additions ---
[INFO] Executing tasks

Encode any UTF-8 chars in properties:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ additions ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ additions ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ additions ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ additions ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ additions ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ additions ---
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace XML-UI Mirage2 Theme :: Local Customisations 5.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ xmlui-mirage2 ---
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (default) @ xmlui-mirage2 ---
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks

main:
     [echo] PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/dspace/runtime/java/bin:/dspace/runtime/maven/bin:/dspace/runtime/ant/bin:/dspace/runtime/tomcat/bin:
     [echo] GEM_PATH=${env.GEM_PATH}
     [echo] GEM_HOME=${env.GEM_HOME}
     [echo] mirage2.deps.included=false
     [echo] grunt.color.scheme=classic_mirage_color_scheme
     [echo] grunt.environment=prod
     [echo] source=/dspace/src/dspace-5.1-src-release/dspace/modules/xmlui-mirage2/src/main/webapp/themes/
[INFO] Executed tasks
[INFO]
[INFO] --- maven-dependency-plugin:2.8:unpack-dependencies (unpack-dependencies) @ xmlui-mirage2 ---
[INFO] dspace-xmlui-mirage2-5.1.war already exists in destination.
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (native2ascii-utf8) @ xmlui-mirage2 ---
[INFO] Executing tasks

Encode any UTF-8 chars in properties:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ xmlui-mirage2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /dspace/src/dspace-5.1-src-release/dspace/modules/xmlui-mirage2/src/main/resources
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources (default) @ xmlui-mirage2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ xmlui-mirage2 ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ xmlui-mirage2 ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ xmlui-mirage2 ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ xmlui-mirage2 ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- iterator-maven-plugin:0.3:iterator (default) @ xmlui-mirage2 ---
[INFO] ------ (Mirage2) org.apache.maven.plugins:maven-resources-plugin:2.6:copy-resources
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 133 resources
[INFO] ------ (Mirage2) org.apache.maven.plugins:maven-resources-plugin:2.6:copy-resources
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] ------ (Mirage2) org.codehaus.mojo:exec-maven-plugin:1.3.1:exec

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
TypeError: Object #<Object> has no method 'tmpDir'
    at Object.<anonymous> (/dspace/src/dspace-5.1-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/node_modules/bower/node_modules/bower-config/lib/util/paths.js:21:50)
    at Module._compile (module.js:441:26)
    at Object..js (module.js:459:10)
    at Module.load (module.js:348:32)
    at Function._load (module.js:308:12)
    at Module.require (module.js:354:17)
    at require (module.js:370:17)
    at Object.<anonymous> (/dspace/src/dspace-5.1-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/node_modules/bower/node_modules/bower-config/lib/util/rc.js:7:13)
    at Module._compile (module.js:441:26)
    at Object..js (module.js:459:10)

npm ERR! Mir...@0.1.1 postinstall: `bower install`
npm ERR! `sh "-c" "bower install"` failed with 1
npm ERR!
npm ERR! Failed at the Mir...@0.1.1 postinstall script.
npm ERR! This is most likely a problem with the Mirage2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     bower install
npm ERR! You can get their info via:
npm ERR!     npm owner ls Mirage2
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 3.2.0-69-generic
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /dspace/src/dspace-5.1-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! code ELIFECYCLE
npm ERR! message Mir...@0.1.1 postinstall: `bower install`
npm ERR! message `sh "-c" "bower install"` failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /dspace/src/dspace-5.1-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/npm-debug.log
npm not ok

> Mir...@0.1.1 postinstall /dspace/src/dspace-5.1-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2
> bower install

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Addon Modules .............................. SUCCESS [1.574s]
[INFO] DSpace Kernel :: Additions and Local Customizations  SUCCESS [3.851s]
[INFO] DSpace XML-UI Mirage2 Theme :: Local Customisations  FAILURE [4.714s]
[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: 10.909s
[INFO] Finished at: Tue May 05 11:32:19 SAST 2015
[INFO] Final Memory: 29M/256M
[INFO] ------------------------------------------------------------------------
[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]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :xmlui-mirage2

Regards,
Lewatle 

 

From: Lewatle Phaladi
Sent: 04 May 2015 01:43 PM
To: dspac...@lists.sourceforge.net
Subject: DSpace web pages showing incomplete information

 

Hi All,

 

I am getting the following error, my DSpace installation is unable to show the entire webpages. Any idea is acceptable, please see the screenshot bellow with the information retrieved on the web browser:

 

 

 

 

Regards,

Lewatle

Hilton Gibson

unread,
Aug 26, 2015, 2:28:49 PM8/26/15
to Lewatle Phaladi, dspac...@lists.sourceforge.net
Hi Lewatle

It is marked as a super-critical show stopper (blocker).

Cheers

hg

Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa


Lewatle Phaladi

unread,
Aug 26, 2015, 2:28:50 PM8/26/15
to Hilton Gibson, dspac...@lists.sourceforge.net

Thanks Hilton,

 

I am hoping to get fix of the bug, all  the prerequisites for Mirage2 I have installed successfully.

 

Regards,

Lewatle

 

From: Hilton Gibson [mailto:hilton...@gmail.com]

Sent: 06 May 2015 10:09 AM
To: Lewatle Phaladi
Cc: dspac...@lists.sourceforge.net

Andrea Schweer

unread,
Aug 26, 2015, 2:29:06 PM8/26/15
to Lewatle Phaladi, dspac...@lists.sourceforge.net
Hi Lewatle,

On 6 May 2015 at 18:09, Lewatle Phaladi <Lewatle...@wits.ac.za> wrote:

I am asking any reply also from @Mire  on how to resolve the following error in order to get starting to use Mirage 2, when I was running mvn I haven’t received any error performing the following commands :

mvn -U clean package

mvn -U clean package -Dmirage2.on=true

if I choose default theme it opens well without error, only Mirage 2 can’t be loaded completely



If you want to use Mirage 2, you need to use the second of these commands. However, there currently is a bug that means you cannot use the "quick build" option with Mirage 2 unless you install the Mirage 2 build prerequisites manually. If you do not wish to install the build prerequisites, you need to use the "full build" option and run maven in [dspace-src] (not [dspace-src]/dspace).
 

I have received error only when I have performed the following step as follows:

dspace@dev:~/src/dspace-5.1-src-release/dspace$ mvn package -Dmirage2.on=true -Dmirage2.deps.included=false 

You can only use the -Dmirage2.deps.included=false build option if you manually install the Mirage 2 build prerequisites before running maven. This is explained in the Mirage 2 developer documentation: https://github.com/DSpace/DSpace/tree/master/dspace-xmlui-mirage2#installation

Can you confirm that you have installed these and you still get an error? What output do you get when you run the three commands mentioned in the Mirage 2 documentation?

Afterwards the command bower should show a help message.

Afterwards the command grunt --version should show the grunt-cli version number

Afterwards the command compass should show a help message.


cheers,
Andrea

--
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
Reply all
Reply to author
Forward
0 new messages