Dear All,
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
Could someone help us?
Thanks
Best regards
Massimiliano Cilurzo
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
-- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand
Hi Andrea,
We have installed git on our machine and we have configured git to use https (git config --global url."
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:schweer@waikato.ac.nz]
Inviato: giovedì 29 gennaio 2015 20:38
A: Massimiliano Cilurzo; 'dspace-tech'
Oggetto: Re: [Dspace-tech] Mirage 2
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.
On 2 February 2015 at 06:31, Andrea Schweer <sch...@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
On 2 February 2015 at 06:31, Andrea Schweer <sch...@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
Yes, I did (see above). I'll try again with a fresh download and see if that makes any difference.
On 3 February 2015 at 07:23, Sean Carte <sean....@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.
Dear Sean,
There is no problem for the “ hijacking”.
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.
Thanks
Best regards
Massimiliano
Da: Sean Carte [mailto:sean....@gmail.com]
Inviato: martedì 3 febbraio 2015 08:39
A: Andrea Schweer
Cc: Massimiliano Cilurzo; dspace-tech
Oggetto: Re: [Dspace-tech] R: R: Mirage 2
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.
Dear Andrea,
We have used this command mvn clean package -P \!dspace-jspui,\!dspace-lni,\!dspace-rest,\!dspace-swordv2,\!dspace-sword,\!dspace-oai,\!dspace-rdf -Dmirage2.on=true
as dspace user and before this we have changed always as dspace user the git config : git config --global url."https://github.com/".insteadOf git://github.com/.
We have an error:
INFO] npm ERR! Failed at the Mir...@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 2.6.32-279.19.1.el6.x86_64
[INFO] npm ERR! command "/usr/local/src/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/node/node" "/usr/local/src/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 /usr/local/src/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! /usr/local/src/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/npm-debug.log
[INFO] npm ERR! not ok code 0
[ERROR] MojoFailureException:
In the attachment you will find the errors in detail.
Thanks
Best regards
Massimiliano
Da: Andrea Schweer [mailto:sch...@waikato.ac.nz]
Inviato: giovedì 5 febbraio 2015 10:18
A: Massimiliano Cilurzo
Cc: dspace-tech
Oggetto: Re: [Dspace-tech] R: R: Mirage 2
>Hi Massimiliano,
>cheers,
>Andrea
EACCES EACCES, mkdir '/tmp/dspace/bower'
[INFO]
[INFO] Stack trace:
[INFO] Error: EACCES, mkdir '/tmp/dspace/bower'
[INFO]
Hi Andrea,
We have seen that there wasn’t the directory /tmp/dspace/bower.
So we have done it and then launched the mvn and now it works
Thanks
Best regards
Massimiliano
Da: Andrea Schweer [mailto:sch...@waikato.ac.nz]
Inviato: martedì 10 febbraio 2015 01:17
A: Massimiliano Cilurzo
Cc: 'dspace-tech'
Oggetto: Re: R: [Dspace-tech] R: R: Mirage 2
| Bram Luyten 2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010 Esperantolaan 4, Heverlee 3001, Belgium www.atmire.com |
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored