Hi All
I have tested again and it seems DSpace 5.X with Mirage 2 only works on
Ubuntu 14.04 LTS.
See:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M2#Please_note:
Cheers
hg
*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa
Tel: +27 21 808 4100 | Cell: +27 84 646 4758
On 2 February 2015 at 08:19, Sean Carte <[email protected]> wrote:
>
> On 2 February 2015 at 06:31, Andrea Schweer <[email protected]> wrote:
>
>>
>> On 31/01/15 00:19, Sean Carte wrote:
>>
>>> For what it's worth, I've got the same error and I'm running mvn as the
>>> dspace user.
>>>
>>> I suspect the problem is due to the firewall here. Following Andrea's
>>> suggestion of changing git to use https did allow maven to download more
>>> things, but still not enough.
>>>
>>
>> Are you getting any error messages during the maven build step? If not,
>> is there a way you might be able to get a list of denied outgoing access
>> attempts from your firewall? I'm assuming you're allowing outgoing https
>> access to github and maven central / wherever else you're getting your
>> maven artifacts from.
>
>
> Unfortunately it's the institutional firewall and I don't have access to
> those logs. The other themes work, just not Mirage 2.
>
> Rerunning mvn with a close eye on the output, this doesn't look too
> healthy:
>
> [INFO] bower
> datatables#1.10.3 ECMDERR
> Failed to execute "git ls-remote --tags --heads git://
> github.com/DataTables/DataTables.git", exit code of #128
> [INFO]
> [INFO] Additional error details:
> [INFO] fatal: unable to connect to github.com:
> [INFO] github.com[0: 192.30.252.130]: errno=Connection timed out
> [INFO]
> [INFO] npm ERR! [email protected] postinstall: `bower install`
> [INFO] npm ERR! Exit status 1
> [INFO] npm ERR!
> [INFO] npm ERR! Failed at the [email protected] postinstall script.
> [INFO] npm ERR! This is most likely a problem with the Mirage2 package,
> [INFO] npm ERR! not with npm itself.
> [INFO] npm ERR! Tell the author that this fails on your system:
> [INFO] npm ERR! bower install
> [INFO] npm ERR! You can get their info via:
> [INFO] npm ERR! npm owner ls Mirage2
> [INFO] npm ERR! There is likely additional logging output above.
> [INFO] npm ERR! System Linux 3.13.0-44-generic
> [INFO] npm ERR! command
> "/home/dspace/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/node/node"
> "/home/dspace/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/node/npm/bin/npm-cli.js"
> "install" "--color=false"
> [INFO] npm ERR! cwd
> /home/dspace/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2
> [INFO] npm ERR! node -v v0.10.31
> [INFO] npm ERR! npm -v 1.4.23
> [INFO] npm ERR! code ELIFECYCLE
> [INFO] npm ERR!
> [INFO] npm ERR! Additional logging details can be found in:
> [INFO] npm ERR!
> /home/dspace/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/npm-debug.log
> [INFO] npm ERR! not ok code 0
> [ERROR] MojoFailureException:
> org.apache.maven.plugin.MojoFailureException: Failed to run task
> at
> com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:45)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at
> com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302)
> at
> com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by:
> com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'npm
> install --color=false' failed. (error code 1)
> at
> com.github.eirslett.maven.plugins.frontend.lib.NodeTaskExecutor.execute(NodeTaskExecutor.java:38)
> at
> com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:43)
> ... 24 more
>
> ...
>
> [INFO] ------ (Mirage2) de.saumya.mojo:gem-maven-plugin:1.0.6:exec
> [INFO] error styles/main.scss (Line 16: File to import not found or
> unreadable: ../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap.
> [INFO] Load paths:
> [INFO] Compass::SpriteImporter
> [INFO]
> /home/dspace/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/styles
> [INFO]
> /home/dspace/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-core-1.0.3/stylesheets)
> [INFO] Compilation failed in 1 files.
> [WARNING]
> [INFO]
> [ERROR] PluginManagerException:
> org.apache.maven.plugin.PluginExecutionException: Execution null of goal
> de.saumya.mojo:gem-maven-plugin:1.0.6:exec failed: Java returned: 1
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
> at
> com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302)
> at
> com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: Java returned: 1
> at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
> at
> de.saumya.mojo.ruby.script.AntLauncher.doExecute(AntLauncher.java:107)
> at
> de.saumya.mojo.ruby.script.AntLauncher.executeIn(AntLauncher.java:141)
> at de.saumya.mojo.ruby.script.Script.executeIn(Script.java:108)
> at de.saumya.mojo.gem.ExecMojo.executeWithGems(ExecMojo.java:106)
> at
> de.saumya.mojo.gem.AbstractGemMojo.executeJRuby(AbstractGemMojo.java:469)
> at
> de.saumya.mojo.jruby.AbstractJRubyMojo.execute(AbstractJRubyMojo.java:298)
> at de.saumya.mojo.gem.AbstractGemMojo.execute(AbstractGemMojo.java:222)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> ... 23 more
> [INFO]
> [INFO] --- maven-war-plugin:2.4:war (default-war) @ xmlui-mirage2 ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [xmlui-mirage2] in
> [/home/dspace/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/xmlui-mirage2-5.0]
> [INFO] Processing war project
> [INFO] Copying webapp webResources
> [/home/dspace/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/src/main/webapp]
> to
> [/home/dspace/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/xmlui-mirage2-5.0]
> [INFO] Copying webapp webResources
> [/home/dspace/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/themes]
> to
> [/home/dspace/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/xmlui-mirage2-5.0]
> [INFO] Copying webapp resources
> [/home/dspace/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/src/main/webapp]
> [INFO] Processing overlay [ id org.dspace:dspace-xmlui-mirage2]
> [INFO] Webapp assembled in [3220 msecs]
> [INFO] Building war:
> /home/dspace/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/xmlui-mirage2-5.0.war
>
>
> Nothing else is jumping out at me and the build concludes with:
>
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 16:35.193s
> [INFO] Finished at: Mon Feb 02 08:07:44 SAST 2015
> [INFO] Final Memory: 81M/240M
> [INFO]
> ------------------------------------------------------------------------
>
>
> (This is on Ubuntu 14.04, with OpenJDK 7, PostgreSQL 9 and Tomcat 7.)
>
> Sean
> --
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette