Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Error when installing module without Mercurial not clear
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ivan Martinez  
View profile  
 More options Sep 11 2012, 9:18 am
From: Ivan Martinez <supertra...@gmail.com>
Date: Tue, 11 Sep 2012 06:18:44 -0700 (PDT)
Local: Tues, Sep 11 2012 9:18 am
Subject: Error when installing module without Mercurial not clear

Hello all,
I was trying to install mod_openid in Zotonic 0.8.1 with no success:

[ivanmr@localhost zotonic-0.8.1]$ bin/zotonic installmodule mod_openid
Getting module index
** Installing mod_openid ...
*sh: hg: command not found*
** mod_openid OK
cd deps/iconv && ./rebar compile
deps/z_logger/Makefile
make[1]: Entering directory
`/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/deps/z_logger'
make[1]: Leaving directory
`/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/deps/z_logger'
deps/gen_smtp/Makefile
make[1]: Entering directory
`/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/deps/gen_smtp'
==> iconv (compile)
==> gen_smtp (compile)
make[1]: Leaving directory
`/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/deps/gen_smtp'
deps/webzmachine/Makefile
make[1]: Entering directory
`/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/deps/webzmachine'
==> webzmachine (get-deps)
==> webzmachine (compile)
make[1]: Leaving directory
`/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/deps/webzmachine'
deps/mochiweb/Makefile
make[1]: Entering directory
`/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/deps/mochiweb'
==> mochiweb (get-deps)
==> mochiweb (compile)
make[1]: Leaving directory
`/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/deps/mochiweb'
deps/lager/Makefile
make[1]: Entering directory
`/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/deps/lager'
./rebar get-deps
./rebar compile
==> lager (compile)
==> lager (get-deps)
make[1]: Leaving directory
`/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/deps/lager'
modules/mod_oauth/Makefile
make[1]: Entering directory
`/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/modules/mod_oauth'
make -C deps/erlang-oauth
make[2]: Entering directory
`/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/modules/mod_oauth/deps/ erlang-oauth'
make[2]: Leaving directory
`/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/modules/mod_oauth/deps/ erlang-oauth'
make[1]: Leaving directory
`/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/modules/mod_oauth'
Updating zotonic zotonic001
Update:'zotonic...@localhost.localdomain'
There is no node with this name

I couldn't see what was wrong until I noticed the third output line, "*sh:
hg: command not found*". I found this means I don't have Mercurial
installed. Shouldn't the installation stop right here?. The fact it
continues doing things and producing output lines makes it difficult to
find where it failed.

Cheers,
Ivan Martinez


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ivan Martinez  
View profile  
 More options Sep 11 2012, 10:27 am
From: Ivan Martinez <supertra...@gmail.com>
Date: Tue, 11 Sep 2012 07:27:25 -0700 (PDT)
Local: Tues, Sep 11 2012 10:27 am
Subject: Re: Error when installing module without Mercurial not clear

I installed Mercurial and made another attempt, but this time it failed
because I was missing git:

...
make[1]: Entering directory
`/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/priv/modules/mod_openid '
No erl_openid checkout. Command: git clone --depth 1
git://github.com/helllamer/erl_openid.git erl_openid
./build_deps: line 27: git: command not found
./build_deps: line 29: PWD: command not found
Failed to get erl_openid checkout into /erl_openid
...

Then I installed git and tried again, but now the problem is mod_openid
folder is already created:

Getting module index
** Target path already exists:
/home/ivanmr/Documents/instalaciones/zotonic-0.8.1/priv/modules/mod_openid

I deleted it and finally tried with success. It would be nice if it checked
all the dependencies before doing anything.

Thank you,
Ivan Martinez


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arjan Scherpenisse  
View profile  
 More options Sep 11 2012, 10:31 am
From: Arjan Scherpenisse <ar...@scherpenisse.net>
Date: Tue, 11 Sep 2012 16:31:25 +0200
Local: Tues, Sep 11 2012 10:31 am
Subject: Re: [Zotonic-Usr] Re: Error when installing module without Mercurial not clear
Totally agree; there is some sanity checking missing in the
installmodule command.

If you make an issue on github it might actually get fixed:
https://github.com/zotonic/zotonic/issues/new

cheers, Arjan

On 09/11/2012 04:27 PM, Ivan Martinez wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ivan Martinez  
View profile  
 More options Sep 11 2012, 10:46 am
From: Ivan Martinez <supertra...@gmail.com>
Date: Tue, 11 Sep 2012 07:46:09 -0700 (PDT)
Local: Tues, Sep 11 2012 10:46 am
Subject: Re: [Zotonic-Usr] Re: Error when installing module without Mercurial not clear

https://github.com/zotonic/zotonic/issues/404

Thanks a lot,
Ivan Martinez

El martes, 11 de septiembre de 2012 16:31:28 UTC+2, Arjan Scherpenisse
escribió:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alain O'Dea  
View profile  
 More options Oct 1 2012, 8:48 pm
From: Alain O'Dea <alain.o...@gmail.com>
Date: Mon, 1 Oct 2012 17:48:37 -0700 (PDT)
Local: Mon, Oct 1 2012 8:48 pm
Subject: Re: [Zotonic-Usr] Re: Error when installing module without Mercurial not clear

Hi Ivan:

The fix is in master now :)  Thanks again for reporting this.

Best,
Alain


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »