Re: [Dspace-tech] R: R: Mirage 2

2015-02-05 Thread Andrea Schweer
Hi Massimiliano,

We tried to do mvn with not root user as DSPACE but we have the same
 problem.

 We have changed the git too but for now we haven’t solved the problem.


What error messages are you getting -- anything useful from the maven step?
​
cheers,
Andrea
--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] R: R: Mirage 2

2015-02-03 Thread Andrea Schweer

  
  
Hi Sean,

On 03/02/15 20:38, Sean Carte wrote:


  
On 3 February 2015 at 07:23, Sean Carte
  sean.ca...@gmail.com
  wrote:
  

  
  
  Yes, I did (see above). I'll try
again with a fresh download and see if that makes any
difference.

  
  

Well, it seems the problem is me. (Was
  there ever any doubt?) I had changed the git config, but I did
  it as root instead of dspace, so that had no effect on the mvn
  build process. I ran the git config command as the dspace user
  and was able to build Mirage 2 without errors.

  


Perfect, glad to hear you got it working and thanks for letting us
know what the problem was. I've updated the official DSpace
documentation to clarify that it needs to be the same user account
as used for the maven step.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] R: R: Mirage 2

2015-02-02 Thread Andrea Schweer
Hi Hilton,

On 02/02/15 20:47, Hilton Gibson wrote:
 I have tested again and it seems DSpace 5.X with Mirage 2 only works 
 on Ubuntu 14.04 LTS.

I've compiled it successfully on RHEL6.6, so this is very definitely not 
true.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
+64-7-838 4466 ext. 6972


--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] R: R: Mirage 2

2015-02-02 Thread Andrea Schweer

  
  
Hi Sean,

On 02/02/15 19:19, Sean Carte wrote:


  

  On 2 February 2015 at 06:31, Andrea
Schweer schw...@waikato.ac.nz
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

  


Did you run the git config change that I put on the wiki? This is
the exact error message I got, and forcing git to use https rather
than the git protocol fixed the problem for me (also a firewall
issue).

git config --global url."https://github.com/".insteadOf
git://github.com/
see
https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] R: R: Mirage 2

2015-02-02 Thread Hilton Gibson
Hi Andrea

Thats great to hear.
I am strictly an Ubuntu/Debian person.
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Open_System
And: http://wiki.lib.sun.ac.za/index.php/SUNScholar/DSpace/Why_Ubuntu_Server

I hope you do, as I do, believe in freedom of choice in the very important
matter of preserving the digital scholarly record.
The more open the system used, the better I feel.

Therefore my reply was in the context of using Ubuntu, for which I feel
qualified.
If I had also tested on Redhat, I would have said the same, if the results
demanded it.
Hopefully in the future, the community will endorse a reference
architecture for each release of DSpace.
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Reference_Architecture

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 22:38, Andrea Schweer schw...@waikato.ac.nz wrote:

 Hi Hilton,

 On 02/02/15 20:47, Hilton Gibson wrote:

 I have tested again and it seems DSpace 5.X with Mirage 2 only works on
 Ubuntu 14.04 LTS.


 I've compiled it successfully on RHEL6.6, so this is very definitely not
 true.

 cheers,
 Andrea

 --
 Dr Andrea Schweer
 IRR Technical Specialist, ITS Information Systems
 The University of Waikato, Hamilton, New Zealand
 +64-7-838 4466 ext. 6972


--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] R: R: Mirage 2

2015-02-02 Thread Sean Carte
On 2 February 2015 at 22:40, Andrea Schweer schw...@waikato.ac.nz wrote:


 On 2 February 2015 at 06:31, Andrea Schweer schw...@waikato.ac.nz 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


 Did you run the git config change that I put on the wiki? This is the
 exact error message I got, and forcing git to use https rather than the git
 protocol fixed the problem for me (also a firewall issue).

 git config --global url.https://github.com/; https://github.com/.insteadOf
 git://github.com/
 see
 https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues


Hi Andrea

Yes, I did (see above). I'll try again with a fresh download and see if
that makes any difference.

Meanwhile, someone replied to me off-list and sent me the missing files:
the
/dspace-xmlui-mirage2/src/main/webapp/vendor directory. Dropping that into
dspace-src did resolve the issue.

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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] R: R: Mirage 2

2015-02-02 Thread Sean Carte
On 3 February 2015 at 07:23, Sean Carte sean.ca...@gmail.com wrote:


 Yes, I did (see above). I'll try again with a fresh download and see if
 that makes any difference.


Well, it seems the problem is me. (Was there ever any doubt?) I had changed
the git config, but I did it as root instead of dspace, so that had no
effect on the mvn build process. I ran the git config command as the dspace
user and was able to build Mirage 2 without errors.

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

Thank you, Andrea and all who tried to help me. And sorry to Massimiliano
for hijacking your thread. I hope you were able to resolve your problem!

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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] R: R: Mirage 2

2015-02-01 Thread Sean Carte
On 2 February 2015 at 06:31, Andrea Schweer schw...@waikato.ac.nz 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! Mirage2@0.1.1 postinstall: `bower install`
[INFO] npm ERR! Exit status 1
[INFO] npm ERR!
[INFO] npm ERR! Failed at the Mirage2@0.1.1 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

Re: [Dspace-tech] R: R: Mirage 2

2015-02-01 Thread Andrea Schweer
Hi,

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.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] R: R: Mirage 2

2015-01-30 Thread Massimiliano Cilurzo
Hi,
Yes we are running as root user.
We tried to run as dspace but we had some errors.
So we choosed to use root user.
I will try with another user.
Thanks
Best regards
Massimiliano

-Messaggio originale-
Da: sn...@buntblock.de [mailto:sn...@buntblock.de] 
Inviato: venerdì 30 gennaio 2015 11:08
A: dspace-tech@lists.sourceforge.net
Oggetto: Re: [Dspace-tech] R: Mirage 2

Hi there,

are you running as root user ?
Try running the 'mvn' command as non root user. The bower component is not 
working with root permissions, resulting in webcomponents beeing installed by 
bower are missing.

Zitat von Massimiliano Cilurzo mcilu...@unisa.it:

 Hi Andrea,

 We have installed git on our machine and we have configured git to 
 use https (git config --global url. https://github.com/ 
 https://github.com/.insteadOf git://github.com/).

 Then we have used the mvn command: mvn clean package -P 
 \!dspace-jspui,\!dspace-lni,\!dspace-rest,\!dspace-swordv2,\!dspace-sword,\!
 dspace-oai,\!dspace-rdf -Dmirage2.on=true

 And  at the end the ant update command.

 But the problem wasn’t solved. Have you some tips?

 Thanks

 Best regards

 Massimiliano





 Da: Andrea Schweer [mailto:schw...@waikato.ac.nz]
 Inviato: giovedì 29 gennaio 2015 20:38
 A: Massimiliano Cilurzo; 'dspace-tech'
 Oggetto: Re: [Dspace-tech] Mirage 2



 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/tar
 get/th
 emes/Mirage2/styles


 /usr/local/src/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/tar
 get/ru bygems/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+
 Custom ization#Mirage2ConfigurationandCustomization-CommonBuildIssues

 cheers,
 Andrea




 --
 Dr Andrea Schweer
 IRR Technical Specialist, ITS Information Systems The University of 
 Waikato, Hamilton, New Zealand




--
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
DSpace-tech@lists.sourceforge.net
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] R: R: Mirage 2

2015-01-30 Thread Sean Carte
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.

Sean

On 30 January 2015 at 13:06, Massimiliano Cilurzo mcilu...@unisa.it wrote:

 Hi,
 Yes we are running as root user.
 We tried to run as dspace but we had some errors.
 So we choosed to use root user.
 I will try with another user.
 Thanks
 Best regards
 Massimiliano

 -Messaggio originale-
 Da: sn...@buntblock.de [mailto:sn...@buntblock.de]
 Inviato: venerdì 30 gennaio 2015 11:08
 A: dspace-tech@lists.sourceforge.net
 Oggetto: Re: [Dspace-tech] R: Mirage 2

 Hi there,

 are you running as root user ?
 Try running the 'mvn' command as non root user. The bower component is
 not working with root permissions, resulting in webcomponents beeing
 installed by bower are missing.

 Zitat von Massimiliano Cilurzo mcilu...@unisa.it:

  Hi Andrea,
 
  We have installed git on our machine and we have configured git to
  use https (git config --global url. https://github.com/
  https://github.com/.insteadOf git://github.com/).
 
  Then we have used the mvn command: mvn clean package -P
 
 \!dspace-jspui,\!dspace-lni,\!dspace-rest,\!dspace-swordv2,\!dspace-sword,\!
  dspace-oai,\!dspace-rdf -Dmirage2.on=true
 
  And  at the end the ant update command.
 
  But the problem wasn’t solved. Have you some tips?
 
  Thanks
 
  Best regards
 
  Massimiliano
 
 
 
 
 
  Da: Andrea Schweer [mailto:schw...@waikato.ac.nz]
  Inviato: giovedì 29 gennaio 2015 20:38
  A: Massimiliano Cilurzo; 'dspace-tech'
  Oggetto: Re: [Dspace-tech] Mirage 2
 
 
 
  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/tar
  get/th
  emes/Mirage2/styles
 
 
  /usr/local/src/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/tar
  get/ru bygems/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+
  Custom ization#Mirage2ConfigurationandCustomization-CommonBuildIssues
 
  cheers,
  Andrea
 
 
 
 
  --
  Dr Andrea Schweer
  IRR Technical Specialist, ITS Information Systems The University of
  Waikato, Hamilton, New Zealand





 --
 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
 DSpace-tech@lists.sourceforge.net
 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
 DSpace-tech@lists.sourceforge.net
 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. 

Re: [Dspace-tech] R: R: Mirage 2

2015-01-30 Thread Hilton Gibson
Same problem with me.

*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 30 January 2015 at 13:19, Sean Carte sean.ca...@gmail.com 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.

 Sean

 On 30 January 2015 at 13:06, Massimiliano Cilurzo mcilu...@unisa.it
 wrote:

 Hi,
 Yes we are running as root user.
 We tried to run as dspace but we had some errors.
 So we choosed to use root user.
 I will try with another user.
 Thanks
 Best regards
 Massimiliano

 -Messaggio originale-
 Da: sn...@buntblock.de [mailto:sn...@buntblock.de]
 Inviato: venerdì 30 gennaio 2015 11:08
 A: dspace-tech@lists.sourceforge.net
 Oggetto: Re: [Dspace-tech] R: Mirage 2

 Hi there,

 are you running as root user ?
 Try running the 'mvn' command as non root user. The bower component is
 not working with root permissions, resulting in webcomponents beeing
 installed by bower are missing.

 Zitat von Massimiliano Cilurzo mcilu...@unisa.it:

  Hi Andrea,
 
  We have installed git on our machine and we have configured git to
  use https (git config --global url. https://github.com/
  https://github.com/.insteadOf git://github.com/).
 
  Then we have used the mvn command: mvn clean package -P
 
 \!dspace-jspui,\!dspace-lni,\!dspace-rest,\!dspace-swordv2,\!dspace-sword,\!
  dspace-oai,\!dspace-rdf -Dmirage2.on=true
 
  And  at the end the ant update command.
 
  But the problem wasn’t solved. Have you some tips?
 
  Thanks
 
  Best regards
 
  Massimiliano
 
 
 
 
 
  Da: Andrea Schweer [mailto:schw...@waikato.ac.nz]
  Inviato: giovedì 29 gennaio 2015 20:38
  A: Massimiliano Cilurzo; 'dspace-tech'
  Oggetto: Re: [Dspace-tech] Mirage 2
 
 
 
  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/tar
  get/th
  emes/Mirage2/styles
 
 
  /usr/local/src/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/tar
  get/ru bygems/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+
  Custom ization#Mirage2ConfigurationandCustomization-CommonBuildIssues
 
  cheers,
  Andrea
 
 
 
 
  --
  Dr Andrea Schweer
  IRR Technical Specialist, ITS Information Systems The University of
  Waikato, Hamilton, New Zealand





 --
 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
 DSpace-tech@lists.sourceforge.net
 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
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --